[CP2K-user] [CP2K:20261] Possible Issue with Arch Files

Krack Matthias matthias.krack at psi.ch
Fri May 31 08:32:24 UTC 2024


Hi

Thanks for reporting the issue. It should be fixed now by PR #3442<https://github.com/cp2k/cp2k/pull/3442> in the CP2K development version.

Best

Matthias

From: cp2k at googlegroups.com <cp2k at googlegroups.com> on behalf of Rashid Riboul <sastargetx at gmail.com>
Date: Tuesday, 28 May 2024 at 00:26
To: cp2k <cp2k at googlegroups.com>
Subject: [CP2K:20247] Possible Issue with Arch Files
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<mailto: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<https://groups.google.com/d/msgid/cp2k/4c2de455-efb6-4886-8f1d-e1c1b2eac4a0n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/ZRAP278MB08275EAF6C176FF4B8C9F7C6F4F12%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20240531/c3a76c95/attachment-0001.htm>


More information about the CP2K-user mailing list