Skip to content

Commit 232d724

Browse files
committed
Updated example pbs script
1 parent 9aa62b0 commit 232d724

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Load modules and define paths (amend as required) as follows for interactive run
99
module purge
1010
module load python3/3.7.4
1111
module load gdal/3.0.2
12-
module load openmpi/2.1.6-mt
12+
module load openmpi/4.1.4
1313
module load hdf5/1.10.5p
1414
1515
source /g/data/ge3/ml_preproc_venv/bin/activate
@@ -20,6 +20,7 @@ export LC_ALL=en_AU.UTF-8
2020
export LANG=en_AU.UTF-8
2121
export PYTHONPATH=/g/data/ge3/rakib/ML-preprocessing:$PYTHONPATH
2222
```
23+
2324
Amend the last line above to point to a local copy of ML-preprocessing.
2425
For `pbs` batch jobs, check example pbs scripts in the `preprocessing/pbs` folder in this repository.
2526

preprocessing/pbs/gadi_multiscale.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@
1111
module purge
1212
module load python3/3.7.4
1313
module load gdal/3.0.2
14-
module load openmpi/2.1.6-mt
14+
module load openmpi/4.1.4
1515
module load hdf5/1.10.5p
16+
17+
source /g/data/ge3/ml_preproc_venv/bin/activate
18+
1619
export GDAL_DATA=/apps/gdal/3.0.2/share/gdal/
1720
export PYTHONPATH=/apps/gdal/3.0.2/lib64:/apps/gdal/3.0.2/lib64/python3.7/site-packages
18-
export PATH=$HOME/.local/bin:$PATH
19-
export PYTHONPATH=/g/data/ge3/rakib/raijin/soft/geo-wavelets:$PYTHONPATH
2021
export LC_ALL=en_AU.UTF-8
2122
export LANG=en_AU.UTF-8
23+
export PYTHONPATH=/g/data/ge3/rakib/ML-preprocessing:$PYTHONPATH
2224

2325
mpirun -np 32 --map-by ppr:16:node python3 /g/data/ge3/rakib/raijin/soft/geo-wavelets/preprocessing/multiscale.py file_list.txt /g/data/ge3/covariates/national/temp-multiscale 5 --max-search-dist 500 --keep-level 2 --keep-level 3 --keep-level 4 --keep-level 5 --log-level DEBUG
2426

0 commit comments

Comments
 (0)