<div dir="ltr">Hi Daniel,<div><br></div><div>Thanks for spotting that - it&#39;s now fixed in <a href="https://gerrit.gromacs.org/#/c/6568/">https://gerrit.gromacs.org/#/c/6568/</a> .</div><div><br></div><div>Cheers,</div><div><br></div><div>Erik</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 1, 2017 at 7:36 AM, Daniel Tameling <span dir="ltr">&lt;<a href="mailto:tamelingdaniel@gmail.com" target="_blank">tamelingdaniel@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>I recently built GROMACS 2016.1 for the Skylake architecture.</div><div>How<font face="arial, helvetica, sans-serif">ever, the executable </font>crashed when I trid to run it.</div><div>The reason for this was that the code was compiled with -xMIC-AVX512, which generates AVX512 instructions for the Knights Landing architecture, which are partly incompatible with the AVX512 instruction set for Skylakes.</div><div><br></div><div>The reason for this compiler flag to be used is the following code in cmake/gmxManageSimd.cmake</div><div><br></div><div><pre style="font-family:consolas,menlo,&quot;liberation mono&quot;,courier,monospace;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;font-size:12px;color:rgb(51,51,51);background-color:rgb(250,250,250)">elseif(GMX_SIMD STREQUAL &quot;AVX_512&quot;)</pre><pre style="font-family:consolas,menlo,&quot;liberation mono&quot;,courier,monospace;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;font-size:12px;color:rgb(51,51,51);background-color:rgb(250,250,250)">   ...</pre><pre style="font-family:consolas,menlo,&quot;liberation mono&quot;,courier,monospace;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;font-size:12px;color:rgb(51,51,51);background-color:rgb(250,250,250)">   &quot;-xMIC-AVX512&quot; &quot;-mavx512f -mfma&quot; &quot;-mavx512f&quot; &quot;/arch:AVX&quot; &quot;-hgnu&quot;) # no AVX_512F flags known for MSVC yet</pre><pre style="font-family:consolas,menlo,&quot;liberation mono&quot;,courier,monospace;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;font-size:12px;color:rgb(51,51,51);background-color:rgb(250,250,250)"><br></pre><pre style="margin-top:0px;margin-bottom:0px;white-space:pre-wrap;font-size:12px;color:rgb(51,51,51);background-color:rgb(250,250,250)"><font face="arial, helvetica, sans-serif">I checked the GROMACS repository, and this code seems still to be present.</font></pre><pre style="margin-top:0px;margin-bottom:0px;white-space:pre-wrap;font-size:12px;color:rgb(51,51,51);background-color:rgb(250,250,250)"><font face="arial, helvetica, sans-serif">To generate correct code for Skylakes, the -xMIC-AVX512 should be replaced by -xCORE-AVX512.</font></pre><pre style="margin-top:0px;margin-bottom:0px;white-space:pre-wrap;font-size:12px;color:rgb(51,51,51);background-color:rgb(250,250,250)"><font face="arial, helvetica, sans-serif"><br></font></pre><pre style="margin-top:0px;margin-bottom:0px;white-space:pre-wrap;font-size:12px;color:rgb(51,51,51);background-color:rgb(250,250,250)"><font face="arial, helvetica, sans-serif">Best regards,</font></pre><pre style="margin-top:0px;margin-bottom:0px;white-space:pre-wrap;font-size:12px;color:rgb(51,51,51);background-color:rgb(250,250,250)"><font face="arial, helvetica, sans-serif">Daniel</font></pre></div></div>
<br>--<br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" rel="noreferrer" target="_blank">http://www.gromacs.org/<wbr>Support/Mailing_Lists/GMX-<wbr>developers_List</a> before posting!<br>
<br>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" rel="noreferrer" target="_blank">http://www.gromacs.org/<wbr>Support/Mailing_Lists</a><br>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" rel="noreferrer" target="_blank">https://maillist.sys.kth.se/<wbr>mailman/listinfo/gromacs.org_<wbr>gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@<wbr>gromacs.org</a>.<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">--<div>Erik Lindahl &lt;<a href="mailto:erik.lindahl@gmail.com" target="_blank">erik.lindahl@gmail.com</a>&gt;</div><div>Professor of Biophysics, Dept. Biochemistry &amp; Biophysics, Stockholm University</div><div>Science for Life Laboratory, Box 1031, 17121 Solna, Sweden</div></div></div></div></div>
</div>