Skip to content

Commit

Permalink
Adding setonix install guide
Browse files Browse the repository at this point in the history
  • Loading branch information
julesghub committed Apr 14, 2023
1 parent c15b504 commit 75c21aa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/install_guides/nci_gadi/sample.pbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#PBS -l wd
#PBS -l storage=gdata/m18

export MODULEPATH=/g/data/m18/modulefiles/:$MODULEPATH
export MODULEPATH=/g/data/m18/modulefiles/:$MODULEPATH
module load underworld/2.13

MODELNAME="foobar"
Expand Down
19 changes: 19 additions & 0 deletions docs/install_guides/setonix_baremetal.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash -l

# The following assumes read access to
# /software/projects/pawsey0407/setonix/

module load python/3.9.15 py-mpi4py/3.1.2-py3.9.15 py-numpy/1.20.3 py-h5py/3.4.0 py-cython/0.29.24

export OPT_DIR=/software/projects/pawsey0407/setonix/

## for modifying the venv
# source $OPT_DIR/py39/bin/activate

## For development only
# export PETSC_DIR=$OPT_DIR/petsc-3.18.1
# export PYTHONPATH=$PETSC_DIR/:$PYTHONPATH

# for using the venv
export PYTHONPATH=$OPT_DIR/py39/lib/python3.9/site-packages:$PYTHONPATH
export PYTHONPATH=$OPT_DIR/underworld/2.14.2/lib/python3.9/site-packages/:$PYTHONPATH

0 comments on commit 75c21aa

Please sign in to comment.