From 6431a70fd7b376770d343f2bc830758feb7002ac Mon Sep 17 00:00:00 2001 From: Anne Philipp <anne.philipp@univie.ac.at> Date: Mon, 29 Jul 2019 12:18:59 +0200 Subject: [PATCH] changed from debug to optimized mode --- source/fortran/Makefile.gfortran | 2 +- source/fortran/Makefile.local.gfortran | 8 ++------ source/fortran/Makefile.local.ifort | 15 ++++----------- 3 files changed, 7 insertions(+), 18 deletions(-) diff --git a/source/fortran/Makefile.gfortran b/source/fortran/Makefile.gfortran index 431bc27..0c46c5b 100644 --- a/source/fortran/Makefile.gfortran +++ b/source/fortran/Makefile.gfortran @@ -10,7 +10,7 @@ .SUFFIXES: .o .c .c~ .f .f~ .F90 .f90 .f90~ .f95 .f95~ .F .F~ .y .y~ .l .l~ \ .s .s~ .sh .sh~ .h .h~ .C .C~ .a -OPT = -g +OPT = -O3 DEBUG = -g LIB = $(ECCODES_LIB) $(EMOSLIB) diff --git a/source/fortran/Makefile.local.gfortran b/source/fortran/Makefile.local.gfortran index 7853267..0e03b8d 100644 --- a/source/fortran/Makefile.local.gfortran +++ b/source/fortran/Makefile.local.gfortran @@ -14,14 +14,10 @@ GRIB_API_INCLUDE_DIR=/usr/local/gcc-4.9.3/grib_api-1.14.3/include GRIB_API_LIB= -L/usr/local/gcc-4.9.3/grib_api-1.14.3/lib -Bstatic -lgrib_api_f77 -lgrib_api_f90 -lgrib_api -Bdynamic -lm -ljasper -#GRIB_API_INCLUDE_DIR=/home/srvx1/tmc/TestEnv/Libraries/eccodes-2.6.0_ifort/include -#GRIB_API_LIB=-L/home/srvx1/tmc/TestEnv/Libraries/eccodes-2.6.0_ifort/lib -Bstatic -leccodes_f90 -leccodes -Bdynamic -lm -ljasper -openmp - - EMOSLIB=-lemosR64 -OPT = -g -O3 -fopenmp -DEBUG = -g +OPT = -O3 -fopenmp +DEBUG = -O3 LIB = $(GRIB_API_LIB) $(EMOSLIB) FC=gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert=big-endian diff --git a/source/fortran/Makefile.local.ifort b/source/fortran/Makefile.local.ifort index d54e995..2744a9e 100644 --- a/source/fortran/Makefile.local.ifort +++ b/source/fortran/Makefile.local.ifort @@ -10,19 +10,12 @@ .SUFFIXES: .o .c .c~ .f .f~ .F90 .f90 .f90~ .f95 .f95~ .F .F~ .y .y~ .l .l~ \ .s .s~ .sh .sh~ .h .h~ .C .C~ .a -#GRIB_API_INCLUDE_DIR=/home/srvx1/tmc/TestEnv/Libraries/grib_api-1.25.0_ifort/include -#GRIB_API_LIB=-L/home/srvx1/tmc/TestEnv/Libraries/grib_api-1.25.0_ifort/lib -Bstatic -lgrib_api_f77 -lgrib_api_f90 -lgrib_api -Bdynamic -lm -ljasper -qopenmp +GRIB_API_INCLUDE_DIR=/usr/local/include +GRIB_API_LIB= -L/usr/local/lib -leccodes_f90 -leccodes -lm -ljasper -#GRIB_API_INCLUDE_DIR=/usr/local/ifort/grib1.12.3//include -#GRIB_API_LIBS=-openmp -L/usr/local/ifort/grib1.12.3/lib -Bstatic -lgrib_api_f77 -lgrib_api_f90 -lgrib_api -Bdynamic -lm -ljasper - - -GRIB_API_INCLUDE_DIR=/home/srvx1/tmc/TestEnv/Libraries/eccodes-2.6.0_ifort/include -GRIB_API_LIB= -L/home/srvx1/tmc/TestEnv/Libraries/eccodes-2.6.0_ifort/lib -Bstatic -leccodes_f90 -leccodes -Bdynamic -lm -ljasper - OPT = -g -O3 -mcmodel=medium -unroll -inline -heap-arrays 32 -DEBUG = -g +DEBUG = '' LIB = $(GRIB_API_LIB) -lemosR64 -lgfortran FC=/opt/intel/composerxe/bin/ifort -132 -traceback -r8 @@ -35,7 +28,7 @@ LDFLAGS = $(OPT) BINDIR = . -EXE = CONVERT2 +EXE = CONVERT2.s8.ifort .f.o: -- GitLab