User Tools

Site Tools


package:installation:macosparmsfile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
package:installation:macosparmsfile [2024/04/26 11:13] – created pbloechlpackage:installation:macosparmsfile [2024/04/26 11:20] (current) pbloechl
Line 1: Line 1:
 **Parmsfile for the configuration of the CPPAW package on MacOS ** **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 [[:package:Installation:macos|installation instructions for MacOS]]
 +
 +<code>
 +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"
 +</code>
  
package/installation/macosparmsfile.1714130039.txt.gz · Last modified: 2024/04/26 11:13 by pbloechl

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki