From 67f6340690254a94e020005303b29d83ec38e1ea Mon Sep 17 00:00:00 2001 From: Juan Escobar <escj@aero.obs-mip.fr> Date: Tue, 21 Jul 2020 10:43:50 +0200 Subject: [PATCH] Juan 21/07/2020:Rules.LXgfortran.mk , add rules for compiling VER_USER=ZSOLVER --- src/Rules.LXgfortran.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Rules.LXgfortran.mk b/src/Rules.LXgfortran.mk index 708d9ba2f..84931b74e 100644 --- a/src/Rules.LXgfortran.mk +++ b/src/Rules.LXgfortran.mk @@ -22,6 +22,11 @@ OPT_I8 = -fdefault-integer-8 OPT_R8 = -fdefault-real-8 -fdefault-double-8 OPT_OPENACC = -fopenacc # +ifeq "$(VER_USER)" "ZSOLVER" +CPPFLAGS += -DCARTESIANGEOMETRY -DPIECEWISELINEAR +# -DOVERLAPCOMMS +PROG_LIST += MG_MAIN MG_MAIN_MNH_ALL +endif # # Real/Integer 4/8 option # @@ -115,6 +120,11 @@ CNAME_GRIBEX=_gfortran HDF_CONF= CFLAGS=-std=c99 HDF_OPT ?= -fPIC NETCDF_OPT ?= -fPIC +#if MNH_BITREP exists => compile with the BITREP library +ifeq "$(MNH_BITREP)" "YES" +CPPFLAGS_MNH += -DMNH_BITREP +endif + # ## LIBTOOLS flags # -- GitLab