[CP2K-user] [CP2K:20066] Re: Installation on M1 Mac

Krack Matthias matthias.krack at psi.ch
Sun Mar 24 09:56:06 UTC 2024


Note, that the CP2K toolchain build (from scratch) on macOS as described in the how-to relies on the gcc and not the clang compiler version. Make sure that “gcc --version” returns “gcc (Homebrew GCC 13.2.0) 13.2.0” and not something like “Apple clang version 15.0.0 (clang-1500.3.9.4).

From: cp2k at googlegroups.com <cp2k at googlegroups.com> on behalf of Rashid Riboul <sastargetx at gmail.com>
Date: Sunday, 24 March 2024 at 00:22
To: cp2k at googlegroups.com <cp2k at googlegroups.com>
Subject: Re: [CP2K:20065] Re: Installation on M1 Mac
I'm trying to build this for GROMACS (which I'm also having issues in compiling lol). Would installing via Homebrew still generate the library file needed for GROMACS?

On Sat, Mar 23, 2024, 4:00 PM ADAMU IDRIS <adamumatinja at gmail.com<mailto:adamumatinja at gmail.com>> wrote:
It is very difficult to compile cp2k in M1, I spend 2 years without achieving it.. However, you can simply install it with brew cp2k command..

You can also try and make the installation step by step

On Sun, 24 Mar 2024, 3:02 am Rashid Riboul, <sastargetx at gmail.com<mailto:sastargetx at gmail.com>> wrote:
Yes; I had them installed when I installed Homebrew.

On Sat, Mar 23, 2024, 11:48 AM Krack Matthias <matthias.krack at psi.ch<mailto:matthias.krack at psi.ch>> wrote:
The openmpi build fails obviously. Do you have the Xcode command line tools installed?

Von: cp2k at googlegroups.com<mailto:cp2k at googlegroups.com> <cp2k at googlegroups.com<mailto:cp2k at googlegroups.com>> Im Auftrag von Rashid Riboul
Gesendet: Samstag, 23. März 2024 19:26
An: cp2k at googlegroups.com<mailto:cp2k at googlegroups.com>
Betreff: Re: [CP2K:20061] Re: Installation on M1 Mac

Attached are the outputs of the sourced arch file and the error after the make command.

On Sat, Mar 23, 2024, 10:39 AM Krack Matthias <matthias.krack at psi.ch<mailto:matthias.krack at psi.ch>> wrote:
Hi

Without further information, it is difficult to provide any hints.

Did you try already to install cp2k via the “easy way” just by “brew install cp2k”?

Best

Matthias

Von: cp2k at googlegroups.com<mailto:cp2k at googlegroups.com> <cp2k at googlegroups.com<mailto:cp2k at googlegroups.com>> Im Auftrag von Rashid Riboul
Gesendet: Samstag, 23. März 2024 17:33
An: cp2k <cp2k at googlegroups.com<mailto:cp2k at googlegroups.com>>
Betreff: [CP2K:20060] Re: Installation on M1 Mac

I'm having issues attaching the messages for the sourcing and the error at the moment as well.
On Saturday, March 23, 2024 at 2:41:00 AM UTC-7 Rashid Riboul wrote:
Hi, I've been having issues installing CP2K on my Macbook, even after following the How-To guide, and I don't know what I'm doing incorrect. I sourced the arch file, and nothing appeared to be erroneous and I followed the instructions to make the file, but I got an error.

Can anyone help me figure out what I'm missing?


--
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/fda6798c-9a0b-4d2d-851c-16f6225d61e6n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/fda6798c-9a0b-4d2d-851c-16f6225d61e6n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cp2k/m45xAA7CGSM/unsubscribe.
To unsubscribe from this group and all its topics, 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/ZRAP278MB0827F59B748D4BE390A1FF85F4302%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM<https://groups.google.com/d/msgid/cp2k/ZRAP278MB0827F59B748D4BE390A1FF85F4302%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.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<mailto:cp2k+unsubscribe at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/CAPxtLq7RGUnMAwqKZDQm_wv6hFuLGoQzmVe2R-YOM0zcDa1DOg%40mail.gmail.com<https://groups.google.com/d/msgid/cp2k/CAPxtLq7RGUnMAwqKZDQm_wv6hFuLGoQzmVe2R-YOM0zcDa1DOg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cp2k/m45xAA7CGSM/unsubscribe.
To unsubscribe from this group and all its topics, 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/ZRAP278MB08271414577E72AF5303BA92F4302%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM<https://groups.google.com/d/msgid/cp2k/ZRAP278MB08271414577E72AF5303BA92F4302%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.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<mailto:cp2k+unsubscribe at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/CAPxtLq6914kBQ6yqWrhm40URb%3DOHeT6uSLWP0k75DsMeDHHAcA%40mail.gmail.com<https://groups.google.com/d/msgid/cp2k/CAPxtLq6914kBQ6yqWrhm40URb%3DOHeT6uSLWP0k75DsMeDHHAcA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cp2k/m45xAA7CGSM/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAOovC8y0SFV-gAKyTaTzNQ9jA8njZLH317FWrTQRk_S1ExjMKQ%40mail.gmail.com<https://groups.google.com/d/msgid/cp2k/CAOovC8y0SFV-gAKyTaTzNQ9jA8njZLH317FWrTQRk_S1ExjMKQ%40mail.gmail.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<mailto:cp2k+unsubscribe at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/CAPxtLq75cgAmYmhErK9Lcu1%3Dz88gQM4n1o0S9Gg7FatH-k3aAg%40mail.gmail.com<https://groups.google.com/d/msgid/cp2k/CAPxtLq75cgAmYmhErK9Lcu1%3Dz88gQM4n1o0S9Gg7FatH-k3aAg%40mail.gmail.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/ZRAP278MB0827E93F7EAC1A70A85A3456F4372%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20240324/85c3898f/attachment-0001.htm>


More information about the CP2K-user mailing list