hpc.rst
HPC
------
These instructions have been tested with the Raijin platform of the
National Computational Infrastructure (NCI).
The process for other HPC platforms may differ.
Login to Raijin:
::
ssh <user_name>@raijin.nci.org.au
git clone https://github.com/GeoscienceAustralia/PyRate.git
Load the required Raijin modules (this will also remove the default NCI GDAL
Python bindings so we can build and use our own):
::
source PyRate/utils/load_modules.sh
Create a Python virtual environment:
::
python3 -m venv ~/PyRateVenv
source ~/PyRateVenv/bin/activate
Install PyRate:
::
cd PyRate
python setup.py install
Following this, PyRate will be available for PBS jobs. To verify the
installation, first run an interactive session:
::
qsub -I -q expressbw -l walltime=01:00:00,mem=16Gb,ncpus=4,wd
Once the session has started, you will need to reactivate your virtual
environment and reload the required modules:
::
cd ~
source PyRateVM/bin/activate
source PyRate/utils/load_modules.sh