Examples (6)
Submit a script file as a job
bsub path/to/script.shSubmit a job with a name and redirect output and error
bsub -J job_name --output path/to/output.log --error path/to/error.log path/to/script.shRequest 8 CPU cores and 16GB memory for a command
bsub -n 8 -M 16G cargo build --releaseSubmit a job with a runtime limit of 45 minutes
bsub -W 45 path/to/script.shmade by @shridhargupta | data from tldr-pages