From bbd524105e47e1330606e83b7a265f03e368e9f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20K=C3=B6cher?= Date: Thu, 29 Jul 2021 10:45:36 +0200 Subject: [PATCH] updates installation instructions for macos bigsur --- .../platforms/supported/macos_bigsur.platform | 44 ++++++++----------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/deal.II-toolchain/platforms/supported/macos_bigsur.platform b/deal.II-toolchain/platforms/supported/macos_bigsur.platform index b4c4116..95802d3 100644 --- a/deal.II-toolchain/platforms/supported/macos_bigsur.platform +++ b/deal.II-toolchain/platforms/supported/macos_bigsur.platform @@ -1,38 +1,32 @@ -# macOS Big Sur (11.4) +# macOS Big Sur (11.4, 11.5) # # macOS support is experimental and requires: -# - a recent version of xcode with command line tools -# - openmpi installed using homebrew and -# - cmake +# - xcode with command line tools +# - cmake, gfortran, openmpi # -# Detailed Installation Notes: -# - install Xcode from AppStore, open it and accept the license. +# Detailed Installation Notes +# - Install Xcode from AppStore, open it and accept the license. # - Open Terminal, and install Xcode command line tools via -# $ xcode-select --install +# xcode-select --install +# # and then run -# $ xcodebuild -license -# to accept the license. +# xcodebuild -license +# +# and accept the license # # Install Homebrew in a Terminal via -# $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # # Install the following via Homebrew -# $ brew install cmake -# $ brew install openmpi -# -# Put the following definitions into your bashrc to use gcc (instead of apple clang): -# export OMPI_CXX=g++-9 -# export OMPI_CC=gcc-9 -# export OMPI_FC=gfortran-9 -# -# (Optional) Install the following via Homebrew -# $ brew install wget -# $ brew install gnuplot +# brew install cmake +# brew install gcc@11 +# brew install openmpi # -# $ brew install bash -# and follow the shell activation notes. +# Export compiler environment +# export OMPI_CC=gcc-11; export OMPI_CXX=g++-11 +# export OMPI_FC=gfortran-11 +# export CC=mpicc; export CXX=mpicxx; export FC=mpifort; export FF=mpifort # -# $ brew install modules -# and follow the activation notes to use the modulefile configuration. +# Run candi again! # ## -- 2.39.5