Skip to content

Commit d7de0c7

Browse files
committed
Add install/setup script for ARE on gadi (needs testing)
1 parent 88072a7 commit d7de0c7

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ This repository is intended as a resource for complex visualisation tasks using
66
What this space for published source code for our released visualisations which will be added here as soon as tested and ready for public release.
77

88
Included the python module 'accessvis' which can be installed from here with `python -m pip install --editable .`
9+
10+
See also the included `install.sh` to set up the jupyter kernels for running in ARE on gadi.
11+

install.sh

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
if [[ $HOSTNAME == *"gadi.nci.org.au"* ]]; then
3+
echo "Setting up for user on gadi..."
4+
cd /g/data/nf33/public/data/accessvis/
5+
module use /g/data/hh5/public/modules
6+
module load conda/analysis3
7+
8+
#Install kernels for GPU and CPU rendering
9+
10+
source vis_venv/bin/activate
11+
python3 -m ipykernel install --user --name vis-venv --display-name "Visualisation + conda/analysis3"
12+
deactivate
13+
14+
#For CPU visenv
15+
source vis_venv_nogpu/bin/activate
16+
python3 -m ipykernel install --user --name vis-venv-nogpu --display-name "Visualisation no GPU + conda/analysis3"
17+
deactivate
18+
19+
else
20+
echo "Installing locally..."
21+
python -m pip install --editable .
22+
fi
23+
24+

0 commit comments

Comments
 (0)