Skip to content
Snippets Groups Projects
Commit e5470e36 authored by Juan Escobar's avatar Juan Escobar
Browse files

Juan 12/12/2016: configure, for ECMWF , switch by default to new ifort...

Juan 12/12/2016: configure, for ECMWF , switch by default to new ifort compiler, old cray cdt/1.15_8.2.7 in 2nd choose
parent 31f7a732
No related branches found
No related tags found
No related merge requests found
...@@ -199,7 +199,7 @@ export LIB_GRIBAPI='${GRIB_API_LIB}' ...@@ -199,7 +199,7 @@ export LIB_GRIBAPI='${GRIB_API_LIB}'
;; ;;
'Linux cc'*) # ECMWF Cray plateforme 'Linux cc'*) # ECMWF Cray plateforme
export MNH_ARCH=`echo $ARCH | grep LX` export MNH_ARCH=`echo $ARCH | grep LX`
export ARCH=${MNH_ARCH:-LXcray} export ARCH=${MNH_ARCH:-LXifort}
export VER_MPI=${VER_MPI:-MPICRAY} export VER_MPI=${VER_MPI:-MPICRAY}
export OPTLEVEL=${OPTLEVEL:-O2} export OPTLEVEL=${OPTLEVEL:-O2}
export MVWORK=${MVWORK:-NO} export MVWORK=${MVWORK:-NO}
...@@ -209,14 +209,20 @@ export LIB_GRIBAPI='${GRIB_API_LIB}' ...@@ -209,14 +209,20 @@ export LIB_GRIBAPI='${GRIB_API_LIB}'
export MNHENV=${MNHENV:-" export MNHENV=${MNHENV:-"
. /opt/modules/default/init/bash . /opt/modules/default/init/bash
module rm grib_api 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 else
if [ "${ARCH}" == "LXifort" ] if [ "${ARCH}" == "LXifort" ]
then then
export MNHENV=${MNHENV:-" export MNHENV=${MNHENV:-"
. /opt/modules/default/init/bash . /opt/modules/default/init/bash
module switch PrgEnv-cray PrgEnv-intel
module rm grib_api module rm grib_api
prgenvswitchto intel
module rm intel
module load intel/16.0.3.210
"} "}
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment