Here's one we have been working on here. It isn't complete though but
it covers many of the major commands for LSF
LSF to Slurm Comparison - command commands
LSF Slurm
Submit a batch serial job: bsub sbatch
Submit a batch parallel job: bsub srun
Submit a interactive job: bsub salloc
Kill a job: bkill scancel
View status of queues: bqueues sinfo
Check current jobs: bjobs squeue
LSF vs Slurm input batch script options
LSF Slurm
Comment: # :
Job name: -J jobname -J=jobname
Stdout output file: -o outputfile -o=outputfile
Stderr output file: -e errorfile -e=errorfile
Specify queue: -q queuename --partition=queuename
Runtime of job: -W[hour:]minute --time=days-hours:min:sec
Send mail when the job starts: -B --mail=type=BEGIN
Send mail when the job finishes: -N --mail=type=END
Email address to send job email: -u [email protected]
<mailto:[email protected]> [email protected]
<mailto:[email protected]>
Exclusive execution: -x --exclusive
Clock time when to start job: -b[[year:][month:]day:]hour:minute
--begin=YYYY-MM-DD[THH:MM[:SS]]
Job dependency: -w "done(43521)" --dependency=afterdone:43521
Submit interactive job: bsub -Is -q interact command salloc -n1 srun
-n1 -N1 --pty --preserve-env command
Set working dir: Submission dir or -cwd "current working dir" -D
directory
On 1/8/2013 8:00 PM, Moe Jette wrote:
Does anyone happen to have a table showing how PBS and/or LSF commands
and options are mapped to the Slurm commands and options? I'd like to
make it available online, preferably without duplicated effort.
Thanks!