package:installation:macos
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
package:installation:macos [2022/04/09 08:55] – created pbloechl | package:installation:macos [2024/04/26 17:37] (current) – pbloechl | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Installation of CPPAW on MacOS | + | ====== |
+ | |||
+ | Up to [[: | ||
FIXME Someone should verify that this description is complete and correct. Then this fixme can be removed. | FIXME Someone should verify that this description is complete and correct. Then this fixme can be removed. | ||
- | == Xcode == | + | ==== Xcode ==== |
- | MacOS has the compiler " | + | - MacOS has the compiler " |
- | of Xcode. (Check | + | - Check if the "Xcode Command Line Tools" |
- | == Homebrew == | + | ==== Homebrew |
- | I am installing Linux programs using [[https:// | + | |
- | < | + | - Homebrew is a package manager for software on MacOS. If it is not already installed, follow the instructions on the [[https:// |
- | brew install fftw --with-fortran | + | - Install required libraries |
- | brew install | + | brew install gcc |
+ | brew install open-mpi | ||
+ | brew install fftw --with-fortran | ||
+ | brew install | ||
brew install grace | brew install grace | ||
- | </ | + | brew install --cask xquartz |
+ | </ | ||
+ | * gcc: GNU Compiler Collection containing '' | ||
+ | * open-mpi: Message Passing Interface (MPI) library for parallel computation | ||
+ | * fftw: library performing fast discrete Fourier transforms | ||
+ | * libxc: library for density functionals. The libxc library has to be built with the parameters "'' | ||
+ | * grace: plotting tool used for data analysis | ||
+ | * xquartz: support for X11 on MacOS | ||
+ | ==== CP-PAW ==== | ||
- | == PAW == | + | |
- | + | - Add the directory | |
- | | + | - Create a file [[: |
- | - add the directory PAWDIR/ | + | - Execute |
- | - Create a file [[: | + | |
- | - Check the values of the parameters FFTDIR, FFTHEADER, MPIDIR, and MPIDIR | + | |
- | - execute | + | |
| | ||
| | ||
- | | + | |
- Codesign: When you try to remotely execute unsigned code under macos, it will ask you for permission. This is painful when you run parallel code. Therefore it is advisable to sign the parallel executables. This is a fairly complicated procedure, which you need to look up. (FIXME This section could be expanded.) | - Codesign: When you try to remotely execute unsigned code under macos, it will ask you for permission. This is painful when you run parallel code. Therefore it is advisable to sign the parallel executables. This is a fairly complicated procedure, which you need to look up. (FIXME This section could be expanded.) | ||
- | - Increase the stack size and the core-dump size by including the following commands in your '' | + | - Increase the stack size and the core-dump size by including the following commands in your '' |
ulimit -s 65532 | ulimit -s 65532 | ||
- | ulimit -c unlimited </ | + | ulimit -c unlimited</ |
- | | + | - Restart your console or use '' |
- | + | - Check if the code is available by running '' | |
+ | |||
| | ||
| | ||
package/installation/macos.1649494532.txt.gz · Last modified: 2022/04/09 08:55 by pbloechl