-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |