<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Thank you, but to be clear I am using gnu compilers, as called by the intel distribution, using the intel tool chain with GNU=1. I am properly sourcing the intel variable scripts and the correct compilers are being used. Still I get the reported error. Thanks,<div><br></div><div>Ron <br><br><div id="AppleMailSignature" dir="ltr">Sent from my iPhone</div><div dir="ltr"><br>On Apr 8, 2019, at 17:14, Mohammad Shakiba <<a href="mailto:mshakiba....@gmail.com">mshakiba....@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Dear Ronald,</div><div><br></div><div>I had problems with compiling CP2K with intel compilers too. I want to share my experience about compiling CP2K with intel. Some of them works properly and some not. The recommended versions are included in the following links:</div><div><br></div><div><a href="https://www.cp2k.org/dev:compiler_support">https://www.cp2k.org/dev:compiler_support</a></div><div><br></div><div><a href="https://xconfigure.readthedocs.io/en/latest/cp2k/">https://xconfigure.readthedocs.io/en/latest/cp2k/</a><br></div><div><br></div><div>Use the links above which are good for compiling locally on clusters. First, you're gonna have to recompile libxsmm yourself in the $HOME directory (use the link in xconfigure and the rest). Then based on your CPU (type 'lscpu' to find out what kind of cpu you got, for example I have Xeon-E5-v4) you have to source to the intel compiler:</div><div><br></div><div>source /opt/intel/compilers_and_libraries_yourversion/linux/bin/compilervas.sh intel64</div><div><br></div><div>Always source to intel compiler like above before using CP2K. You can check that by typing for example 'mpirun --version'. Also, check if your CP2K version pass the regtests, for example it compiles with intel 17.0.1 but with wrong answers.</div><div><br></div><div>Hope you find it useful.<br></div><div><br></div><div><br></div>On Monday, April 8, 2019 at 6:27:05 PM UTC+4:30, Ronald Cohen wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">I am trying to use the intel gnu toolchain on my KNL cluster using GNU, and it always faiuls for every version of the intel suite I can find with the following:<div><br></div><div><br></div><div>make   ARCH=Linux-x86-64-intelx ELPAROOT=/home/rcohen/gnu/<wbr>gcc6.3/  AVX=3 OMP=1 GNU=1 MKL=2 MIC=1 VERSION=psmp<br></div><div><br></div><div><div>to1: fatal error: multiple prevailing defs for ?libxsmm_gemm_auto_prefetch_<wbr>default?</div><div>compilation terminated.</div><div>lto-wrapper: fatal error: gfortran returned 1 exit status</div><div>compilation terminated.</div><div>/usr/bin/ld: error: lto-wrapper failed</div><div>collect2: error: ld returned 1 exit status</div><div>/home/rcohen/CP2K/cp2k/obj/<wbr>Linux-x86-64-intelx/psmp/all.<wbr>dep:86: recipe for target '/home/rcohen/CP2K/cp2k/exe/<wbr>Linux-x86-64-intelx/graph.<wbr>psmp' failed</div><div>make[3]: *** [/home/rcohen/CP2K/cp2k/exe/<wbr>Linux-x86-64-intelx/graph.<wbr>psmp] Error 1</div><div>make[3]: *** Waiting for unfinished jobs....</div></div><div><br></div><div><br></div><div>I cannot find a fix for the "multiple prevaiing ..." or that anyone else has reported it. Any help is appreciated.</div><div><br></div><div>The gnu toolchain built find, but without elpa or mkl. I was trying to add in elpa and mkl.</div><div><br></div><div>Ron Cohen</div><div><br></div><div><br></div></div></blockquote></div>

<p></p>

-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/jn5hKlRz86E/unsubscribe">https://groups.google.com/d/topic/cp2k/jn5hKlRz86E/unsubscribe</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href="mailto:cp...@googlegroups.com">cp...@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k">https://groups.google.com/group/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br>
</div></blockquote></div></body></html>