[CP2K-user] installing cp2k-7.1 with gpu shows this file requires compiler and library support for the ISO C++ 2011 standard.
egbertchang
egbertc... at gmail.com
Thu Apr 9 08:55:19 UTC 2020
Recently , I tried to install cp2k-7.1 with gpu.
intel2017u4
cuda9.1
but the information showed :
gcc520/include/c++/5.2.0/bits/c++0x_warning.h:32:2: error: #error This file
requires compiler and library support for the ISO C++ 2011 standard. This
support is currently experimental, and must be enabled with the -std=c++11
or -std=gnu++11 compiler options.
there is my file
make -j 32 ARCH=Linux-x86-64-intel VERSION=popt
Linux-x86-64-intel.popt
LIBXSMM = $HOME/soft/cp2k-7.1-need/libxsmm
LIBXC = $HOME/soft/cp2k-7.1-need/libxc/intel-hsw
LIBINT = $HOME/soft/cp2k-7.1-need/libint/intel-skx
LIBELPA = $HOME/soft/cp2k-7.1-need/elpa/intel-skx-omp
NVCC = nvcc
CC = cc
FC = mpiifort
LD = mpiifort
CXX = g++
AR = ar -r
NVFLAGS = --std=c++11 --cuda -keep --dryrun
DFLAGS = -D__MKL -D__FFTW3 -D__LIBXSMM \
-D__parallel -D__SCALAPACK \
-D__ELPA=201911 \
-D__LIBXC \
-D__LIBINT \
-D__MAX_CONTR=4
DFLAGS += -D__ACC -D__DBCSR_ACC -D__PW_CUDA -D__HAS_PATCHED_CUFFT_70
CFLAGS = $(DFLAGS) -O2
FCFLAGS = $(DFLAGS) -O2 -funroll-loops -fpp -free -qopenmp -auto
GPUVER = V100
FCFLAGS += -fp-model precise
FCFLAGS += -g -traceback
FCFLAGS += -I${MKLROOT}/include -I${MKLROOT}/include/fftw
FCFLAGS += -I$(LIBXSMM)/include
FCFLAGS += -I$(LIBXC)/include
FCFLAGS += -I$(LIBINT)/include
FCFLAGS += -I$(LIBELPA)/include/elpa_openmp-2019.11.001/modules
-I$(LIBELPA)/include/elpa_openmp-2019.11.001/elpa
LDFLAGS = $(FCFLAGS) -static-intel
LDFLAGS_C = $(FCFLAGS) -static-intel -nofor_main
LIBS = -L$(LIBELPA)/lib -lelpa
MKL_LIB = ${MKLROOT}/lib/intel64
LIBS += $(MKL_LIB)/libmkl_scalapack_lp64.a -Wl,--start-group \
$(MKL_LIB)/libmkl_intel_lp64.a ${MKL_LIB}/libmkl_sequential.a \
$(MKL_LIB)/libmkl_core.a \
${MKL_LIB}/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group \
-lpthread -lm
LIBS += -L$(LIBXSMM)/lib -lxsmmf -lxsmm -ldl
LIBS += -L$(LIBXC)/lib -lxcf03 -lxc
LIBS += -L$(LIBINT)/lib -lint2 -lstdc++
LIBS += -lcudart -lcublas -lcufft -lnvrtc -lstdc++ -lcuda
does my popt file or the enivorment have some mistakes?
Thanks in advance for your assistance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20200409/6138c812/attachment.htm>
More information about the CP2K-user
mailing list