README for GRAPE-6 interface library (libg6)

Copyright J. Makino 2001

Version 0.0 May 16, 2001, Jun Makino
Version 0.1 June 10, 2001, Jun Makino
 --- Description for simulator library added

1) Installing libg6

On Digital UNIX systems,

% cd ../grape6
% make
% cd  ../g6hib
% make

should do

On Linux/Alpha systems

% cd ../grape
% make -f Makefile.linuxalpha
% cd ../g6hib
% make -f Makefile.linuxalpha

2) Setting up basic hardware test environment

2.1) selecting the configulation file
For the board with 1, 2,  4 and 8 modules,

% copy g6config_export[n].dat0 g6config.dat0

where [n] is the number of modules

For example, 1 module board:

% copy g6config_export1.dat0 g6config.dat0

2.2) setting the environment variable

(for csh. Use the appropriate command for your preferred shell...)

% setenv GRAPE6_CONFIG_FILE ../g6hib/g6config.dat

(no, do not add the last "0" in the file name)

3) Testing/using simulator

3.1) Testing simulator
in g6hib, try

% ./g6libtestsimonly

The last few lines of the output *must be*

 pot, flag: -1.498402e+00 0
i:   99 acc: -2.233582e-01  7.912925e-01  -4.720528e-01 
          jerk 6.825142e-01  -1.057566e+00  1.227097e+00 
 pot, flag: -2.018687e+00 0

If anything is different, well, you might need to consult the author.

3.2) Using simulator
     just use libgrape6simonly.a instead of libgrape6.a.

