(file) Return to go_v5multi CVS log (file) (dir) Up to [HallC] / sane_geant_mc

File: [HallC] / sane_geant_mc / go_v5multi (download)
Revision: 1.1, Thu May 20 16:15:00 2010 UTC (14 years, 4 months ago) by jones
Branch: MAIN
CVS Tags: HEAD
Script to submit multiple farm jobs

#!/bin/tcsh
#cd SRC
#gmake
#cd ..
# emacs ntup/README

#cp -p SRC/a1p_model.inc history/a1p_model.inc.$1.$2
#cp -p SRC/gen_evt.f history/gen_evt.f.$1.$2
#cp -p SRC/guout.f history/guout.f.$1.$2
#cp -p SRC/gustep.f history/gustep.f.$1.$2
#cp -p SRC/gukine.f history/gukine.f.$1.$2
#cp -p SRC/ugeom.f history/ugeom.f.$1.$2

#cp -p SRC/files.f history/ufiles.f.$1.$2
#cp -p a1p.dat history/a1p.dat.$1.$2
#/mnt/raid/exp/users/rondon/sane/sane_geant/beta/SRC_old/a1p_mc_4pi $1 $2 >go_4pi_2.out << STOP

#echo PROJECT: SANE>./sub_go_180_v5_0
#echo TRACK: simulation>>./sub_go_180_v5_0
#echo JOBNAME: a1p_mc>>./sub_go_180_v5_0
#echo MAIL: narbe@jlab.org>>./sub_go_180_v5_0
#echo COMMAND: go_v5>>./sub_go_180_v5_0
#echo OTHER_FILES: >>./sub_go_180_v5_0
#echo /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/go_v5>>./sub_go_180_v5_0
#echo /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/a1p_mc_v5>>./sub_go_180_v5_0
#echo /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/pawlogon.kumac>>./sub_go_180_v5_0
#echo OPTIONS: $i 1  >>./sub_go_180_v5_0
#echo INPUT_FILES: >>./sub_go_180_v5_0
#echo /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/a1p.dat>>./sub_go_180_v5_0
#echo /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/alf119.dat>>./sub_go_180_v5_0
#echo /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/cal_res.dat>>./sub_go_180_v5_0
#echo /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/flukaerr.dat>>./sub_go_180_v5_0
#echo /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/trg_field_map.dat>>./sub_go_180_v5_0
#echo /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/energy_cut_parallel.dat>>./sub_go_180_v5_0
#echo SINGLE_JOB: true>>./sub_go_180_v5_0
#echo OUTPUT_DATA: go$i.out>>./sub_go_180_v5_0
#echo OUTPUT_TEMPLATE: /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/go$i.out>>./sub_go_180_v5_0
#echo OUTPUT_DATA: a1p_geant.$i.1.hbook>>./sub_go_180_v5_0
#echo OUTPUT_TEMPLATE: /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/a1p_geant.$i.1.hbook>>./sub_go_180_v5_0
#echo OUTPUT_DATA: a1p_geant.$i.1.setup>>./sub_go_180_v5_0
#echo OUTPUT_TEMPLATE: /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/a1p_geant.$i.1.setup>>./sub_go_180_v5_0
set i=500
echo $i
while ($i<520)
echo $i

(/work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/a1p_mc_v5 $i $1 >go$i.out ) >& go$i.err << STOP
0
STOP
mv go$i.out /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/
mv go$i.err /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/
mv a1p_geant.$i.1.hbook /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/
mv a1p_geant.$i.1.setup /work/hallc/sane/narbe/analysis/sane_geant/sane_geant_mc/

echo $i
@ i+=1
echo $i
end

Analyzer/Replay: Mark Jones, Documents: Stephen Wood
Powered by
ViewCVS 0.9.2-cvsgraph-1.4.0