[Gate-users] run GATE by parallel computing?
PONY* Janice
ponyjanice at hotmail.com
Wed Feb 1 06:44:22 CET 2012
Hello, follow up this question.
Before run gjs, I created a script, as follow:
#!/bin/bash
# History:
# 2012/02/01
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/Progs/Gate/gate_v6.0_p01/cluster_tools/jobsplitter/tmp/Linux-g++/gjs
echo
echo ---------------------- Job Info ------------------------------
echo
echo -e "CsI.mac \t" $PBS_QUEUE
echo -e "openPBS \t" $PBS_JOBNAME
echo -e "openpbs.script \t" $PBS_JOBID
echo -e "/home/gate/Progs/Gate/gate_v6.0_p01/examples/example_CT/CT_CsI \t" $PBS_O_WORKDIR
echo -e "Running on host \t" `hostname`
echo -e "2012/1/30 \t" `date`
echo
cd $PBS_O_WORKDIR
echo $CLUSTERWORKDIR
echo
echo ---------------------- Job Output ----------------------------
echo
# H E R E you may set up your environment <<<<<<<<<< see include/my_environment.example
. my_environment
# executable
GC_GATE
echo
echo ----------------------- DONE ---------------------------------
echo
echo -e "2012/2/6 \t" `date`
exit 0
then, running with this command: gjs -n 10 -c openPBS -openPBSscript /home/gate/Progs/Gate/gate_v6.0_p01/examples/example_CT/CT_CsI CsI.mac, and then show a file named CsI.submit in CT_CsI folder.
I think I have to run this file, typing command as : ./CsI.submit, but it can't run.
What's wrong with my command? or other problem in my step?
Best Regards,
Janice
More information about the Gate-users
mailing list