-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPrerequisites_Badlands.txt
45 lines (37 loc) · 1.64 KB
/
Prerequisites_Badlands.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Prerequisites:
* Have Anaconda, Git installed
* Add in Sotware sources add repository - "deb http://cz.archive.ubuntu.com/ubuntu xenial main universe"
* sudo apt-get install \
python python-numpy python-scipy \
python-setuptools python-matplotlib
Step 1:
* sudo apt-get update -y
* sudo apt-get install -y git python-pip python-dev libzmq3-dev pkg-config libfreetype6-dev libpng3 libopenmpi-dev openmpi-bin libhdf5-dev liblapack-dev llvm-3.6 libedit-dev gfortran
* sudo pip install -U setuptools
* sudo pip install -U pip # fixes AssertionError in Ubuntu pip
* sudo pip install enum34
* sudo pip install jupyter markupsafe zmq singledispatch backports_abc certifi jsonschema ipyparallel path.py matplotlib mpi4py==1.3.1 git+https://github.com/badlands-model/triangle pandas plotly
* sudo apt-get install -y libnetcdf-dev python-mpltoolkits.basemap
* sudo pip install Cython==0.20
* sudo pip install h5py
* sudo pip install scipy
* sudo pip install numpy
* sudo pip install ez_setup
* sudo pip install numba
#* sudo pip install gFlex (Had to install using github Link https://github.com/awickert/gFlex) (download and install via the folder setup.py)
* sudo pip install netcdf4
* sudo pip install colorlover
* sudo pip install cmocean
* sudo pip install scikit-fuzzy
* sudo pip install pyevtk
Step 2:
* git clone https://github.com/badlands-model/BayesLands.git
* cd BayesLands/pyBadlands/libUtils
* make
* sudo pip install -e BayesLands
Step 3:
* cd to home directory /home/
* nano .bashrc
* add path at the end
export LD_LIBRARY_PATH="/home/danial/BayesLands/pyBadlands/libUtils:$LD_LIBR$"
export PYTHON_PATH="/home/danial/BayesLands/pyBadlands/libUtils:$PYTHON_PATH"