<div>The error seems related to the gcc compiler, although you are trying to use intel. </div><div><br /></div><div>Without more detailed output it is hard to pinpoint it. </div><div><br /></div><div>best, Johann</div><div><br /></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Thursday, January 8, 2026 at 8:14:56 PM UTC+1 Vijay Mocherla 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;">Hi,<br><br>I am trying to build CP2K from source using intel compilers with GPU acceleration enabled. <br><br>Following is my build receipe:<br><div><br></div><div>cd cp2k/tools/toolchain/<br>./install_cp2k_toolchain.sh --gpu-ver=V100 --libint-lmax=6 --enable-cuda --with-intel --math-mode=mkl --with-ifx --with-cmake --with-dbcsr --with-libxc --with-libint --with-fftw --with-libxsmm --with-elpa=no --with-cusolvermp --with-deepmd --with-plumed --with-sirius --with-pugixml --with-gsl --with-libvdwxc --with-spglib --with-hdf5 --with-spfft --with-spla --with-cosma --with-libvori --with-libtorch --with-dftd4 --with-tblite=no --with-ace --with-trexio<br>source install/setup;<br>cd ../../;<br>mkdir build;<br>cd build;<br>cmake -S .. -B . -DCP2K_USE_ACE=ON -DCP2K_USE_DFTD4=ON -DCP2K_USE_FFTW3=ON -DCP2K_USE_HDF5=ON -DCP2K_USE_LIBINT2=ON -DCP2K_USE_LIBTORCH=ON -DCP2K_USE_LIBXC=ON -DCP2K_USE_SPGLIB=ON -DCP2K_USE_TREXIO=ON -DCP2K_USE_VORI=ON -DCP2K_USE_DLAF=OFF -DCP2K_USE_PEXSI=OFF -DCP2K_USE_SPLA=ON -DCP2K_USE_LIBXSMM=ON -DCP2K_USE_DEEPMD=ON -DCP2K_USE_SIRIUS=ON -DCP2K_USE_ACCEL=CUDA -DCP2K_WITH_GPU=V100<br>cmake --build . -j 16<br><br>While the cmake configuration step is succesful, I get the following error when I trying to compile it.<br> "/usr/bin/ld: skipping incompatible /usr/lib/i386-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.11"<br></div><div><br></div><div>/usr/bin/ld: skipping incompatible /usr/lib/i386-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1<br>/usr/bin/ld: skipping incompatible /usr/lib/i386-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1<br>/usr/bin/ld: skipping incompatible /usr/lib/i386-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1<br>/usr/bin/ld: /lib/x86_64-linux-gnu/Scrt1.o: in function `_start':<br></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 visit <a href="https://groups.google.com/d/msgid/cp2k/c8590741-a51c-407e-803d-e246af9e14f4n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/c8590741-a51c-407e-803d-e246af9e14f4n%40googlegroups.com</a>.<br />