package:installation:macos_parmsfile
This is an old revision of the document!
The following is the parms.osx_gfortran_accellerate mentioned in installation under MacOS
ARCH="osx_gfortran_accellerate" TPARALLEL="T" SPECIAL="none" BLASDIR="" LAPACKDIR="" FFTDIR="/usr/local/lib/" MPIDIR="/usr/local/Cellar/open-mpi/4.1.2/" FFT_HEADER="/usr/local/Cellar/fftw/3.3.10/include/fftw3.f03" COMPILER_SCALAR="gfortran " COMPILER_PARALLEL="${MPIDIR}/bin/mpifort " FCFLAGS_NONE="-c " FCFLAGS_OPT="-c -O3 -funroll-loops -fomit-frame-pointer -march=native -fexternal-blas " FCFLAGS_PROF="-c -pg -O3 -funroll-loops -msse2" FCFLAGS_DBG="-c -g -O3 -funroll-loops -fomit-frame-pointer -march=native -std=f2008 -pedantic -fbacktrace -fdump-core -fimplicit-none -fcheck=bounds,do,mem,pointer,recursion -ffpe-trap=invalid,zero,overflow -ffpe-summary=invalid,zero,overflow -fexternal-blas -Wall -Wextra -Wline-truncation -Wuninitialized -Wno-maybe-uninitialized" LDFLAGS_SCALAR="-I${OBJDIR} -L${OBJDIR} -framework Accelerate " LDFLAGS_PARALLEL="-I${OBJDIR} -L${OBJDIR} -framework Accelerate " LIBS_SCALAR="-L/usr/local/lib -lfftw3" LIBS_PARALLEL="-L/usr/local/lib -lfftw3" CPPFLAGS="-DCPPVAR_FFT_FFTW3" FEXT="f90"
The parameter -msse2 of the compiler specifies the architecture of the intel chips used by apple before they introduced their own chips. Thus it will not work on the new M1 chips of Appple. If this is a problem, remove it or find the correct replacement.
package/installation/macos_parmsfile.1649495037.txt.gz · Last modified: 2022/04/09 09:03 by pbloechl