...
There is script called batch.pl placed at /afs/slac.stanford.edu/u/sf/cottrell/bin to create batch jobs for wrapper_for hourly script ._hourly.pl.One can mdoify the output command to run for wrapper_for_daily.pl
Run the following commandthe input can be
Code Block |
---|
batch.pl -y 2002 -q xxl |
and out put is
Code Block |
---|
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-1 --set_metric 3 |
...
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-2 --set_metric 3 |
...
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-3 --set_metric 3 |
...
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-4 --set_metric 3 |
...
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-5 --set_metric 3 |
...
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-6 --set_metric 3 |
...
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-7 --set_metric 3 |
...
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-8 --set_metric 3 |
...
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-9 --set_metric 3 |
...
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-10 --set_metric 3 |
...
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-11 --set_metric 3 |
...
cmd=/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-12 --set_metric 3 |
so one can copy and modify the batch command output commands as follows:
Code Block |
---|
/usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_hourly.pl --year_limit 2002-1 --set_metric 3 --size 100 --by by-node # for jan 2002 analysis usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_daily.pl --year_limit 2002-1 --set_metric 3 --size 100 --by by-node # for jan 2002 analysis usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_daily.pl --year_limit 2002-1, 2002-6 --set_metric 3 --size 100 --by by-node # for jan-june 2002 analysis usr/local/bin/bsub -q xxl /afs/slac/package/pinger/analysis/wrapper_for_daily.pl --year_limit 2002 --set_metric 3 --size 100 --by by-node # for all months of 2002 analysis |
After creating job commands ,submit it via machine noric or yakut using command line interface. See wrapper_for_daily or wrapper_for_hourly.pl help for option valuesmore options.