(These are the original files that I got from Anuj.)

Log in to rcas, and cd to condor/

Command condor_submit condor_jobs_01.txt submits the jobs

File condor_jobs_01.txt looks like this:

Universe = vanilla
Notification = Complete
Priority = +20
GetEnv = True
Initialdir = /direct/phenix+u/hubert
Executable = /direct/phenix+u/hubert/condor/job_ccbar_justpythia_7x.csh
Log = /direct/phenix+u//hubert/condor/logs/pp_c_$(Process).log
Output = /direct/phenix+u//hubert/condor/logs/pp_c_$(Process).out
Error = /direct/phenix+u//hubert/condor/logs/pp_c_$(Process).err
Notify_user = hubert@rcf.rhic.bnl.gov
+Experiment = "phenix"
+Job_Type = "cas"
Arguments = 70
Queue 1
Arguments = 71
Queue 1
Arguments = 72
Queue 1
...
File job_ccbar_justpythia_7x.csh looks like this:
#!/bin/tcsh
source ~/.login
cd /phenix/data07/hubert/pythia2/batch/
mkdir batch_$1
cd batch_$1
#
# 1) run pythia: -------------------------------------------------------
#
echo "First run Pythia: "
cp ../pp_c .
cp ../pp_c.in .
pp_c < pp_c.in > pp_c_$1.out
mv proot_xxx.root proot_$1.root
rm  pp_c
#
#------------------------------------------------------------------------
#
# end



condor_submit submits the jobs
condor_q look at all jobs
condor_q -submitter hubert

Link to condor commands