package:installation:macos_parmsfile
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
package:installation:macos_parmsfile [2022/04/08 17:32] – pbloechl | package:installation:macos_parmsfile [2024/01/13 12:48] (current) – pbloechl | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | The following is the parms.osx_gfortran_accellerate mentioned in [[: | + | The following is the parms.osx_gfortran_accellerate mentioned in [[: |
+ | |||
+ | This file is written for the ARM architecture on M1. The options for Intel Macs are commented out using ''#'' | ||
+ | |||
+ | Paths for the libraries might need to be adapted depending on the installation on the system. The command '' | ||
+ | |||
+ | The parameter '' | ||
< | < | ||
Line 5: | Line 11: | ||
TPARALLEL=" | TPARALLEL=" | ||
SPECIAL=" | SPECIAL=" | ||
- | BLASDIR="" | + | |
- | LAPACKDIR="" | + | |
- | FFTDIR="/ | + | |
- | MPIDIR="/ | + | |
- | FFT_HEADER="/ | + | |
COMPILER_SCALAR=" | COMPILER_SCALAR=" | ||
COMPILER_PARALLEL=" | COMPILER_PARALLEL=" | ||
+ | |||
+ | BLASDIR="" | ||
+ | LAPACKDIR="" | ||
+ | |||
+ | FFTDIR="/ | ||
+ | # | ||
+ | FFT_HEADER=" | ||
+ | # | ||
+ | |||
+ | MPIDIR="/ | ||
+ | # | ||
FCFLAGS_NONE=" | FCFLAGS_NONE=" | ||
FCFLAGS_OPT=" | FCFLAGS_OPT=" | ||
- | FCFLAGS_PROF=" | ||
- | FCFLAGS_DBG=" | ||
+ | FCFLAGS_PROF=" | ||
+ | # | ||
+ | |||
+ | FCFLAGS_DBG=" | ||
LDFLAGS_SCALAR=" | LDFLAGS_SCALAR=" | ||
LDFLAGS_PARALLEL=" | LDFLAGS_PARALLEL=" | ||
- | LIBS_SCALAR=" | + | LIBS_SCALAR=" |
- | LIBS_PARALLEL=" | + | #LIBS_SCALAR=" |
+ | |||
+ | LIBS_PARALLEL=" | ||
+ | #LIBS_PARALLEL=" | ||
CPPFLAGS=" | CPPFLAGS=" | ||
FEXT=" | FEXT=" | ||
</ | </ | ||
+ | |||
+ | ==== Homebrew ==== | ||
+ | |||
+ | I use [[https:// | ||
+ | |||
+ | Currently the cp-paw code uses the packages (Caution: there may a few others): | ||
+ | * fftw | ||
+ | * openmpi | ||
+ | * libxc | ||
+ | The BLAS and LAPACK packages are included in the Accelerate framework of MacOS, which is selected with the compiler option '' | ||
+ | |||
+ | The packages can be kept to the most recent version using the commands '' | ||
+ | |||
+ | ==== Compiler flags ===== | ||
+ | |||
+ | Recommendations for [[http:// | ||
+ | |||
+ |
package/installation/macos_parmsfile.1649439158.txt.gz · Last modified: 2022/04/08 17:32 by pbloechl