Compilation for macOS
(note: instructions may be out of date)
Download this repository either az a zip file via GitHub or using
git clone https://github.com/ElmerCSC/elmerfem.gitGo to the downloaded directory
mkdir buildandcd buildInstall Homebrew
Install GCC
brew install gccInstall CMake
brew install cmakeWithout MPI: **
cmake .. -D WITH_OpenMP:BOOLEAN=TRUEWith MPI: ** Install OpenMPI
brew install open-mpi**cmake .. -D WITH_OpenMP:BOOLEAN=TRUE -D WITH_MPI:BOOLEAN=TRUEWith ElmerGUI: ** install qt4 with
brew install cartr/qt4/qt@4** install qwt withbrew install cartr/qt4/qwt-qt4**cmake .. -D WITH_OpenMP:BOOLEAN=TRUE -D WITH_MPI:BOOLEAN=TRUE -D WITH_ELMERGUI:BOOLEAN=TRUEWith ElmerPost: **
brew cask install xquartz** ....makemake install