Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC = gcc
- CXX = g++
- CPP =
- FC = mpifort
- LD = mpifort
- NVCC = nvcc
- #
- GPUVER = K20X
- ELPAVER = 2017.05.003
- #
- AR = ar -r
- #
- DFLAGS = -D__FFTW3 \
- -D__LIBINT -D__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__MAX_CONTR=4 \
- -D__LIBXC \
- -D__parallel -D__SCALAPACK \
- -D__LIBXSMM \
- -D__SPGLIB \
- -D__HAS_LIBGRID \
- -D__ACC -D__DBCSR_ACC -D__PW_CUDA \
- -D__ELPA=201705 \
- -D__F2008
- #
- INCS = -I/usr/include \
- -I/usr/include/elpa_openmp-$(ELPAVER)/elpa \
- -I/usr/include/elpa_openmp-$(ELPAVER)/modules \
- -I/opt/cuda/include
- #
- OPTFLAGS = -O3 -march=native -fopenmp
- #
- CFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS)
- CXXFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS) -std=c++11
- CPPFLAGS =
- FCFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS) -ffree-form -ffree-line-length-none
- NVFLAGS = $(DFLAGS) -O3 -arch=sm_35 -Xcompiler="-fopenmp"
- #
- LDFLAGS = $(FCFLAGS)
- #
- LIBS = -L/opt/cuda/lib64 -lcudart -lcublas -lcufft -lrt -lnvrtc \
- -lscalapack -lblas -llapack \
- -lfftw3 -lfftw3_threads \
- /usr/lib/libderiv.a \
- /usr/lib/libint.a \
- -lxcf03 -lxc \
- -lxsmmf -lxsmm \
- -lsymspg \
- /usr/lib/libgrid.a \
- -lelpa_openmp \
- -lstdc++ -lpthread -lm -ldl -lz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement