<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:  https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor to make it work: <br><br>$ diff Linux-x86-64-intel-mic.psmp.backup Linux-x86-64-intel-mic.psmp<br>231d230<br><             $(MKLROOT)/lib/intel64/libmkl_core.a \<br>233,234c232,234<br><           -Wl,--end-group \<br><           $(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_lp64.a<br>---<br>>             $(MKLROOT)/lib/intel64/libmkl_core.a \<br>>             $(MKLROOT)/lib/intel64/libmkl_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>