[CP2K-user] [CP2K:21000] Error compiling cp2k on Apple Mac M3

Krack Matthias matthias.krack at psi.ch
Thu Dec 26 22:38:45 UTC 2024


Hi Vidushi

The line

No receipt for 'com.apple.pkg.Xcode' found at '/'

in your log file indicates a problem with your Xcode installation. Check if everything is up-to-date with the commands

softwareupdate -l

and

brew update

which both should report that everything is OK like the command

brew doctor

Moreover, I suggest to install gawk with

brew install gawk

Further details are reported in the tools/toolchain/build/openmpi-5.0.6/config.log file.

HTH

Matthias

From: 'Vidushi Sharma' via cp2k <cp2k at googlegroups.com>
Date: Thursday, 26 December 2024 at 22:28
To: cp2k <cp2k at googlegroups.com>
Subject: [CP2K:20999] Error compiling cp2k on Apple Mac M3
Hello,

I followed the directions under https://www.cp2k.org/howto:compile_on_macos to compile cp2k (parallel .psmp version) on my Mac M3 Pro machine; the instructions are tested to work on Mac M1. However, I get the following attached error when I try to compile.

My C-compiler versions are as follows:

% gcc --version

gcc (Homebrew GCC 14.2.0_1) 14.2.0

% gfortran --version

GNU Fortran (Homebrew GCC 14.2.0_1) 14.2.0

% g++ --version

g++ (Homebrew GCC 14.2.0_1) 14.2.0
I would greatly appreciate any help!

Best regards,
Vidushi
--
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 visit https://groups.google.com/d/msgid/cp2k/36574b71-2818-45df-9e6f-1993ece6213fn%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/36574b71-2818-45df-9e6f-1993ece6213fn%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 visit https://groups.google.com/d/msgid/cp2k/ZRAP278MB08273B996CE2134277C8B0E2F40D2%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20241226/e7301c86/attachment-0001.htm>


More information about the CP2K-user mailing list