Versions Compared

Key

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

...

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 "$@" and the log files are save in the logs directory with their job ID as the log file name. The python code code can do analysis on the run this script was applied to

Code Block
#!/bin/bash

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