MacOS
- Armadillo
First make sure that you have the latest version of Xcode and Command Line Tools installed. You could install Xcode from the AppStore application.
You could install lapack and openblas with the following command:
brew install openblasbrew install lapackUsually , Homebrew has the latest version of Armadillo available. So with
brew tap homebrew/sciencebrew install cmake pkg-configbrew install armadilloYou could install Armadillo with new enough version.
OpenMP
Install OpenMP with
brew install libompVTK
https://formulae.brew.sh/formula/vtk on MacOS, we are able to install the vtk directly with the command
brew install vtk- Cmake and compile
You could download the cmake package from the website
There is a CmakeLists.txt in the github repo. You could directly compile the application with the command
cmake .makeThe executable file will be generated to the Results folder.