package:installation
This is an old revision of the document!
Installation
MacOS
MacOS has the compiler gfortran and the libraries LAPACK and BLAS already as system libraries. Important is to install Xcode from the Appstore. (Sign the license after opening it from the application folder.) Then install the Command-Line tools of Xcode. (Check the web for installation instructiuons).
Homebrew
I am installing Linux programs using homebrew
brew install fftw --with-fortran brew install openmpi brew install grace
PAW
- Unpack the PAW distribution into a directory, which I will name PAWDIR in the following.
- Create a file ''parms.osx_gfortran_accelerate''
- Check the values of the parameters FFTDIR, FFTHEADER, MPIDIR, and MPIDIR in
parms.osx_gfortran_accelerate
. Most likely you will need to adjust the version numbers.
autoconf configure --with-parmfile=parms.osx_gfortran_accelerate make all
- Code sign
If 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.
package/installation.1649438801.txt.gz ยท Last modified: 2022/04/08 17:26 by pbloechl