bsub -q short -o stdout.txt -e stderr.txt -s "YourScript Arguments ..." |
bsub -q short -o stdout.txt -e stderr.txt -r 123456 -s "YourScript Arguments ..." |
/opt/ccj/bin/filename 259051 |
DST_EVE_ALL_run8pp_200GeV_pro82-0000259051-9000.root DST_EVE_ALL_run8pp_200GeV_pro82-0000259051-9001.root DST_EVE_ALL_run8pp_200GeV_pro82-0000259051-9002.root DST_MPC_ERT_run8pp_200GeV_pro82-0000259051-9000.root DST_MPC_ERT_run8pp_200GeV_pro82-0000259051-9001.root DST_MPC_ERT_run8pp_200GeV_pro82-0000259051-9002.root DST_MPC_MB_run8pp_200GeV_pro82-0000259051-9000.root DST_MPC_MPC_run8pp_200GeV_pro82-0000259051-9000.root DST_MPC_MT_run8pp_200GeV_pro82-0000259051-9000.root DST_MPC_OT_run8pp_200GeV_pro82-0000259051-9000.root generic_muid_effic_ntuple_run8pp_200GeV_pro82-0000259051.tar hist_run8pp_200GeV_pro82-0000259051.tar MWG_ERT_run8pp_200GeV_pro82-0000259051-9000.root MWG_MB_run8pp_200GeV_pro82-0000259051-9000.root MWG_MT_run8pp_200GeV_pro82-0000259051-9000.root MWG_MU_run8pp_200GeV_pro82-0000259051-9000.root MWG_OT_run8pp_200GeV_pro82-0000259051-9000.root |
#!/bin/csh -f ### Script name: sub.csh set runlist = (276531 276532 276533) @ i = 1 while ($i <=$#runlist ) bsub -q short -o $runlist[$i].out -e $runlist[$i].err -r $runlist[$i] -s "run.csh $runlist[$i] CNT_ERT" @ i ++ end |
#!/bin/csh -f ### Script name: run.csh set RunNumber = $1 set NdstType = $2 set output = file_size_$RunNumber_$NdstType.dat ### Firstly, move to the working directory in each node. cd $CCJ_JOBTMP ### Getting file size. foreach list (`/opt/ccj/bin/filename $RunNumber | grep $NdstType`) ls -l $CCJ_DATADIR/$list >> ./$output end ### Get back the result to your working directory on NFS server. /opt/ccj/bin/rcpx ./$output ccjnfs20:/ccj/w/r01/... |
[linux5]$ ls /ccj/w/data51 [linux5]$ df |
Last Modified: 23 Jul. 2009 | T. Nakamura | Back to the CCJ Home page |