From 344122e8941d41e43ebd82fc507c0a72c7313152 Mon Sep 17 00:00:00 2001
From: Juan Escobar <juan.escobar@aero.obs-mip.fr>
Date: Tue, 28 Mar 2017 15:29:03 +0000
Subject: [PATCH] Juan 28/03/2017:configure, add automatic management of
 GRIBAPI_PATH,CDF_PATH & add good value for
 SLURM_CPU_BIND,SLURM_EXPORT_ENV,I_MPI_PIN_PROCESSOR_LIST

---
 src/configure | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/configure b/src/configure
index 003ee7170..7fc1e0395 100755
--- a/src/configure
+++ b/src/configure
@@ -97,7 +97,11 @@ module rm intel    ; module load intel/16.1.150 ;
 module rm intelmpi ; module load intelmpi/5.1.2.150 ;
 module rm netcdf ; module load netcdf/4.4.0 ;
 module rm grib_api ; module load grib_api/1.14.5 ;
-export GRIBAPI_PATH=/opt/softs/libraries/ICC16.1.150/grib_api-1.14.5
+export GRIBAPI_PATH=\${GRIBAPI_DIR}
+export CDF_PATH=\${NETCDF_DIR}
+export SLURM_CPU_BIND=none
+export SLURM_EXPORT_ENV=ALL
+export I_MPI_PIN_PROCESSOR_LIST=all:map=spread
 "}
               ;;
 'Linux login0'*|'Linux compute'*)
-- 
GitLab