Specifying a job command file (bsub -Zs)

Procedure

  • Use bsub -Zs to spool a job command file to the directory specified by the JOB_SPOOL_DIR parameter in lsb.params.

    LSF uses the spooled file as the command file for the job.

    Note: The bsub -Zs option is not supported for embedded job commands because LSF is unable to determine the first command to be spooled in an embedded job command.
  • Use bmod -Zs to change the command file after the job has been submitted.

    Changing the original input file does not affect the submitted job.

  • Use bmod -Zsn to cancel the last spooled command file and use the original spooled file.
  • Use bmod -Z to modify a command submitted without spooling