Versions Compared

Key

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

The batch processor allows for the easier submission of batch jobs via a web interface. A hashtag is created which represents some script via the script's absolute path. This script contains the bsub command so that extra tags can be added and more customization of the bsub command is available. This hashtag can then be applied to events as needed.

 

Below is a simple example of a possible bash script. This script runs `test.py` and passes it any arguments that is passed to itself through `"$@"`.

Code Block
#!/bin/bash

bsub -q psdebugq -o logs/%J.log python test.py "$@"

...