forked from chaitanyaBhave26/TIGER
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstallation_Guide.txt
More file actions
25 lines (19 loc) · 1.55 KB
/
Copy pathInstallation_Guide.txt
File metadata and controls
25 lines (19 loc) · 1.55 KB
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
Installation instructions:
1. cd ~/projects/
2. git clone https://github.com/chaitanyaBhave26/TIGER.git
Option A - Conda installation (Recommended):
If you don't already have Conda, install it: https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html
3. module load conda (Only needed on Hipergator)
4. conda create --name tiger_env "h5py=*=mpi_*" "netcdf4=1.6.*=mpi_*" matplotlib scipy numpy pytest cmcrameri mpi4py -c conda-forge
5. conda activate tiger_env (This step needs to be run whenever you want to use TIGER in a new terminal)
6. conda develop ~/projects/TIGER (Or your TIGER directory)
7. conda install -c menpo opencv
Option B - Pip installation :
3. module load python (Optional, needed on Hipergator )
4. pip install matplotlib numpy scipy h5py opencv-python pytest cmcrameri mpi4py
CC=mpicc HDF5_DIR=/path/to/parallel/hdf5 pip install --no-binary=netCDF4 netCDF4==1.6.4
5. cd ~/projects/TIGER/
6. export PYTHONPATH=$PYTHONPATH:~/projects/TIGER (Or whichever location you cloned TIGER to.)
Importing modules from TIGER requires you to run step #6 every time you open the window. Alternatively you can copy that command into your bash profile (~/.bash_profile) using your choice of text editor. After copying the command, either restart the terminal window or run
source ~/.bash_profile
Once added to your bash profile you can access the python module from any location on the computer. If you followed the conda installation