<div dir="ltr">Hi Alfio,<div><br></div><div>thanx for suggestions. I have cp2k 5.1 working with IC 2017 alright. No failed tests and 3 wrong results reported due to numerical accuracy (10^-10) which is alright as well. I only posted *sopt because it was fastest way to check on compiler. Already spent day and half on StackOverflow to get the solution, but all the posts there are in regard to change the code routines. In the meantime I will try to make it work with IC 2018 and in case I am successful I will post solution. <br><br>On Tuesday, 5 December 2017 09:59:54 UTC, Alfio Lazzaro  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi Drahomir,<div>well, I don't have a clear solution to your problem, therefore I can give you only some suggestions...</div><div>First of all, I've checked in the CP2K dashboard and there are not tests based on IC 2018. I see that you are using SOPT version. The corresponding test with IC 2017 on the dashboard is:</div><div><br></div><div><a href="http://cp2k-www.epcc.ed.ac.uk/phi/sopt/regtest-0" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fcp2k-www.epcc.ed.ac.uk%2Fphi%2Fsopt%2Fregtest-0\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzATiHwFUN9ONHAG46t7lR1nuDlA';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fcp2k-www.epcc.ed.ac.uk%2Fphi%2Fsopt%2Fregtest-0\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzATiHwFUN9ONHAG46t7lR1nuDlA';return true;">http://cp2k-www.epcc.ed.ac.uk/<wbr>phi/sopt/regtest-0</a></div><div><br></div><div>(on top of the log you can find the arch file that is used in the test).</div><div>I see the the arch file is pretty similar to yours (note that you don't need -D__INTEL and OBJECTS_ARCHITECTURE = machine_intel.o anymore).<br></div><div>A first suggestion would be to use -O0 -g (and remove all other options) and see if the code runs.</div><div>It would be also interesting to run under gdb and see where it is crashing.</div><div><br></div><div>Alfio</div><div><br></div><div><br></div><div><br>Il giorno lunedì 4 dicembre 2017 15:19:37 UTC+1, drahomirko ha scritto:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>To follow up, I am getting same errors with the CP2K 4.1 that was working correctly with IC 2017, so this issue I suspect is due to compiler. Any ideas how to fix this?<div><br></div><div>Thanx</div><div><br></div><div>Drahomir<br><br>On Monday, 4 December 2017 12:43:57 UTC, drahomirko  wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>Sirs,</div><div><br></div><div>I am trying to compile CP2K 5.1 with IC/MKL 2018u1. Compilation runs alright, however I am getting number errors and runtime fails during regtesting.  The errors are (perhaps) due to compiler as they read:</div><div><br></div><div>Error in `/calcs/cp2k-5.1/regtesting/<wbr>Linux-x86-64-intel/sopt/../../<wbr>..//exe/Linux-x86-64-intel/<wbr>cp2k.sopt': corrupted double-linked list: 0x000000000c9c43d0 ***<br></div><div><br></div><div>*** Error in `/calcs/cp2k-5.1/regtesting/<wbr>Linux-x86-64-intel/sopt/../../<wbr>..//exe/Linux-x86-64-intel/<wbr>cp2k.sopt': double free or corruption (fasttop): 0x000000000c7db370 ***<br></div><div><br></div><div>*** Error in `/calcs/cp2k-5.1/regtesting/<wbr>Linux-x86-64-intel/sopt/../../<wbr>..//exe/Linux-x86-64-intel/<wbr>cp2k.sopt': free(): corrupted unsorted chunks: <br></div><div><br></div><div>followed by memory backtrace and runtime fail afterwards. </div><div><br></div><div><br></div><div>I am only compiling basic functionality *sopt version at the time to get the compiler settings right.  The makefile I am attaching was working fine with CP2K 4.1 / IC 2017u4</div><div><br></div><div>Suggestions are very welcome!</div><div><br></div><div>Thank you.</div><div><br></div><div>Drahomir</div><div><br></div><div><br></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div>