<div>Dear
<span>Yangzhong Li</span>
,</div><div><br /></div><div>As far as I know you cannot skip this step because the toolchain needs this package to collect information. You can manually download the file (https://www.cp2k.org/static/downloads/OpenBLAS-0.3.10.tar.gz) and copy it to the cp2k/tools/toolchain/build/ folder. The toolchain script will detect that the file is already there and will not attempt to download it. You can do that with all packages that the toolchain tries to download.<br /></div><div><br /></div><div>Cheers,</div><div>Fabian<br /></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Friday, 5 May 2023 at 10:20:21 UTC+2 Yangzhong Li 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 compiler cp2k-8.1, in the toolchain step, I entered:<div><br></div><div><font color="#ff0000">./install_cp2k_toolchain.sh --mpi-mode=openmpi --math-mode=openblas --with-fftw=<fftw...path> --with-openblas=<openblas...path> --with-scalapack=<scalapack...path></font><br></div><div><br></div><div>and I got</div><div><font color="#0000ff">MPI is detected and it appears to be OpenMPI<br>nvcc not found, disabling CUDA by default<br>Compiling with 36 processes.<br>==================== Finding GCC from system paths ====================<br>path to gcc is <gcc..path>/gcc<br>path to g++ is
<gcc..path>/g++<br>path to gfortran is
<gcc..path>/gfortran<br>Found include directory /usr/include<br>Found lib directory
<gcc..path>/lib64<br>Step gcc took 0.00 seconds.<br>==================== Getting proc arch info using OpenBLAS tools ====================<br>ERROR: (<cp2k...path>/tools/toolchain/scripts/get_openblas_arch.sh) failed to download <a href="https://www.cp2k.org/static/downloads/OpenBLAS-0.3.10.tar.gz" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=https://www.cp2k.org/static/downloads/OpenBLAS-0.3.10.tar.gz&source=gmail&ust=1683377812033000&usg=AOvVaw0Egc5c4ZmZGfwyxRGma0ha">https://www.cp2k.org/static/downloads/OpenBLAS-0.3.10.tar.gz</a><br>ERROR: (
<cp2k...path>/tools/toolchain/scripts/get_openblas_arch.sh, line 645) Non-zero exit code detected.<br>ERROR: (./scripts/setup_buildtools.sh, line 38) Non-zero exit code detected.</font><br></div><div><br></div><div>My cluster has no internet access so download is impossible. I use the option <font color="#ff0000">--with-openblas=no</font> or <font color="#ff0000">--with-openblas=install</font> and the script will stop at the same place with the same output information.</div><div><br></div><div>How can I proceed?</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/0e198aaf-d161-401f-adab-40f60ee2d8b8n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/0e198aaf-d161-401f-adab-40f60ee2d8b8n%40googlegroups.com</a>.<br />