OpenBLAS wget error

87 views
Skip to first unread message

Rashid Riboul

unread,
Oct 28, 2024, 1:13:20 AM10/28/24
to cp2k
Hi; I'm trying to install this new build of CP2K and it errors out whenever it tries to get my architecture info using OpenBLAS:

wget  --quiet https://www.cp2k.org/static/downloads/OpenBLAS-0.3.27.tar.gz
usage: sha256sum [-bctwz] [files ...]
OpenBLAS-0.3.27.tar.gz
ERROR: (/Users/caracallynx/MD/cp2k/tools/toolchain/scripts/get_openblas_arch.sh) Checksum of OpenBLAS-0.3.27.tar.gz could not be verified, abort.
ERROR: (./scripts/stage0/setup_buildtools.sh, line 60) Non-zero exit code detected.

All I did was download the file from the GitHub and run as is. Attempting to install this on my M1 Max MacBook Pro.

Thanks in advance.

Krack Matthias

unread,
Oct 28, 2024, 4:56:58 AM10/28/24
to cp...@googlegroups.com

Hi, did you install homebrew including the package coreutils (“brew install coreutils”)?

 

--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/f63cafe7-9a29-4ffa-b5e1-38b3b43316d0n%40googlegroups.com.

Rashid Riboul

unread,
Oct 29, 2024, 1:47:01 AM10/29/24
to cp2k
Yes; it installed/updated with the command from the arch file.

Krack Matthias

unread,
Oct 29, 2024, 3:44:46 AM10/29/24
to cp...@googlegroups.com

Is “/opt/homebrew/bin” in your PATH and does it precede “/sbin” and “/usr/bin” therein (check with “echo $PATH” and “which sha256sum” should return “/opt/homebrew/bin/sha256sum”).

 

Rashid Riboul

unread,
Oct 30, 2024, 1:26:20 AM10/30/24
to cp2k
Yes; "/opt/homebrew/bin" is the first one in PATH for me.

Krack Matthias

unread,
Oct 30, 2024, 2:23:36 AM10/30/24
to cp...@googlegroups.com

Rashid Riboul

unread,
Oct 30, 2024, 4:13:16 AM10/30/24
to cp2k
I re-downloaded the master version to check if the patch was utilized; it was, but I still get that error after trying to compile.

Krack Matthias

unread,
Oct 30, 2024, 4:22:49 AM10/30/24
to cp...@googlegroups.com

The patch is not yet in the master version.

 

Rashid Riboul

unread,
Oct 30, 2024, 1:13:27 PM10/30/24
to cp2k
Oh; I'm not aware of how to download the patch, then. I will attempt later tonight and let you know the results!

Rashid Riboul

unread,
Oct 31, 2024, 3:26:29 AM10/31/24
to cp2k
Yes; the patch fixed the issue! Thanks for the help!
Reply all
Reply to author
Forward
0 new messages