-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from antarctica/mg-slurm-enhancement
Feature added to support pipeline running as a SLURM job.
- Loading branch information
Showing
5 changed files
with
87 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
#SBATCH --job-name simple-example | ||
#SBATCH --time 00:05:00 | ||
#SBATCH --partition=<partition_name> | ||
#SBATCH --account=<account_name> | ||
#SBATCH --mem=50M | ||
#SBATCH --nodes=1 | ||
#SBATCH --ntasks=1 | ||
#SBATCH --cpus-per-task=2 | ||
#SBATCH --chdir=<pipeline_absolute_path> | ||
#SBATCH --error=<pipeline_absolute_path>/slurm-%j.%N.err | ||
#SBATCH --output=<pipeline_absolute_path>/slurm-%j.%N.out | ||
|
||
|
||
source activate | ||
pipeline reset ./example/ | ||
pipeline execute ./example/ | ||
pipeline await ./example/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters