Skip to content

Commit

Permalink
Update qsub.OMEGA
Browse files Browse the repository at this point in the history
Bugfix: MEMNODE was changed to MEMPERNODE
  • Loading branch information
wdeshazer authored Apr 30, 2024
1 parent 46fa764 commit f1cca15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform/qsub/qsub.OMEGA
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ echo "#SBATCH -e $SIMDIR/batch.err" >> $bfile
echo "#SBATCH -t $WALLTIME" >> $bfile
echo "#SBATCH -n $cores_used" >> $bfile

if [ -n $MEMPERNODE ]
if [ -n "$MEMPERNODE" ]
then
echo "#SBATCH --mem $MEMNODE" >> $bfile
elif [ -n $MEMPERCPU ]
echo "#SBATCH --mem $MEMPERNODE" >> $bfile
elif [ -n "$MEMPERCPU" ]
echo "#SBATCH --mem-per-cpu $MEMPERCPU" >> $bfile
else
echo "#SBATCH --mem-per-cpu 16GB" >> $bfile
Expand Down

0 comments on commit f1cca15

Please sign in to comment.