luna
clusterBy default all jobs are scheduled on the sol
queue. Jobs are scheduled based on their resource requests, estimated runtime, and user priorities. You can also specify the test
queue, at your own risk.
commonHG
: s03-s33
& u01-u26
largeHP
: t01-t02
commonHP
: s03-s33
& u01-u26testHP
: u34-u35
-We
, or hard run time, -W
, of 60 [minutes] or less, it is considered ‘short’.-We HOURS:MINUTES
or -W HOURS:MINUTESlargeHG
hosts if they request enough memory to be eligible.largeHG
hosts are for jobs that need a lot of memory.internet
access on largeHG
hosts.Internet
hostsinternetHG
hosts are for jobs that need internet
access.internet
, can run on internetHG
hosts.-R "select[internet]"
.bsub
command, as in bsub -sla Pipeline
, to be guaranteed a certain amount of the cluster (so long as that portion isn’t in use by anyone else in the same SLA group.)entire
host is reserved for Pipeline until Pipeline reaches its SLA.luna
:Pipeline
gets 40% of commonHG, 50% internetHG
, and 50% largeHG
.Short
(short jobs auto attach to this) gets 20% of commonHG if there are no priority jobs.-R "span[hosts=1]"
Jobs that request multiple processors span a single host.-R "rusage[iounits=1]" The maximum iounits per host is 10. IOUNITS are an arbitrary measure of the amount of reading/writing that the job incurs.
-o file
. To redirect you must add quotes around the command to execute inside the bsub
command. For example: bsub -We 1 -J jobName -o output_file.txt "ls -al 1> redirect_file.txt"
bsub -w
is the wait option, as in bsub -w "post_done($PREV_JOBNAME)"
bsub
command.Use post_done
to hold jobs, instead of done, which may start too quickly. If holding on multiple jobs with very similar names, -w “post_done($PREV_JOBNAME*)” should work, unless you have one. This will only let the job run if $PREV_JOBNAME job completed with exit status 0, and
completed its post_done
processes.
bsub sleep 30
This submits a basic sleep job (sleeps for 30 seconds)bsub -J jobname -We 0:30 -R "select[internet]" myjob
Submits job with job name “jobname” with an estimated runtime of 30 minutes, selecting for hosts with internet.bsub -m commonHG -R “rusage[mem=20]” myjob
Submits jobs only to hosts in host group commonHG, with 20GB mem requested