LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

bsub

Submit batch jobs to IBM Spectrum LSF

TLDR

Submit a script file as a job
$ bsub [path/to/script.sh]
copy
Submit a job to a specific queue
$ bsub -q [queue_name] make all
copy
Submit a job with name and output redirection
$ bsub -J [job_name] --output [path/to/output.log] --error [path/to/error.log] [path/to/script.sh]
copy
Request CPU cores and memory
$ bsub -n 8 -M 16G cargo build --release
copy
Run an interactive shell
$ bsub -I bash
copy
Submit with a runtime limit
$ bsub -W 45 [path/to/script.sh]
copy

SYNOPSIS

bsub [options] command [arguments]

DESCRIPTION

bsub submits batch jobs to IBM Spectrum LSF (Load Sharing Facility), a workload management platform for distributed HPC environments. It schedules jobs to run on cluster nodes based on resource requirements and availability.Jobs can be commands, scripts, or interactive sessions. The scheduler matches job requirements with available resources.

PARAMETERS

-q queue

Submit to a specific queue
-J name
Assign a name to the job
-n cores
Number of CPU cores required
-M memory
Memory limit (e.g., 16G, 4096M)
-W minutes
Runtime limit in minutes
-I
Run interactively
-o, --output file
Standard output file
-e, --error file
Standard error file
-R resource
Resource requirements string

CAVEATS

Available queues and resource limits depend on cluster configuration. Jobs may wait in queue until resources become available. Interactive jobs (-I) hold the terminal until completion.

SEE ALSO

bjobs(1), bkill(1), bhist(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid