You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Submitting Batch Jobs

Login first to pslogin (from SLAC) or to psexport (from anywhere). From there you can submit a job with the following command:

bsub -q psnehq -o <output file name> <job_script_command>

For example:

bsub -q psnehq -o ~/output/job.out my_program

This will submit a job (my_program) to the queue psnehq and write its output to a file named ~/output/job.out. You may check on the status of your jobs using the bjobs command.

Resource requirements can also be set using the "-R" option.  For example, to make sure that jobs are only submitted to nodes with a minimum of 1 GB of available memory, use the following: 

bsub -q psnehq -R "rusage[mem=1024]" my_program
  • No labels