[CP2K-user] [CP2K:20247] Possible Issue with Arch Files
Rashid Riboul
sastargetx at gmail.com
Mon May 27 22:25:24 UTC 2024
Hi, I'm trying to install CP2K using the designated Arch file and I saw an
interesting message:
==================== Getting proc arch info using OpenBLAS tools
====================
wget --quiet https://www.cp2k.org/static/downloads/OpenBLAS-0.3.27.tar.gz
OpenBLAS-0.3.27.tar.gz: OK
Checksum of OpenBLAS-0.3.27.tar.gz Ok
cc1: error: unknown value 'apple-m1' for '-march'
cc1: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a
armv8.4-a armv8.5-a armv8.6-a armv8.7-a armv8.8-a armv8-r armv9-a armv9.1-a
armv9.2-a armv9.3-a native
cc1: note: did you mean '-mcpu=apple-m1'?
C Compiler (/opt/homebrew/bin/gcc) is something wrong.
cc1: error: unknown value 'apple-m1' for '-march'
cc1: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a
armv8.4-a armv8.5-a armv8.6-a armv8.7-a armv8.8-a armv8-r armv9-a armv9.1-a
armv9.2-a armv9.3-a native
cc1: note: did you mean '-mcpu=apple-m1'?
C Compiler (/opt/homebrew/bin/gcc) is something wrong.
cc1: error: unknown value 'apple-m1' for '-march'
cc1: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a
armv8.4-a armv8.5-a armv8.6-a armv8.7-a armv8.8-a armv8-r armv9-a armv9.1-a
armv9.2-a armv9.3-a native
cc1: note: did you mean '-mcpu=apple-m1'?
C Compiler (/opt/homebrew/bin/gcc) is something wrong.
make: *** [config.h] Error 1
Makefile.system:1546: Makefile.: No such file or directory
make: *** No rule to make target `Makefile.'. Stop.
ERROR:
(/Users/caracallynx/MD/cp2k/tools/toolchain/scripts/get_openblas_arch.sh,
line 52) Non-zero exit code detected.
ERROR: (./scripts/stage0/setup_buildtools.sh, line 67) Non-zero exit code
detected.
For the record, this is the latest version history of CP2K (downloaded from
repository two days ago) and I'm attempting to install it on an Apple
Silicon Macbook M1 Max running Sonoma 14.5.
--
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+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/4c2de455-efb6-4886-8f1d-e1c1b2eac4a0n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20240527/1db632ac/attachment.htm>
More information about the CP2K-user
mailing list