# Library and include INC_NETCDF = -I/apps/NETCDF/4.3.2/INTEL/IMPI/include LIB_NETCDF = -L/apps/NETCDF/4.3.2/INTEL/IMPI/lib -lnetcdf -lnetcdff #LIB_LAPACK = -L/opt/intel/mkl/9.0/lib/em64t -lmkl_lapack -lmkl_em64t -lguide -lpthread LIB_LAPACK = -L/apps/LAPACK/3.4.2/INTEL/lib -llapack LIBBLAS = -L/apps/OPENBLAS/0.2.14/GCC/OPENMPI/lib -lblas INC_FFT = -I/gpfs/apps/MN3/FFTW/3.3/GCC+IMPI/include LIB_FFT = -I/gpfs/apps/MN3/FFTW/3.3/GCC+IMPI/lib -fftw3 -fftw3-mpi INCS = $(INC_NETCDF) $(INC_FFT) LIBS = $(LIB_LAPACK) $(LIBBLAS) $(LIB_NETCDF) $(INC_NETCDF) $(LIB_FFT) CF90 = /apps/INTEL/impi/4.1.3.049/intel64/bin/mpif90 PARO = CPPFLAGS = -DQMPI CF77 = $(CF90) LD = $(CF90) CPP = /gpfs/apps/MN3/INTEL/2013_sp1.2.144/bin/fpp CC = /gpfs/apps/MN3/INTEL/2013_sp1.2.144/bin/icc CPPARCH = CPPFLAGS += SIZEO = -r8 OPTO = -O3 #ARCHO = -fno-second-underscore INLO = DIVO = DEBUG_FLAGS = -g -traceback -W1 -warn unused -warn uncalled -debug extended -debug-parameters -ftrapuv -fpe0 FFLAGS = $(SIZEO) $(OPTO) $(ARCHO) $(PARO) $(INLO) $(DIVO) $(DEBUG_FLAGS) $(INCS) #CFLAGS = $(FFLAGS) -Df2cFortran CFLAGS = -O3 $(INCS) # -r8 (seems to be default) -Df2cFortran $(INCS) LINKFLAGS = $(SIZEO) $(OPTO) $(ARCHO) $(PARO) $(INLO) $(DIVO) $(DEBUG_FLAGS) $(LIBS) # language-specific flags # F77FLG = F90FLG =