This error indicates that the BLAS library is not correctly linked. You could check if one is installed. <br /><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Sunday, July 21, 2024 at 1:40:34 PM UTC+2 jiyuan wei wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I am trying to install cp2k with spack :<font color="#ff0000">spack install cp2k@2023.2 +cuda cuda_arch=80 %g...@11.4.0, </font>

<span style="color:rgb(255,0,0)">but I got the folowing message errors:</span><br><div>     <span style="background-color:yellow">897    /tmp/cp2k/spack-stage/spack-stage-libxsmm-1.17-x4l7mtrw2qgvfdzpkm35tqwiqk7cikj7/spack-src/./src/libxsmm_gemm.c:189:(.text.__real_dgemm_+0x5): undefined reference to `dg<br>            emm_'<br>     898    /home/cp2k/software/spack/opt/spack/linux-ubuntu22.04-broadwell/gcc-11.4.0/binutils-2.42-7zgg7364h4yoad6v2xra76whawb2nb4d/bin/ld: /home/cp2k/software/spack/opt/spack/li<br>            nux-ubuntu22.04-broadwell/gcc-11.4.0/libxsmm-1.17-x4l7mtrw2qgvfdzpkm35tqwiqk7cikj7/lib/libxsmm.a(libxsmm_gemm.o): in function `__real_sgemm_':<br>  >> 899    /tmp/cp2k/spack-stage/spack-stage-libxsmm-1.17-x4l7mtrw2qgvfdzpkm35tqwiqk7cikj7/spack-src/./src/libxsmm_gemm.c:207:(.text.__real_sgemm_+0x5): undefined reference to `sg<br>            emm_'<br>     900    /home/cp2k/software/spack/opt/spack/linux-ubuntu22.04-broadwell/gcc-11.4.0/binutils-2.42-7zgg7364h4yoad6v2xra76whawb2nb4d/bin/ld: /home/cp2k/software/spack/opt/spack/li<br>            nux-ubuntu22.04-broadwell/gcc-11.4.0/libxsmm-1.17-x4l7mtrw2qgvfdzpkm35tqwiqk7cikj7/lib/libxsmm.a(libxsmm_gemm.o): in function `__real_dgemv_':<br>  >> 901    /tmp/cp2k/spack-stage/spack-stage-libxsmm-1.17-x4l7mtrw2qgvfdzpkm35tqwiqk7cikj7/spack-src/./src/libxsmm_gemm.c:223:(.text.__real_dgemv_+0x5): undefined reference to `dg<br>            emv_'<br>     902    /home/cp2k/software/spack/opt/spack/linux-ubuntu22.04-broadwell/gcc-11.4.0/binutils-2.42-7zgg7364h4yoad6v2xra76whawb2nb4d/bin/ld: /home/cp2k/software/spack/opt/spack/li<br>            nux-ubuntu22.04-broadwell/gcc-11.4.0/libxsmm-1.17-x4l7mtrw2qgvfdzpkm35tqwiqk7cikj7/lib/libxsmm.a(libxsmm_gemm.o): in function `__real_sgemv_':<br>  >> 903    /tmp/cp2k/spack-stage/spack-stage-libxsmm-1.17-x4l7mtrw2qgvfdzpkm35tqwiqk7cikj7/spack-src/./src/libxsmm_gemm.c:238:(.text.__real_sgemv_+0x5): undefined reference to `sg<br>            emv_'<br>     904    /tmp/cp2k/spack-stage/spack-stage-cp2k-2023.2-33brzreij54c3gdpzuau3joak6xblxae/spack-src/tools/build_utils/fypp -n /tmp/cp2k/spack-stage/spack-stage-cp2k-2023.2-33brzre<br>            ij54c3gdpzuau3joak6xblxae/spack-src/src/input/input_keyword_types.F input_keyword_types.F90<br>  >> 905    collect2: error: ld returned 1 exit status</span><br></div><div><br></div><div><div><font color="#ff0000">What does this message mean?</font></div><div><font color="#ff0000">And how can I overcome this issue, and install the program?</font></div></div></blockquote></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/619cc688-fae7-4f0c-9c5f-4f9c1095d597n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/619cc688-fae7-4f0c-9c5f-4f9c1095d597n%40googlegroups.com</a>.<br />