diff --git a/src/Rules.LXgfortran.mk b/src/Rules.LXgfortran.mk index c82bc7b12d5cab36c48444dc662e201fe7853a8b..b4a1cf0791b8b7df1c9e09682fc4d0e22b74c8a2 100644 --- a/src/Rules.LXgfortran.mk +++ b/src/Rules.LXgfortran.mk @@ -20,7 +20,7 @@ OPT_PERF2 = -O2 OPT_CHECK = -fbounds-check -finit-real=nan OPT_I8 = -fdefault-integer-8 OPT_R8 = -fdefault-real-8 -fdefault-double-8 -OPT_OPENACC = -fopenacc +OPT_OPENACC = -fopenacc -foffload=-march=gfx90a # ifeq "$(VER_USER)" "ZSOLVER" CPPFLAGS += -DCARTESIANGEOMETRY -DPIECEWISELINEAR @@ -83,8 +83,13 @@ ifeq "$(VER_MPI)" "MPIAUTO" F90 = mpif90 CPPFLAGS_SURCOUCHE += -DMNH_USE_MPI_STATUSES_IGNORE else +ifeq "$(VER_MPI)" "MPICRAY" +F90 = ftn +CPPFLAGS_SURCOUCHE += -DMNH_USE_MPI_STATUSES_IGNORE +else F90 = gfortran endif +endif # F90FLAGS = $(OPT) F77 = $(F90)