[gate-users] batch jobs

Vandana Kohli kohli.vandana at gmail.com
Fri Sep 9 21:50:14 CEST 2005


Dear Gate users,
I have written a script for running batch jobs in GATE. It is a simple 
script which
has a line 
Gate -a random_file /root/status/status0000.rndm -a ROOT_FILE F18_.3s_0000 
-a ECAT_FILE F18_.3s_0000 phantom.mac

Executing the script

./script_2

************************************************************
Geant4 version $Name: geant4-07-00-patch-01 $ (23-February-2005)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
*************************************************************

Time set to (s) 0
/control/alias random_file "/root/status/status0000.rndm"
/control/alias ROOT_FILE "F18_.3s_0000"
/control/alias ECAT_FILE "F18_.3s_0000"
'! Ignored!ind macro file 'phantom.mac

I have also tried the following command 

< phantom.mac 
I get the following
./script_2
: No such file or directory.mac

Also, the command works fine when not entered into the script..

Any suggestions/experiences in writing the batch files would be very 
helpful.
Thanks
Vandana Kohli
Queens hospital
Honolulu, HI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20050909/4dd53bb2/attachment.htm>


More information about the Gate-users mailing list