User Tools

Site Tools


package:installation:macosparmsfile

Parmsfile for the configuration of the CPPAW package on MacOS

Place a file with the content below in a file “parms.osx_gfortran_accelerate” in the top directory of the cp-paw distribution and use it according to the installation instructions for MacOS

ARCH="osx_gfortran_accellerate"
TPARALLEL="T"
SPECIAL="none"
COMPILER_SCALAR="gfortran "
COMPILER_PARALLEL="/opt/homebrew/bin/mpifort "
BLASDIR=""
LAPACKDIR=""
FFTDIR="/opt/homebrew/"
FFT_HEADER="/opt/homebrew/include/fftw3.f03"
MPIDIR="/opt/homebrew/"
LIBXCDIR="/opt/homebrew/"
#
FCFLAGS_NONE="-c -I${FFTDIR}/include -I${LIBXCDIR}/include "
#
FCFLAGS_OPT="-c -I${FFTDIR}/include -I${LIBXCDIR}/include -O3  -funroll-loops -fomit-frame-pointer -march=native -fexternal-blas "
#
FCFLAGS_PROF="-c -I${FFTDIR}/include -I${LIBXCDIR}/include -pg -O3 -funroll-loops"
#
FCFLAGS_DBG="-c -I${FFTDIR}/include -I${LIBXCDIR}/include -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${FFTDIR}/lib -lfftw3 -L${LIBXCDIR}/lib -lxcf03"
#
LIBS_PARALLEL="-L${FFTDIR}/lib -lfftw3 -L${LIBXCDIR}/lib -lxcf03"
#
CPPFLAGS="-DCPPVAR_FFT_FFTW3"
FEXT="f90"
package/installation/macosparmsfile.txt · Last modified: 2024/04/26 11:20 by pbloechl

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki