<div dir="ltr">yes, i have already tried both of them. but the problem were still  there<br><br>在 2020年4月9日星期四 UTC+8下午6:16:26,Matthias Krack写道:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Did you try to add the flag -std=c++11 or -std=gnu++11 also to the CFLAGS?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">M.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="mz7gOtFvAAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">c...@googlegroups.com</a> <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="mz7gOtFvAAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">c...@googlegroups.com</a>>
<b>On Behalf Of </b>egbertchang<br>
<b>Sent:</b> Donnerstag, 9. April 2020 10:55<br>
<b>To:</b> cp2k <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="mz7gOtFvAAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">c...@googlegroups.com</a>><br>
<b>Subject:</b> [CP2K:13094] installing cp2k-7.1 with gpu shows this file requires compiler and library support for the ISO C++ 2011 standard.</span></p>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">Recently , I tried to install cp2k-7.1 with gpu.</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">intel2017u4</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">cuda9.1</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">but the information showed :</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">gcc520/include/c++/5.2.0/bits/<wbr>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.</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">there is my file</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">make -j 32   ARCH=Linux-x86-64-intel VERSION=popt</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">Linux-x86-64-intel.popt</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LIBXSMM  = $HOME/soft/cp2k-7.1-need/<wbr>libxsmm</span></p>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LIBXC    = $HOME/soft/cp2k-7.1-need/<wbr>libxc/intel-hsw</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LIBINT   = $HOME/soft/cp2k-7.1-need/<wbr>libint/intel-skx</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LIBELPA  = $HOME/soft/cp2k-7.1-need/<wbr>elpa/intel-skx-omp</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">NVCC     = nvcc</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">CC       = cc</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">FC       = mpiifort</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LD       = mpiifort</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">CXX      = g++</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">AR       = ar -r</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">NVFLAGS  = --std=c++11  --cuda -keep --dryrun</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">DFLAGS   = -D__MKL -D__FFTW3 -D__LIBXSMM \</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">           -D__parallel -D__SCALAPACK \</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">           -D__ELPA=201911 \</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">           -D__LIBXC \</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">           -D__LIBINT  \</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">           -D__MAX_CONTR=4</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">DFLAGS  += -D__ACC -D__DBCSR_ACC -D__PW_CUDA -D__HAS_PATCHED_CUFFT_70</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">CFLAGS   = $(DFLAGS) -O2 </span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">FCFLAGS  = $(DFLAGS) -O2 -funroll-loops -fpp -free -qopenmp -auto</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">GPUVER = V100</span></p>
</div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">FCFLAGS += -fp-model precise</span></p>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">FCFLAGS += -g -traceback</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">FCFLAGS += -I${MKLROOT}/include -I${MKLROOT}/include/fftw</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">FCFLAGS += -I$(LIBXSMM)/include</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">FCFLAGS += -I$(LIBXC)/include</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">FCFLAGS += -I$(LIBINT)/include</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">FCFLAGS += -I$(LIBELPA)/include/elpa_<wbr>openmp-2019.11.001/modules -I$(LIBELPA)/include/elpa_<wbr>openmp-2019.11.001/elpa</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LDFLAGS  = $(FCFLAGS) -static-intel</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LDFLAGS_C = $(FCFLAGS) -static-intel -nofor_main</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LIBS     = -L$(LIBELPA)/lib -lelpa</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">MKL_LIB  = ${MKLROOT}/lib/intel64</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LIBS    += $(MKL_LIB)/libmkl_scalapack_<wbr>lp64.a -Wl,--start-group \</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">           $(MKL_LIB)/libmkl_intel_lp64.<wbr>a ${MKL_LIB}/libmkl_sequential.a \</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">           $(MKL_LIB)/libmkl_core.a \</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">           ${MKL_LIB}/libmkl_blacs_<wbr>intelmpi_lp64.a -Wl,--end-group \</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">           -lpthread -lm</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LIBS    += -L$(LIBXSMM)/lib -lxsmmf -lxsmm -ldl</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LIBS    += -L$(LIBXC)/lib -lxcf03 -lxc</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LIBS    += -L$(LIBINT)/lib -lint2 -lstdc++</span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">LIBS    += -lcudart -lcublas -lcufft -lnvrtc -lstdc++ -lcuda</span></p>
</div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"Calibri",sans-serif;color:black">does my popt file or the enivorment have some mistakes? </span></p>
</div>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#222222">Thanks in advance for your assistance!</span><span style="font-family:"Calibri",sans-serif;color:black"></span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
<p class="MsoNormal">-- <br>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to
<a href="javascript:" target="_blank" gdf-obfuscated-mailto="mz7gOtFvAAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.<wbr>com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/78a99a91-1baa-4377-a667-39cd327bb9e4%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/cp2k/78a99a91-1baa-4377-a667-39cd327bb9e4%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/cp2k/78a99a91-1baa-4377-a667-39cd327bb9e4%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">
https://groups.google.com/d/<wbr>msgid/cp2k/78a99a91-1baa-4377-<wbr>a667-39cd327bb9e4%<wbr>40googlegroups.com</a>.</p>
</div>
</div>

</blockquote></div>