Dear Gate users,<br>
I have written a script for running batch jobs in GATE. It is a simple script which<br>
has a line <br>
Gate -a random_file /root/status/status0000.rndm -a ROOT_FILE F18_.3s_0000 -a ECAT_FILE F18_.3s_0000 phantom.mac<br>
<br>
Executing the script<br>
<br>
./script_2<br>
<br>
************************************************************<br>
Geant4 version $Name: geant4-07-00-patch-01 $ (23-February-2005)<br>
Copyright : Geant4 Collaboration<br>
Reference : NIM A 506 (2003), 250-303<br>
WWW : <a href="http://cern.ch/geant4">http://cern.ch/geant4</a><br>
*************************************************************<br>
<br>
Time set to (s) 0<br>
/control/alias random_file "/root/status/status0000.rndm"<br>
/control/alias ROOT_FILE "F18_.3s_0000"<br>
/control/alias ECAT_FILE "F18_.3s_0000"<br>
'! Ignored!ind macro file 'phantom.mac<br>
<br>
I have also tried the following command <br>
<br>
< phantom.mac <br>
I get the following<br>
./script_2<br>
: No such file or directory.mac<br>
<br>
Also, the command works fine when not entered into the script..<br>
<br>
Any suggestions/experiences in writing the batch files would be very helpful.<br>
Thanks<br>
Vandana Kohli<br>
Queens hospital<br>
Honolulu, HI<br>
<br>
<br>