Skip to content

Commit

Permalink
BUG: export option in slurm call
Browse files Browse the repository at this point in the history
Guessing this should be QSUBOPTS in both cases
  • Loading branch information
stnava authored Aug 4, 2023
1 parent 91593fb commit 8285c6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/antsMultivariateTemplateConstruction2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ if [[ "$RIGID" -eq 1 ]];
jobIDs="$jobIDs $id"
elif [[ $DOQSUB -eq 5 ]];
then
id=`sbatch --job-name=antsrigid --export= $QSUBOPTS --nodes=1 --cpus-per-task=1 --time=${WALLTIME} --mem=${MEMORY} $qscript | rev | cut -f1 -d\ | rev`
id=`sbatch --job-name=antsrigid --export=${QSUBOPTS} --nodes=1 --cpus-per-task=1 --time=${WALLTIME} --mem=${MEMORY} $qscript | rev | cut -f1 -d\ | rev`
jobIDs="$jobIDs $id"
sleep 0.5
elif [[ $DOQSUB -eq 0 ]];
Expand Down Expand Up @@ -1577,7 +1577,7 @@ while [[ $i -lt ${ITERATIONLIMIT} ]];
echo '#!/bin/sh' > $qscript
echo -e "$SCRIPTPREPEND" >> $qscript
echo -e "$exe" >> $qscript
id=`sbatch --job-name=antsdef${i} --export= --nodes=1 --cpus-per-task=1 --time=${WALLTIME} --mem=${MEMORY} $QSUBOPTS $qscript | rev | cut -f1 -d\ | rev`
id=`sbatch --job-name=antsdef${i} --export=${QSUBOPTS} --nodes=1 --cpus-per-task=1 --time=${WALLTIME} --mem=${MEMORY} $QSUBOPTS $qscript | rev | cut -f1 -d\ | rev`
jobIDs="$jobIDs $id"
sleep 0.5
elif [[ $DOQSUB -eq 0 ]];
Expand Down

0 comments on commit 8285c6d

Please sign in to comment.