howto:compile_on_macos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:compile_on_macos [2024/01/24 13:30] – Update macOS version krack | howto:compile_on_macos [2025/01/28 14:22] (current) – Update macOS version krack | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Compile CP2K on macOS ====== | ====== Compile CP2K on macOS ====== | ||
- | This page describes how CP2K can be installed under [[https:// | + | This page describes how CP2K can be installed under [[https:// |
- | ). This howto has last been tested on an Apple M1 under macOS Sonoma 14.3 (Darwin Kernel Version | + | [[https:// |
==== 1. Install Homebrew ==== | ==== 1. Install Homebrew ==== | ||
Line 10: | Line 10: | ||
/bin/bash -c " | /bin/bash -c " | ||
</ | </ | ||
- | which will install the latest Homebrew version. This howto was tested with Homebrew 3.6.11 as well as with newer versions up to 4.0.19. | + | which will install the latest Homebrew version. This howto was tested with Homebrew 3.6.11 as well as with newer versions up to 4.4.19. |
=== a) The easy way === | === a) The easy way === | ||
Line 32: | Line 32: | ||
Create the following links | Create the following links | ||
< | < | ||
- | ln -s / | + | ln -s / |
- | ln -s / | + | ln -s / |
- | ln -s / | + | ln -s / |
</ | </ | ||
- | to make Homebrew' | + | to make Homebrew' |
+ | < | ||
+ | gcc -v | ||
+ | </ | ||
+ | if that is the case. | ||
==== 2. Obtain CP2K ==== | ==== 2. Obtain CP2K ==== | ||
- | Checkout the latest CP2K version available from the [[https:// | + | Checkout the latest CP2K (master) |
< | < | ||
git clone --recursive https:// | git clone --recursive https:// | ||
+ | </ | ||
+ | or the latest CP2K release version | ||
+ | < | ||
+ | git clone --recursive -b support/ | ||
</ | </ | ||
howto/compile_on_macos.1706103021.txt.gz · Last modified: 2024/01/24 13:30 by krack