-
Notifications
You must be signed in to change notification settings - Fork 0
/
Install
66 lines (56 loc) · 2.03 KB
/
Install
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
The tensor networks library requires the following packages
Non GUI
libprimme v3.0
https://github.com/primme/primme
Download zip
Extract into home folder
Edit Make_flags,
add DESTDIR := /usr/local
/home/jan/CDT1/TensorNetworks/TensorNetworks.cbp change -O -O2
make
sudo make install
spdlog
https://github.com/gabime/spdlog
Download zip
cmake ./
make
sudo make install
google test
https://github.com/google/googletest
cmake ./
make
sudo apt-get install libblas-dev liblapack-dev libarpack2-dev libomp-dev gfortran
sudo ldconfig
iTensor C++ v3.0
Get gz file at https://github.com/ITensor/ITensor/tarball/v3.1.3
Unpack it
mv options.mk.sample options.mk
edit options.mk
uncomment
PLATFORM=lapack
BLAS_LAPACK_LIBFLAGS=-lpthread -L/usr/lib -lblas -llapack
make
// NO install target!! Need to point IDE at lib folder and include folder.
Python:
pip3 install pytest pytest-xdist //xdist for running unit tests in parallel.
sudo apt install python3-pytest
GUI
sudo apt install libgtk-3-dev
sudo apt install libwxgtk3.0-gtk3-dev
sudo apt install python3-pip
sudo pip3 install wxpython
Test with python3 -c "import wx"
SIP
Get Robins version of sip
https://wxpython.org/Phoenix/tools/sip-4.19.16-linux64.bz2
this has some sort of binary blob inside which I don't know what do do with
So start again
Get sip 4.19.16 source tar ball: https://www.riverbankcomputing.com/static/Downloads/sip/4.19.16/sip-4.19.16.tar.gz
unpack
python3 configure.py
make
sudo make install
In order sip exted wx we need the sip files inside the wxpython source tree
download https://files.pythonhosted.org/packages/b9/8b/31267dd6d026a082faed35ec8d97522c0236f2e083bf15aff64d982215e1/wxPython-4.0.7.post2.tar.gz
extract in home
ln -s