Skip to content
Snippets Groups Projects
Commit d84741f2 authored by ESCOBAR MUNOZ Juan's avatar ESCOBAR MUNOZ Juan
Browse files

Juan 23/10/2023:Rules.LXcray.mk, change -g => -G0 for Gpu compilation

parent eac9ea89
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ CFV=$(shell crayftn --version | grep -E -m1 -o ' [[:digit:]\.]{2,}( |$$)' | sed
#OBJDIR_PATH=/home/escj/azertyuiopqsdfghjklm/wxcvbn/azertyuiopqsdfghjklmwxcvbn
#
OPT_BASE = -hpic -emf -h acc_model=auto_async_none:no_fast_addr:no_deep_copy -halias=none
OPT_PERF0 = -O0 -g
OPT_PERF0 = -G0 -O0
OPT_PERF1 = -G2 -O1 -hflex_mp=intolerant -Ofp0 -hnofma -hnoomp -K trap=fp -hipa0
OPT_PERF2 = -G2 -O2 -hflex_mp=intolerant -Ofp0 -hnofma -hnoomp -hipa0
#
......@@ -81,6 +81,7 @@ OPT_NOCB = $(OPT_BASE) $(OPT_PERF2) $(OPT_OPENACC)
OBJS_CONCURRENT=spll_multigrid.o spll_turb_ver_thermo_flux.o
#spll_resolved_cloud.o
$(OBJS_CONCURRENT) : OPT = $(OPT_BASE) $(OPT_PERF2) $(OPT_OPENACC) -h concurrent -rimo
OBJS0 += spll_ini_model_n.o
endif
ifeq "$(OPTLEVEL)" "OPENACCNOBITREP"
......@@ -249,6 +250,10 @@ MNH_COMPRESS=yes
#
MNH_GRIBAPI=no
#
ifeq "$(VER_CDF)" "CDFCRAY"
INC += $(NETCDF_DIR)/include
CDF_PATH = $(NETCDF_DIR)
else
NETCDF_SUPPFLAGS='-emf'
ECCODES_FFLAGS='-hcpu=x86-64 -emf -hsystem_alloc'
ECCODES_CFLAGS='-hcpu=x86-64 -gdwarf-4 '
......@@ -257,6 +262,7 @@ CDF_CONF= CPP=cpp
HDF_CONF= CPP=cpp
HDF_OPT ?= -hcpu=x86-64
NETCDF_OPT ?= -hcpu=x86-64
endif
#
# Bypat nvidia70 problème
ifeq "$(CRAY_ACCEL_TARGET)" "nvidia70"
......
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