<div dir="ltr">hi can u post your working arch file for  Linux-x86-64-intel-host.popt and Linux-x86-64-intel-host.psmp. I am trying to compile 4.1 version and I could not able to set the directory paths and library paths properly. I will be of great reference for me to write my arch file. I am trying to install on a server. <br><br>On Thursday, January 19, 2017 at 3:51:03 PM UTC+1, Laurent Joly wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Dear all, <br><br>I've been trying to compile CP2K 4.1 (I also tried with the 3.0 version) using the intel compiler version 2017.1.132. <br><br>I used the Linux-x86-64-intel-host.popt and Linux-x86-64-intel-host.psmp arch files, and I had to modify the Linux-x86-64-intel-mic.psmp file following the instructions of the intel mkl link line advisor:  <a href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fsoftware.intel.com%2Fen-us%2Farticles%2Fintel-mkl-link-line-advisor\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEeDLMY59OF3CfCgrCjFRZCTQ7n4w';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fsoftware.intel.com%2Fen-us%2Farticles%2Fintel-mkl-link-line-advisor\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEeDLMY59OF3CfCgrCjFRZCTQ7n4w';return true;">https://software.intel.com/en-<wbr>us/articles/intel-mkl-link-<wbr>line-advisor</a> to make it work: <br><br>$ diff Linux-x86-64-intel-mic.psmp.<wbr>backup Linux-x86-64-intel-mic.psmp<br>231d230<br><             $(MKLROOT)/lib/intel64/libmkl_<wbr>core.a \<br>233,234c232,234<br><           -Wl,--end-group \<br><           $(MKLROOT)/lib/intel64/libmkl_<wbr>blacs_intelmpi_lp64.a<br>---<br>>             $(MKLROOT)/lib/intel64/libmkl_<wbr>core.a \<br>>             $(MKLROOT)/lib/intel64/libmkl_<wbr>blacs_intelmpi_lp64.a \<br>>           -Wl,--end-group<br><br>Then I had to run: ulimit -s unlimited in order to get rid of segmentation faults, and finally it worked... on 16 cores, but as soon as I tried to increase the number of cores I got this error message: <br><br>KS energy is an abnormal value (NaN/Inf).<br>qs_ks_methods.F:785<br><br>I enclose the complete output. Do you have some ideas on what could be the problem?<br><br>Best regards, <br>Laurent<br><br></div></blockquote></div>