123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # Library and include
- INC_NETCDF = -I/apps/NETCDF/4.4.1.1/INTEL/IMPI/include
- LIB_NETCDF = -L/apps/NETCDF/4.4.1.1/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
- #LIB_LAPACK = -L/apps/INTEL/2017.4/mkl/lib/ -llapack
- #LIBBLAS = -L/apps/INTEL/2017.4/mkl/lib/ -lblas
- LIB_MKL = -L/apps/INTEL/2017.4/mkl/lib/intel64 -lmkl_rt
- 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_NETCDF) $(INC_NETCDF) $(LIB_FFT) $(LIB_MKL) # $(LIB_LAPACK) $(LIBBLAS)
- CF90 = /apps/INTEL/2017.4/impi/2017.3.196/bin64/mpif90
- PARO =
- CPPFLAGS = -DQMPI
- CF77 = $(CF90)
- LD = $(CF90)
- CPP = /apps/INTEL/2017.4/bin/fpp
- CC = /apps/INTEL/2017.4/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 =
|