libxsmm MNK, SSE and other inconsistencies

Johannes Wagner johanne... at gmail.com
Fri Jan 15 15:33:11 UTC 2016


hey all,
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:

 MNK=" \

    23, \

    6, \

    14 16 29, \

    14 32 29, \

    5 32 13 24 26, \

    9 32 22, \

    64, \

    78, \

    16 29 55, \

    32 29 55, \

    12, \

    4 5 7 9 13 25 26 28 32 45"


along with 

ALIGNED_LOADS=1 ALIGNED_STORES=1 PRECISION=2 SYM=1 SSE=3


but the cp2k source's toolchain installer sets it to 


MNK="1 4 5 6 8 9 13 16 17 22 23 24 26 32"


along with

SSE=1 JIT=1 PREFETCH=1


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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20160115/f78da865/attachment.htm>


More information about the CP2K-user mailing list