-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
instead of submission scripts, save slurm flags as an env var
- Loading branch information
Showing
12 changed files
with
32 additions
and
56 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 |
---|---|---|
@@ -1,12 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# QUEST CLUSTER SETTINGS | ||
# QUEST SLURM SETTINGS | ||
ACCOUNT='-A p32141' | ||
PARTITION='--partition short' | ||
OUTPUT='-o /home/ctb3982/logs/out/%A_%a.out' | ||
ERROR='/home/ctb3982/logs/err/%A_%a.err' | ||
|
||
# ENVIRONMENT VARS | ||
export DD_SINGULARITY_IMAGE_LOCATION=$HOME/simg #where you want to store the singularity image | ||
export DD_REPO_DIR=$HOME #parent directory of where you cloned dynadojo | ||
export DD_SCRATCH_DIR=$HOME #your scratch directory | ||
export DD_OUTPUT_DIR=questput #name of folder in scratch to put output | ||
export DD_IMAGE_REPO=docker://carynbear/dynadojo:sherlock #docker image to pull | ||
export DD_CLUSTER=quest #cluster name | ||
export DD_SLURM_ARGS="$ACCOUNT $PARTITION $OUTPUT $ERROR" | ||
|
||
echo "Setting up environment for $DD_CLUSTER" |
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -1,11 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# SHERLOCK SLURM ARGS | ||
PARTITION='-p normal' | ||
OUTPUT='-o ${SCRATCH}/logs/out/%A_%a.out' | ||
ERROR='-e ${SCRATCH}/logs/err/%A_%a.err' | ||
|
||
# SHERLOCK CLUSTER SETTINGS | ||
export DD_SINGULARITY_IMAGE_LOCATION=$GROUP_HOME/$USER/simg #where you want to store the singularity image | ||
export DD_REPO_DIR=$HOME #parent directory of where you cloned dynadojo | ||
export DD_SCRATCH_DIR=$SCRATCH #your scratch directory | ||
export DD_OUTPUT_DIR=sherput #name of folder in scratch to put output | ||
export DD_IMAGE_REPO=docker://carynbear/dynadojo:sherlock #docker image to pull | ||
export DD_CLUSTER=sherlock #cluster name | ||
export DD_SLURM_ARGS="$PARTITION $OUTPUT $ERROR" | ||
|
||
echo "Setting up environment for $DD_CLUSTER" |
This file was deleted.
Oops, something went wrong.