Skip to content
Snippets Groups Projects
Commit 6160c71a authored by Gaelle DELAUTIER's avatar Gaelle DELAUTIER
Browse files

Merge branch 'MNH-53-branch' of...

Merge branch 'MNH-53-branch' of mesonh2.aero.obs-mip.fr:/gitrepos/MNH-git_open_source-lfs into MNH-53-branch
parents 0aa3cf23 d489e4ad
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ OPT_NOCB = $(OPT_BASE) $(OPT_PERF1) ...@@ -63,7 +63,7 @@ OPT_NOCB = $(OPT_BASE) $(OPT_PERF1)
endif endif
# #
# #
FC = ftn FC = ftn -em -ef
FCFLAGS = -em -ef FCFLAGS = -em -ef
CC=gcc CC=gcc
export FC CC FCFLAGS export FC CC FCFLAGS
...@@ -98,6 +98,11 @@ endif ...@@ -98,6 +98,11 @@ endif
# #
TARGET_GRIBEX=linux TARGET_GRIBEX=linux
CNAME_GRIBEX=_gfortran CNAME_GRIBEX=_gfortran
#
# GRIB_API
#
GRIBAPI_CONF="FCFLAGS= -em -ef "
# #
# LIBTOOLS flags # LIBTOOLS flags
# #
......
...@@ -11,7 +11,7 @@ then ...@@ -11,7 +11,7 @@ then
export VERSION_MASTER=${VERSION_MASTER:-MNH-V5-3} export VERSION_MASTER=${VERSION_MASTER:-MNH-V5-3}
export VERSION_BUG=${VERSION_BUG:-0} export VERSION_BUG=${VERSION_BUG:-0}
export VERSION_XYZ=${VERSION_XYZ:-${VERSION_MASTER}-${VERSION_BUG}${VER_OASIS:+-${VER_OASIS}}} export VERSION_XYZ=${VERSION_XYZ:-${VERSION_MASTER}-${VERSION_BUG}${VER_OASIS:+-${VER_OASIS}}}
export VERSION_DATE=${VERSION_DATE:-"23/06/2016"} export VERSION_DATE=${VERSION_DATE:-"15/12/2016"}
export VERSION_CDF=${VERSION_CDF:-"4.1.3"} export VERSION_CDF=${VERSION_CDF:-"4.1.3"}
export VERSION_HDF=${VERSION_HDF:-"1.8.9"} export VERSION_HDF=${VERSION_HDF:-"1.8.9"}
export VERSION_GRIBAPI=${VERSION_GRIBAPI:-"1.13.1"} export VERSION_GRIBAPI=${VERSION_GRIBAPI:-"1.13.1"}
...@@ -193,7 +193,7 @@ export LIB_GRIBAPI='${GRIB_API_LIB}' ...@@ -193,7 +193,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}
...@@ -203,14 +203,20 @@ export LIB_GRIBAPI='${GRIB_API_LIB}' ...@@ -203,14 +203,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
......
...@@ -25,8 +25,8 @@ hostname ...@@ -25,8 +25,8 @@ hostname
cd ${PBS_O_WORKDIR} cd ${PBS_O_WORKDIR}
#ARCH=LXifort ARCH=LXifort
ARCH=LXcray #ARCH=LXcray
. ../conf/profile_mesonh-${ARCH}I4-MNH-V5-3-0-MPICRAY-O2 . ../conf/profile_mesonh-${ARCH}I4-MNH-V5-3-0-MPICRAY-O2
......
...@@ -19,12 +19,11 @@ set -x ...@@ -19,12 +19,11 @@ set -x
cd ${PBS_O_WORKDIR} cd ${PBS_O_WORKDIR}
pwd pwd
#ARCH=LXifort ARCH=LXifort
ARCH=LXcray #ARCH=LXcray
. ../conf/profile_mesonh-${ARCH}I4-MNH-V5-3-0-MPICRAY-O2 . ../conf/profile_mesonh-${ARCH}I4-MNH-V5-3-0-MPICRAY-O2
time gmake -j 4 2>&1 | tee sortie_compile_${ARCH}.$$
time gmake -j 4 2>&1 | tee sortie_compile_cray.$$ time gmake -j 4 2>&1 | tee sortie_compile_${ARCH}2.$$
time gmake -j 4 2>&1 | tee sortie_compile_cray2.$$ time gmake -j 1 installmaster 2>&1 | tee sortie_install_${ARCH}2.$$
time gmake -j 1 installmaster 2>&1 | tee sortie_install_cray.$$
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