|
|
```make
|
|
|
# Precompiler options
|
|
|
CPP_OPTIONS= -DMPI -DHOST=\"IFC2016.1_ompi\" -DIFC \
|
|
|
-DCACHE_SIZE=4096 -DPGF90 -Davoidalloc \
|
|
|
-DMPI_BLOCK=65536 -DscaLAPACK -Duse_collective \
|
|
|
-DnoAugXCmeta -DPROMU_DGEMV -DRACCMU_DGEMV -Duse_bse_te\
|
|
|
-Duse_shmem -Dtbdyn -DVTST -DCNMS
|
|
|
|
|
|
CPP = fpp -f_com=no -free -w0 $*$(FUFFIX) $*$(SUFFIX) $(CPP_OPTIONS)
|
|
|
|
|
|
FC = mpif90
|
|
|
FCL = mpif90
|
|
|
|
|
|
FREE = -free -names lowercase
|
|
|
|
|
|
FFLAGS = -FR -assume byterecl
|
|
|
OFLAG = -O2 -xCORE-AVX2
|
|
|
OFLAG_IN = $(OFLAG)
|
|
|
DEBUG = -O0
|
|
|
|
|
|
MKL_PATH = $(MKLROOT)/lib/intel64
|
|
|
#BLAS =
|
|
|
LAPACK = $(MKL_PATH)/libmkl_lapack95_lp64.a
|
|
|
BLACS = -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_blacs_openmpi_lp64 -lpthread -lm -ldl
|
|
|
SCALAPACK = -lmkl_scalapack_lp64 $(BLACS)
|
|
|
|
|
|
OBJECTS = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o \
|
|
|
/software/user_tools/current/cades-cnms/local/lib64/libfftw3x_cdft_lp64.a
|
|
|
INCS = -I$(MKLROOT)/include/intel64/lp64 -I$(MKLROOT)/include -I$(MKLROOT)/include/fftw
|
|
|
|
|
|
LLIBS = $(SCALAPACK) $(LAPACK) $(BLAS)
|
|
|
|
|
|
OBJECTS_O1 += fft3dfurth.o fftw3d.o fftmpi.o fftmpiw.o
|
|
|
OBJECTS_O2 += fft3dlib.o
|
|
|
|
|
|
# For what used to be vasp.5.lib
|
|
|
CPP_LIB = $(CPP)
|
|
|
FC_LIB = $(FC)
|
|
|
CC_LIB = icc
|
|
|
CFLAGS_LIB = -O
|
|
|
FFLAGS_LIB = -O1
|
|
|
FREE_LIB = $(FREE)
|
|
|
|
|
|
OBJECTS_LIB= linpack_double.o getshmem.o
|
|
|
|
|
|
# Normally no need to change this
|
|
|
SRCDIR = ../../src
|
|
|
BINDIR = ../../bin
|
|
|
``` |
|
|
\ No newline at end of file |