Juan 12/12/2016: configure, for ECMWF , switch by default to new ifort compiler,...
authorJuan Escobar <escj@aero.obs-mip.fr>
Mon, 12 Dec 2016 14:14:14 +0000 (14:14 +0000)
committerJuan Escobar <escj@aero.obs-mip.fr>
Mon, 12 Dec 2016 14:17:39 +0000 (14:17 +0000)
src/configure

index 9b8942e..dcb7bb0 100755 (executable)
@@ -199,7 +199,7 @@ export LIB_GRIBAPI='${GRIB_API_LIB}'
               ;;
 'Linux cc'*) # ECMWF Cray plateforme
                 export MNH_ARCH=`echo $ARCH | grep LX`
-                export     ARCH=${MNH_ARCH:-LXcray}
+                export     ARCH=${MNH_ARCH:-LXifort}
                 export  VER_MPI=${VER_MPI:-MPICRAY}
                 export OPTLEVEL=${OPTLEVEL:-O2}
                 export MVWORK=${MVWORK:-NO}
@@ -209,14 +209,20 @@ export LIB_GRIBAPI='${GRIB_API_LIB}'
                 export MNHENV=${MNHENV:-"
 . /opt/modules/default/init/bash
 module rm grib_api
+module rm craype-broadwell
+export CRAY_CPU_TARGET=ivybridge
+module swap cdt/1.15_8.2.7
+module use /opt/cray/craype/default/modulefiles
 "}
                 else
                 if [ "${ARCH}" == "LXifort" ]
                 then
                 export MNHENV=${MNHENV:-"
 . /opt/modules/default/init/bash
-module switch PrgEnv-cray PrgEnv-intel
 module rm grib_api
+prgenvswitchto intel
+module rm intel
+module load intel/16.0.3.210
 "}
                 fi
                 fi