Skip to content

Commit

Permalink
fix: ccr partition doesn't exist on FRCE
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed May 16, 2024
1 parent 7780ab0 commit 9933fb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charlie
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ GIT_COMMIT_TAG=$(get_git_commitid_tag $PIPELINE_HOME)

CLUSTER_SBATCH_CMD="sbatch --parsable --cpus-per-task {cluster.threads} -p {cluster.partition} -t {cluster.time} --mem {cluster.mem} --job-name {cluster.name} --output {cluster.output} --error {cluster.error}"

PARTITION='norm'
PLATFORM=$(get_platform)
if [ "$PLATFORM" == "biowulf" ]; then
EXTRA_SINGULARITY_BINDS="/lscratch"
CLUSTER_SBATCH_CMD="$CLUSTER_SBATCH_CMD --gres {cluster.gres}"
PARTITION="ccr,$PARTITION"
elif [ "$platform" == "fnlcr" ]; then
EXTRA_SINGULARITY_BINDS="/scratch/local"
# make sure spooker is in the path
Expand Down Expand Up @@ -513,7 +515,7 @@ function run() {
#!/bin/bash
#SBATCH --job-name="charlie"
#SBATCH --mem=40g
#SBATCH --partition="ccr,norm"
#SBATCH --partition="$PARTITION"
#SBATCH --time=48:00:00
#SBATCH --cpus-per-task=2
Expand Down

0 comments on commit 9933fb4

Please sign in to comment.