Skip to content

Commit

Permalink
Output proper job files for SLURM engine jobs.
Browse files Browse the repository at this point in the history
Thanks to Marf Hafner for pointing out the issue.
  • Loading branch information
roryk committed Oct 2, 2017
1 parent 344a5de commit a333a7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.7 (in progress)
- Fix for SLURM engine output files not having the proper job IDs.
- Additional fixes for python3 support.

## 0.5.6 (2 Aug 2017)

- Additional work to better resolve local IP addresses, first trying to pick
Expand Down
4 changes: 2 additions & 2 deletions cluster_helper/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ class BcbioSLURMEngineSetLauncher(SLURMLauncher, launcher.BatchClusterAppMixin):
default_template = traitlets.Unicode("""#!/bin/sh
#SBATCH -p {queue}
#SBATCH -J {tag}-e[1-{n}]
#SBATCH -o bcbio-ipengine.out.%%j
#SBATCH -e bcbio-ipengine.err.%%j
#SBATCH -o bcbio-ipengine.out.%A_%a
#SBATCH -e bcbio-ipengine.err.%A_%a
#SBATCH --cpus-per-task={cores}
#SBATCH --array=1-{n}
#SBATCH -t {timelimit}
Expand Down

0 comments on commit a333a7e

Please sign in to comment.