[CP2K-user] [CP2K:14628] cp2k macOS Big Sur Installation Error

Tiziano Müller tiziano... at chem.uzh.ch
Sat Jan 23 13:21:11 UTC 2021

Hi Bensen,

the arch files for macOS has been recently renamed to Darwin-gfortran.*, 
so you need `make ARCH=Darwin-gfortran VERSION=ssmp -j`
... please also note that building without OpenMP (`sopt`) is deprecated 
and an alias for running CP2K with `OMP_NUM_THREADS=1`.


On 1/23/21 8:54 AM, Bensen Hsu wrote:
> Is there anyone who also uses macOS came across the below problem during 
> first time installation?
> (base) Bensens-MacBook-Pro:cp2k bensenhsu$ *make 
> ARCH=Darwin-IntelMacintosh-gfortran VERSION=sopt*
> Discovering programs ...
> Version sopt is now an alias for ssmp with OMP_NUM_THREADS=1.
> /Users/bensenhsu/cp2k/Makefile:51: 
> /Users/bensenhsu/cp2k/arch/Darwin-IntelMacintosh-gfortran.ssmp: No such 
> file or directory
> make[2]: *** No rule to make target 
> '/Users/bensenhsu/cp2k/arch/Darwin-IntelMacintosh-gfortran.ssmp'.  Stop.
> make[1]: *** [/Users/bensenhsu/cp2k/Makefile:130: sopt] Error 2
> make: *** [Makefile:121: all] Error 2
> I'm new in this field, so I would like to hear from you. Drown me with 
> your advice!
> -- 
> 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 cp... at googlegroups.com 
> <mailto:cp... at googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/cp2k/6e8b1eb9-f53b-4c4b-b8cc-91b7a602f65fn%40googlegroups.com 
> <https://groups.google.com/d/msgid/cp2k/6e8b1eb9-f53b-4c4b-b8cc-91b7a602f65fn%40googlegroups.com?utm_medium=email&utm_source=footer>.

Tiziano Müller
University of Zurich
Department of Chemistry
Winterthurerstrasse 190
CH-8057 Zürich

Tel: +41 44 63 54234
tiziano... at chem.uzh.ch

More information about the CP2K-user mailing list