Last updated: Tue, Jul 09, 2002 E.Chudakov gen@jlab.org


Running COMGEANT at JLab

At first, one has to select the appropriate mirror, see this info. Let us assume that you are using a JLab Linux (RH 7.1 or newer) box (not a haplix? box or adaql? box, which provide a different access). The directory you need is /home/gen/HALLA/moller/comgeant. It should be available from JLab central computers. You may tar the directory and untar it to your domain. It is likely that you do not need everything in this directory, but for the first time it is easier to copy it as a whole. On a Linux box you may also use a command
cp  -a  /home/gen/HALLA/moller/comgeant  .

The directory comgeant contains subdirectories:

Let us assume you want to run simulation for the aerogel detector for MAD proposal. Do as follows:
cd   run/mad/mad_det_aerogel/
ls  -alF should produce something like:

-rw-r--r--   1 gen      a-staff     6052 Jul  3 18:12 cntpr.f
-rw-r--r--   1 gen      a-staff      630 Jul  9 11:15 detectors.dat
-rw-r--r--   1 gen      a-staff      344 May  7 20:37 draw.kumac
-rw-r--r--   1 gen      a-staff       71 May  7 10:17 eve.kumac
lrwxrwxrwx   1 gen      a-staff        7 Jul  9 17:32 fort.15 -> omg.ffr
lrwxrwxrwx   1 gen      a-staff       32 Jul  9 17:32 fort.16 -> ../../../data/particle_table.ffr
lrwxrwxrwx   1 gen      a-staff       41 Jul  9 17:32 fort.21 -> ../../../data/geom_mad_det_aerogel_01.ffr
lrwxrwxrwx   1 gen      a-staff       20 Jul  9 17:32 fort.22 -> ../geom_local_01.ffr
lrwxrwxrwx   1 gen      a-staff        7 Jul  9 17:32 ftn15 -> fort.15
lrwxrwxrwx   1 gen      a-staff        7 Jul  9 17:32 ftn16 -> fort.16
lrwxrwxrwx   1 gen      a-staff        7 Jul  9 17:32 ftn21 -> fort.21
lrwxrwxrwx   1 gen      a-staff       13 Jul  9 17:32 magnet_1.map -> ../mad351.map
lrwxrwxrwx   1 gen      a-staff       14 Jul  9 17:32 magnet_2.map -> ../mad352b.map
-rw-r--r--   1 gen      a-staff     8016 Jul  3 18:17 omg.ffr
-rw-r--r--   1 gen      a-staff     3787 Jul  8 15:31 omg_random.dat
-rw-r--r--   1 gen      a-staff    16384 Jul  8 15:31 omgeant.his
-rw-r--r--   1 gen      a-staff        0 Jul  9 11:15 paw.metafile
-rw-r--r--   1 gen      a-staff      603 Aug  8  1998 plot_setup.kumac
 

The file you may want to change in this directory is omg.ffr. You may run the interactive code as:


../../../code/comg_inter.rh7.1_04.exe
or the batch code as:
../../../code/comg_batch.rh7.1_04.exe >& log &

The output ntuple will be written to a file csimout.nt