Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The absolute path to the batch script. This script must contain the batch job submission command (bsub for LSFsbatch for SLURM). It gives the user the ability to customize the the batch submission. Overall, it can act as a wrapper for the code that will do the analysis on the data along with submitting the job.

...

The parameters that will be passed to the executable as command line arguments.  These parameters can be used as parameters to the bsub/sbatch command to specify the queue, number of cores etc. Or; they can be used to customize the script execution. In addition, details of the batch job are made available as as environment variables.

...

For example, to update the status of the job using bash, one can use 

 


Code Block
languagebash
curl -s -XPOST ${JID_UPDATE_COUNTERS} -H "Content-Type: application/json" -d '[ {"key": "<b>LoopCount</b>", "value": "'"${i}"'" } ]'

...

The logger.debug statements are sent to the job's log file. Note, one can form bsub/ sbatch commands where the log output is not sent to a logfile and is instead sent as an email. Part of an example log file output is shown below.

...