forked from hekungeo/karamelo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Install.txt
32 lines (25 loc) · 1.12 KB
/
Install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Installing Karamelo on Linux/MacOS/Windows:
1. Install all the dependencies:
Linux
1.1 sudo apt install cmake make gcc libopenmpi-dev libeigen3-dev libz-dev
MacOS
1.1 brew install cmake make gcc open-mpi eigen zlib
Windows
1.1 Download and install both msmpisetup.exe and msmpisdk.msi from https://docs.microsoft.com/en-us/message-passing-interface/microsoft-mpi
1.2 Download Eigen3 from https://eigen.tuxfamily.org/ and move contents to C:/Program Files/Eigen
1.3 Download zlib from https://www.bruot.org/hp/media/files/libraries/zlib_1_2_11_msvc2017_64.zip and move contents to C:/Program Files/Zlib
2. Download and install Karamelo:
2.1 git clone https://github.com/adevaucorbeil/karamelo.git
2.2 cd karamelo
2.3 cmake -DCMAKE_BUILD_TYPE=release build .
2.4 make
3. Enjoy!
- Installing Karamelo on NCI:
module load cmake/3.18.2
module load eigen/3.3.7
module load openmpi/4.1.0
module load petsc/3.12.2
module load boost/1.72.0
unset BOOST_ROOT
cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_C_COMPILER=mpicc -DBoost_INCLUDE_DIR=$BOOST_BASE/include -DBoost_LIBRARY_DIR=$BOOST_BASE/lib/GNU build .
make -j04