Advertisement
Guest User

Untitled

a guest
Feb 11th, 2012
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. MKL_PATH = /opt/intel/mkl/lib/intel64
  2. MKL_CORE = $(MKL_PATH)/libmkl_core.a
  3. MKL_INTERFACE = $(MKL_PATH)/libmkl_intel_lp64.a
  4. MKL_THREADS = $(MKL_PATH)/libmkl_intel_thread.a -openmp
  5. SCALAPACK = $(MKL_PATH)/libmkl_scalapack_lp64.a
  6. BLACS = $(MKL_PATH)/libmkl_blacs_intelmpi_lp64.a
  7.  
  8. # FFTW is currently disabled in favour of MKL FFTs via the MKL FFTW3 interface.
  9. FFTW3 = # /opt/fftw/fftw-3.2.2/lib/libfftw3.a
  10.  
  11. MKL_LIBS = -static-intel \
  12. -Bstatic \
  13. $(FFTW3) \
  14. $(SCALAPACK) \
  15. -Wl,--start-group \
  16. $(MKL_CORE) \
  17. $(MKL_INTERFACE) \
  18. $(MKL_THREADS) \
  19. $(BLACS) \
  20. -Wl,--end-group \
  21. -Bdynamic \
  22. -lpthread
  23.  
  24. MAKE = make
  25. F90 = mpif90 -openmp
  26. F90_OPTS = -xHOST \
  27. -O3 -align -opt-mem-bandwidth2 -vec-guard-write -opt-prefetch \
  28. -fp-model fast -fp-model source -ftz -fp-speculation fast
  29. F77 = $(F90)
  30. F77_OPTS = $(F90_OPTS)
  31. AR = xiar
  32. LIB_SYS = # Not needed. Empty by default.
  33. LIB_LPK = $(MKL_LIBS) # N.B. includes FFT routines using FFTW3 interface.
  34. 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