|
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() | This page contains answers to common questions about LSF, along with some tips and tricks that we have found useful and presented here as questions. If your question is not answered here, please tell the LSF administrator.
What is LSF?
Back to TopHow can I tell if LSF is running ?
% lsid LSF 5.0, May 31 2002 Copyright 1992-2002 Platform Computing Corporation My cluster name is atn My master name is lsfmaster You can use the bhosts command to verify that the batch component of LSF is working: HOST_NAME STATUS JL/U MAX NJOBS RUN SSUSP USUSP RSV calcite ok - 2 0 0 0 0 0 caroline ok - 1 0 0 0 0 0 chastity ok 2 12 3 3 0 0 0 hazy ok - - 0 0 0 0 0 lsfmaster ok - 4 0 0 0 0 0 macbeth ok - - 2 2 0 0 0 maya ok - 1 0 0 0 0 0 nun ok 3 4 2 2 0 0 0 sanger ok 6 8 0 0 0 0 0 stormy ok - 4 0 0 0 0 0 sunny ok 6 70 23 23 0 0 0 zephyr ok 8 60 40 40 0 0 0 Back to Top How do I make LSF put the output from my job in a file rather than an email message ?
bsub -o my.out -e my.err ... If you specify a The output file created by the -o option to the bsub command normally contains job report information as well as the job output. If you want to separate the job report information from the job output, use the -N option to specify that the job report information should be sent by email. The output files specified by the -o and -e options are created on the execution host.
Back to Top
What does a job status of "PEND" mean ?
You can use the -lp option of the bjobs command to see why a job is pending, Back to Top
What happens to my AFS token if my LSF job runs for more than 25 hours ?
Is there an alternative to putting the bsub options on the command line ?
#BSUB -q parallel #BSUB -m zephyr #BSUB -J myjob and so on. These lines are considered comments by the shell, so it ignores them, but LSF should interpret them correctly. Note: An LSF batch script file is not the same as a shell script. although they are similar. An LSF script file does not have to be executable, and is meant to be used as standard input to the bsub command.. For example, you should type: bsub < myscript rather than bsub myscript
Back to Top
What is the difference between the bsub and bsas commands?
bsas myprog.sas the commands which would actually be executed would be something like bsub -q batch -m sunny /opt/sas8/sas myprog.sas If you wanted to use a different queue or server, or if you wanted to use any of the other bsub options, you would need to create you own bsub command or an LSF script file. Back to Top
How do I kill all of my jobs at once?
bkill 0 Note that both running and pending jobs will be killed. You can also limit the bkill command to only those jobs that are in a specific queue or on a specific host: bkill -m sunny 0 bkill -q batch 0 Last updated
Monday, October 21, 2002 09:44 AM
|
|
|