<div dir="ltr">hey all,<div>I have a question regarding installing libxsmm. If downloaded from git (https://github.com/hfp/libxsmm/archive/1.1.1.tar.gz), the make.sh file includes an -cp2k flag that sets MNK options to:</div><div><br></div><div><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> MNK=" \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 23, \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 6, \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 14 16 29, \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 14 32 29, \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 5 32 13 24 26, \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 9 32 22, \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 64, \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 78, \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 16 29 55, \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 32 29 55, \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 12, \</p>
<p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"> 4 5 7 9 13 25 26 28 32 45"</p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"><br></p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);">along with </p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);">ALIGNED_LOADS=1 ALIGNED_STORES=1 PRECISION=2 SYM=1 SSE=3</p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"><br></p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);">but the cp2k source's toolchain installer sets it to </p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"><br></p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);">MNK="1 4 5 6 8 9 13 16 17 22 23 24 26 32"</p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"><br></p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);">along with</p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);">SSE=1 JIT=1 PREFETCH=1<br></p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);"><br></p><p style="font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(69, 69, 69);">Now why is this inconsistent? Which is the "correct" MNK options, or does the former comprise all cases from the latter? And the option SSE=3 doesn't even exist according to the Makefile.inc. Only SSE=1 or AVX=1|2|3 (which at least is sort of what the libxsmm.pdf in the libxsmm documentation folder says).</p></div></div>