Skip to content
Snippets Groups Projects
Commit b38acc31 authored by ESCOBAR MUNOZ Juan's avatar ESCOBAR MUNOZ Juan Committed by WAUTELET Philippe
Browse files

Juan 09/06/2015: rewrite TAU rules + O3 -xHOST

parent 04a6a836
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
OPT_BASE = -g -w -assume nosource_include -assume byterecl -fpe0 -ftz -fpic -traceback -fp-model precise -switch fe_inline_all_arg_copy_inout
OPT_PERF0 = -O0
OPT_PERF2 = -O2
OPT_PERF3 = -O3
OPT_PERF3 = -O3 -xHost
OPT_CHECK = -CB -ftrapuv
OPT_I8 = -i8
OPT_R8 = -r8
......@@ -76,7 +76,13 @@ F90 = mpif90
endif
else
ifeq "$(VER_MPI)" "MPIINTEL"
ifneq "$(findstring TAU,$(XYZ))" ""
F90 = tau_f90.sh
export TAU_MAKEFILE?=/home/escj/PATCH/TAU/TAU-2.21.1-IFORT10-OMPI152-THREAD/x86_64/lib/Makefile.tau-mpi
LIBS += -lz
else
F90 = mpiifort
endif
ifeq "$(MNH_INT)" "I8"
OPT_BASE += -ilp64
endif
......@@ -98,7 +104,7 @@ FX90FLAGS = $(OPT)
# -132
#
#LDFLAGS = -Wl,-noinhibit-exec -Wl,-warn-once $(PAR)
LDFLAGS = -Wl,-warn-once $(PAR)
LDFLAGS = -Wl,-warn-once $(PAR) $(OPT_BASE)
#
# preprocessing flags
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment