Submit jobs to application profiles

Use the -app option of bsub to specify an application profile for the job.

Run bsub -app to submit jobs to an application profile.
bsub -app fluent -q overnight myjob

LSF rejects the job if the specified application profile does not exist.

Modify the application profile associated with a job

You can only modify the application profile for pending jobs.

Run bmod -app application_profile_name to modify the application profile of the job.

The ‑appn option dissociates the specified job from its application profile. If the application profile does not exist, the job is not modified

bmod ‑app fluent 2308

Associates job 2308 with the application profile fluent.

bmod ‑appn 2308

Dissociates job 2308 from the application profile fluent.

Control jobs associated with application profiles

bstop, bresume, and bkill operate on jobs associated with the specified application profile. You must specify an existing application profile. If job_ID or 0 is not specified, only the most recently submitted qualifying job is operated on.

  1. Run bstop -app to suspend jobs in an application profile.
    bstop -app fluent 2280

    Suspends job 2280 associated with the application profile fluent.

    bstop ‑app fluent 0

    Suspends all jobs associated with the application profile fluent.

  2. Run bresume -app to resume jobs in an application profile.
    bresume -app fluent 2280

    Resumes job 2280 associated with the application profile fluent.

  3. Run bkill -app to kill jobs in an application profile.
    bkill ‑app fluent

    Kills the most recently submitted job associated with the application profile fluent for the current user.

    bkill ‑app fluent 0

    Kills all jobs associated with the application profile fluent for the current user.