Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MKL_PATH = /opt/intel/mkl/lib/intel64
- MKL_CORE = $(MKL_PATH)/libmkl_core.a
- MKL_INTERFACE = $(MKL_PATH)/libmkl_intel_lp64.a
- MKL_THREADS = $(MKL_PATH)/libmkl_intel_thread.a -openmp
- SCALAPACK = $(MKL_PATH)/libmkl_scalapack_lp64.a
- BLACS = $(MKL_PATH)/libmkl_blacs_intelmpi_lp64.a
- # FFTW is currently disabled in favour of MKL FFTs via the MKL FFTW3 interface.
- FFTW3 = # /opt/fftw/fftw-3.2.2/lib/libfftw3.a
- MKL_LIBS = -static-intel \
- -Bstatic \
- $(FFTW3) \
- $(SCALAPACK) \
- -Wl,--start-group \
- $(MKL_CORE) \
- $(MKL_INTERFACE) \
- $(MKL_THREADS) \
- $(BLACS) \
- -Wl,--end-group \
- -Bdynamic \
- -lpthread
- MAKE = make
- F90 = mpif90 -openmp
- F90_OPTS = -xHOST \
- -O3 -align -opt-mem-bandwidth2 -vec-guard-write -opt-prefetch \
- -fp-model fast -fp-model source -ftz -fp-speculation fast
- F77 = $(F90)
- F77_OPTS = $(F90_OPTS)
- AR = xiar
- LIB_SYS = # Not needed. Empty by default.
- LIB_LPK = $(MKL_LIBS) # N.B. includes FFT routines using FFTW3 interface.
- LIB_FFT = # Not needed (see src/zfftifc.F90). Default is FFTPACK5 using LIB_FFT = fftlib.a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement