-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathINSTALL_INSTRUCTIONS
47 lines (36 loc) · 1.39 KB
/
INSTALL_INSTRUCTIONS
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
TMatrixOpt Installation Instructions
Ensure you are using Python 3.6+:
---------------------------------------------------
python --version
---------------------------------------------------
Clone repo:
---------------------------------------------------
git clone https://github.com/smhooten/TMatrixOpt.git
cd TMatrixOpt
---------------------------------------------------
Ensure you have a working installation of OpenMP,
installation instructions for CentOS 7:
---------------------------------------------------
sudo yum install epel-release
sudo yum groupinstall "Development Tools"
sudo yum install openmpi openmpi-devel python-pip python-devel tkinter
module load mpi/openmpi-x86_64
---------------------------------------------------
Install Python dependencies (includes mpi4py):
---------------------------------------------------
pip install -r requirements.txt --user
---------------------------------------------------
Download Eigen and Compile C++ source files:
---------------------------------------------------
cd ./src/
git clone https://gitlab.com/libeigen/eigen.git
make
---------------------------------------------------
NOTE (advanced): you can change the EIGEN_DIR variable
in the Makefile if you already have an eigen install
elsewhere
Run setup.py
---------------------------------------------------
cd ..
python setup.py install --user
---------------------------------------------------