next up previous contents
Next: A few words about Up: Introduction Previous: Printing/Reading the Manual   Contents

Quick Start

0 If you hate to read manuals, and you just want to try something, here's a suggestion. This assumes that the GRASP package has been installed by your local system administrator in a directory accessible to you, such as /usr/local/GRASP and that some 40-meter data (old-format) has also been installed, for example in /usr/local/GRASP/data.

If you want to try running a GRASP program, type
setenv GRASP_DATAPATH /usr/local/GRASP/data/19nov94.3
to set up a path to the data, then go to the GRASP directory:
cd /usr/local/GRASP/src/examples/examples_40meter
and try running one of the executables:
./locklist
will print out a list of the locked data segments from run 3 on 19 November 1994. A more interesting program to run (in the same directory) is
./animate | xmgr -pipe
which will produce an animated display of the IFO output. Note that in order for this to work, you will need to have the xmgr graphing program in your path. (Please see the comment about xmgr in Section [*]).

If you only have data that has been distributed in the FRAME format, type
setenv GRASP_FRAMEPATH /usr/local/GRASP/data/19nov94.3.frame
to set up a path to the data, then go to the GRASP directory:
cd /usr/local/GRASP/src/examples/examples_frame
and try running one of the executables:
./locklistF
will print out a list of the locked data segments from run 3 on 19 November 1994. A more interesting program to run (in the same directory) is
./animateF | xmgr -pipe
which will produce an animated display of the IFO output. Note that in order for this to work, you will need to have the xmgr graphing program in your path. (Please see the comment about xmgr in Section [*]).

If you want to try writing some GRASP code, a simple way to start is to copy one of the example programs, and the Makefile, into your personal directory, and edit that:
mkdir $\sim$/GRASP
cp /usr/local/GRASP/src/examples/examples_40meter/gwoutput.c $\sim$/GRASP
cp /usr/local/GRASP/src/examples/examples_40meter/Makefile $\sim$/GRASP
cd $\sim$/GRASP
Now make editing changes to the file gwoutput.c, and when you are done, edit the Makefile that you have copied into your home directory. Find the line that reads:
all: ... gwoutput ...
and delete everything to the right of the colon except gwoutput from that line (but leave a space after the colon). Then type:
make gwoutput
to recompile this program. To run it, simply type:
gwoutput.
In general, if you want to modify GRASP programs, this is the simplest way to start.


next up previous contents
Next: A few words about Up: Introduction Previous: Printing/Reading the Manual   Contents
Bruce Allen 2000-11-19