Skip to content

Commit

Permalink
Merge pull request #447 from ExaWorks/fix_assignment_in_slurm
Browse files Browse the repository at this point in the history
Ooops
  • Loading branch information
hategan authored Feb 10, 2024
2 parents 707429f + e47cdb8 commit 06e104b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/psij/executors/batch/slurm/slurm.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ _PSIJ_NC=`scontrol show hostnames | wc -l`
form, we need to duplicate each node line by PPN, which we need to calculate}}
if [ "$_PSIJ_PPN" == "" ]; then
if [ "$_PSIJ_NC" != "" ] && [ "$_PSIJ_PC" != "" ]; then
$_PSIJ_PPN=$((_PSIJ_PC/_PSIJ_NC))
_PSIJ_PPN=$((_PSIJ_PC/_PSIJ_NC))
fi
fi

Expand Down

0 comments on commit 06e104b

Please sign in to comment.