From 1462f2e201387f6b1e21da8db7c6752db2a28148 Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Fri, 14 Apr 2023 10:43:38 +0200
Subject: [PATCH] Always set the binding options for openmpi as we need it with
 starpu 1.4.0 apparently

---
 tools/bench/plafrim/run.sh | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tools/bench/plafrim/run.sh b/tools/bench/plafrim/run.sh
index 4d2668aea..18791b887 100755
--- a/tools/bench/plafrim/run.sh
+++ b/tools/bench/plafrim/run.sh
@@ -49,10 +49,7 @@ fi
 export MPI_OPTIONS=""
 if [ $MPI = "openmpi" ]
 then
-  if [ $NODE = "bora" ]
-  then
-    export MPI_OPTIONS="--map-by ppr:1:node:pe=36"
-  fi
+  export MPI_OPTIONS="--map-by ppr:1:node:pe=$SLURM_JOB_CPUS_PER_NODE"
   GUIX_ENV_MPI=""
   GUIX_ADHOC_MPI="openssh openmpi"
 elif [ $MPI = "nmad" ]
-- 
GitLab