From e47cdb89c5e002620a16bde9c3d3b783754bf33e Mon Sep 17 00:00:00 2001 From: hategan Date: Fri, 9 Feb 2024 16:03:55 -0800 Subject: [PATCH] Ooops --- src/psij/executors/batch/slurm/slurm.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/psij/executors/batch/slurm/slurm.mustache b/src/psij/executors/batch/slurm/slurm.mustache index b9aad1bb..d6f850fc 100644 --- a/src/psij/executors/batch/slurm/slurm.mustache +++ b/src/psij/executors/batch/slurm/slurm.mustache @@ -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