Dear all - <div><br></div><div>I admit to being a bit of a moron and probably the answer is somewhere.</div><div><br><div>Reporting in that while I was trying to compile CP2K 9.1 on a Cray EX supercomputer I was having difficulties with the libxsmm component</div><div><br></div><div>Specifically, if I used the toolchain to install libxsmm</div><div><br></div><div>./install_cp2k_toolchain.sh --gpu-ver=V100 --enable-cuda --with-cmake=system --with-elpa=no<br></div><div><br></div><div>then it would fail because the assembler appears not to be called properly.</div><div><br></div><div>/tmp/cclKlCV9.s:126827: Error: no such instruction: `vcvtne2ps2bf16 %zmm12,%zmm7,%zmm3'<br>/tmp/cclKlCV9.s:126831: Error: no such instruction: `vcvtne2ps2bf16 %zmm13,%zmm6,%zmm14'<br>/tmp/cclKlCV9.s:126836: Error: no such instruction: `vcvtne2ps2bf16 %zmm2,%zmm0,%zmm15'<br>/tmp/cclKlCV9.s:126841: Error: no such instruction: `vcvtne2ps2bf16 %zmm5,%zmm8,%zmm1'<br>/tmp/cclKlCV9.s:126846: Error: no such instruction: `vcvtne2ps2bf16 %zmm10,%zmm9,%zmm4'<br>/tmp/cclKlCV9.s:126852: Error: no such instruction: `vcvtne2ps2bf16 %zmm7,%zmm11,%zmm12'<br>/tmp/cclKlCV9.s:126856: Error: no such instruction: `vcvtne2ps2bf16 %zmm6,%zmm3,%zmm13'<br>/tmp/cclKlCV9.s:126860: Error: no such instruction: `vcvtne2ps2bf16 %zmm0,%zmm14,%zmm2'<br></div><div><br></div><div>If I downloaded the version of cp2k from github, then libxsmm compiles and tests right.  However, even if I shove it into toolchain as its own libxsmm, then the CP2K compilation fails.</div><div><br></div><div>/geode2/home/u050/lawy/BigRed200/cp2k-9.1/exts/dbcsr/src/mm/dbcsr_mm_hostdrv.F:396:24:<br><br>  396 |       USE libxsmm, ONLY: LIBXSMM_GEMM_PRECISION => ${'LIBXSMM_GEMM_PRECISION_F'+bits1[n]}$, &<br>      |                        1<br>Error: Symbol 'libxsmm_gemm_precision_f64' referenced at (1) not found in module 'libxsmm'<br>/geode2/home/u050/lawy/BigRed200/cp2k-9.1/exts/dbcsr/src/mm/dbcsr_mm_hostdrv.F:396:24:<br><br>  396 |       USE libxsmm, ONLY: LIBXSMM_GEMM_PRECISION => ${'LIBXSMM_GEMM_PRECISION_F'+bits1[n]}$, &<br>      |                        1<br>Error: Symbol 'libxsmm_gemm_precision_f32' referenced at (1) not found in module 'libxsmm'<br>/geode2/home/u050/lawy/BigRed200/cp2k-9.1/exts/dbcsr/src/mm/dbcsr_mm_hostdrv.F:420:55:<br><br>  420 |          CALL libxsmm_gemm_batch(LIBXSMM_GEMM_PRECISION, LIBXSMM_GEMM_PRECISION, 'N', 'N', &<br>      |                                                       1<br>Error: Symbol 'libxsmm_gemm_precision' at (1) has no IMPLICIT type<br>/geode2/home/u050/lawy/BigRed200/cp2k-9.1/exts/dbcsr/src/mm/dbcsr_mm_hostdrv.F:420:55:<br><br>  420 |          CALL libxsmm_gemm_batch(LIBXSMM_GEMM_PRECISION, LIBXSMM_GEMM_PRECISION, 'N', 'N', &<br>      |                                                       1<br>Error: Symbol 'libxsmm_gemm_precision' at (1) has no IMPLICIT type</div></div><div><br></div><div>For reference:</div><div><br></div><div>The arch file is attached.</div><div><br></div><div>Currently Loaded Modules:<br>  1) craype-x86-rome          6) craype/2.7.14          11) cray-fftw/3.3.8.12<br>  2) libfabric/1.11.0.3.71    7) cray-dsmml/0.2.2       12) cmake/3.21.3<br>  3) craype-network-ofi       8) cray-mpich/8.1.14      13) cudatoolkit/11.4<br>  4) perftools-base/21.12.0   9) cray-libsci/21.08.1.2<br>  5) gcc/11.2.0              10) PrgEnv-gnu/8.3.2<br></div><div><br></div><div>If someone can point me in the right direction I'd be very grateful.</div><div><br></div><div>Thanks!</div><div>Yu Kay</div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/b42726e0-d7a0-4bca-bcef-d035bf6e068cn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/b42726e0-d7a0-4bca-bcef-d035bf6e068cn%40googlegroups.com</a>.<br />