<div>Hello everybody,</div><div>I'm trying to compile the code on a cluster computer, but I'm finding several problems during compilation. I tried both gnu compiler and Inter compiler.</div><div>For the Intel version, I wanted to install some packages in local and tell the code to use those versions. In many cases I was forced to do so, since the toolchain failed to install the package itsself.</div><div>Below are the examples of toolchain commands I used during the (succesfull) configurations:</div><div><br /></div><div>****INTEL****<br />>>>./install_cp2k_toolchain.sh \<br />--with-cosma=/home/TTD/giacomo/cosma-target \<br />--mpi-mode=intelmpi \<br />--math-mode=mkl \<br />--with-gcc=system \<br />--with-intel=system \<br />--with-cmake=/home/TTD/giacomo/cmake \<br />--with-ninja=no \<br />--with-intelmpi=/opt/intel/oneapi/mpi/2021.10.0 \<br />--with-libxc \<br />--with-libint \<br />--with-libgrpp \<br />--with-fftw \<br />--with-acml=no \<br />--with-mkl=/opt/intel/oneapi/mkl/2023.2.0 \<br />--with-libxsmm \<br />--with-elpa \<br />--with-dftd4 \<br />--with-scalapack=/opt/intel/oneapi/mkl/2023.2.0/lib/intel64 \<br />--with-openblas=no \<br />--with-spla=/home/TTD/giacomo/spla-target \<br />--with-sirius=no \<br />--with-pexsi=no</div><div>...</div><div>>>>make -j 4 ARCH=local VERSION="psmp ssmp popt sopt"</div><div><br /></div><div>****GNU****<br />>>>./install_cp2k_toolchain.sh \<br />--with-cosma=no \<br />--mpi-mode=openmpi \<br />--math-mode=openblas \<br />--with-gcc=install \<br />--with-intel=no \<br />--with-cmake=install \<br />--with-ninja=no \<br />--with-openmpi=install \<br />--with-libxc \<br />--with-libint \<br />--with-libgrpp \<br />--with-fftw \<br />--with-acml=no \<br />--with-mkl=no \<br />--with-libxsmm \<br />--with-dftd4 \<br />--with-scalapack \<br />--with-openblas \<br />--with-spla=no \<br />--with-sirius=no \<br />--with-pexsi=no</div><div><br /></div><div>>>>make -j 4 ARCH=local VERSION="psmp ssmp popt sopt"
</div><div><br /></div><div>INTEL: apparently the compilation went fine, but when I tried to submit a test calculation, it gave segmentation fault. I also tried the trick of setting OMP_STACKSIZE, but there was no effect.</div><div><br /></div><div>GNU: the compilation was killed due to several errors, the first of which was the following:</div><div><br /></div><div>make[3]: *** [/home/TTD/giacomo/cp2k-gnu/cp2k-2024.2/Makefile:495: /home/TTD/giacomo/cp2k-gnu/cp2k-2024.2/obj/git-ref] Error 1<br />make[2]: *** [/home/TTD/giacomo/cp2k-gnu/cp2k-2024.2/Makefile:146: all] Error 2<br />make[1]: *** [/home/TTD/giacomo/cp2k-gnu/cp2k-2024.2/Makefile:128: sdbg] Error 2<br />make[1]: *** Waiting for unfinished jobs....</div><div><br /></div><div>Can anyone help me out with one of the two versions? I really cannot figure out what could be the cause.</div><div><br /></div><div>Many thanks in advance</div><div><br /></div><div>Giacomo<br /></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/0c48a657-bc56-4956-9a7c-0da02fa8357fn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/0c48a657-bc56-4956-9a7c-0da02fa8357fn%40googlegroups.com</a>.<br />