Skip to content
Snippets Groups Projects
Commit a66b7838 authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 30/11/2021: adapt Rules file for current Cray compilers

parent 8cc0775d
No related branches found
No related tags found
No related merge requests found
...@@ -60,9 +60,9 @@ OPT_NOCB = $(OPT_BASE) $(OPT_PERF1) ...@@ -60,9 +60,9 @@ OPT_NOCB = $(OPT_BASE) $(OPT_PERF1)
endif endif
# #
# #
FC = ftn -em -ef FC = ftn
FCFLAGS = -em -ef FCFLAGS = -em -ef
CC=gcc CC=cc
export FC CC FCFLAGS export FC CC FCFLAGS
F90 = ftn F90 = ftn
F90FLAGS = $(OPT) F90FLAGS = $(OPT)
...@@ -81,10 +81,10 @@ LDFLAGS = -Wl,-warn-once $(PAR) $(OPT_BASE) ...@@ -81,10 +81,10 @@ LDFLAGS = -Wl,-warn-once $(PAR) $(OPT_BASE)
CPP = cpp -P -traditional -Wcomment CPP = cpp -P -traditional -Wcomment
# #
CPPFLAGS_SURFEX = CPPFLAGS_SURFEX =
CPPFLAGS_SURCOUCHE = -DDEV_NULL CPPFLAGS_SURCOUCHE = -DDEV_NULL -DUSE_MPI
CPPFLAGS_RAD = CPPFLAGS_RAD =
CPPFLAGS_NEWLFI = -DSWAPIO -DLINUX -DLFI_INT=${LFI_INT} CPPFLAGS_NEWLFI = -DSWAPIO -DLINUX -DLFI_INT=${LFI_INT}
CPPFLAGS_MNH = -DMNH -DSFX_MNH CPPFLAGS_MNH = -DMNH -DSFX_MNH -DMNH_NO_MPI_LOGICAL48 -DUSE_MPI -DMNH_CRAY
ifdef VER_GA ifdef VER_GA
CPPFLAGS_SURCOUCHE += -DMNH_GA CPPFLAGS_SURCOUCHE += -DMNH_GA
INC += -I${GA_ROOT}/include INC += -I${GA_ROOT}/include
...@@ -117,6 +117,8 @@ MNH_COMPRESS=yes ...@@ -117,6 +117,8 @@ MNH_COMPRESS=yes
# #
MNH_GRIBAPI=no MNH_GRIBAPI=no
# #
NETCDF_SUPPFLAGS='-em -ef'
ECCODES_FFLAGS='-em -ef'
########################################################## ##########################################################
# # # #
# Source of MESONH PACKAGE Distribution # # Source of MESONH PACKAGE Distribution #
......
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