Skip to content

Instantly share code, notes, and snippets.

View julesghub's full-sized avatar

Julian Giordani julesghub

View GitHub Profile
@julesghub
julesghub / install_uw2.16.sh
Last active June 26, 2024 05:07
Underworld 2 & 3 Setonix baremetal run scripts
#!/bin/bash -l
# Installation script installing Underworld (baremetal) on Setonix
# A python virtual environment is made under your $PAWSEY_PROJECT directory, ie,
# /software/projects/$PAWSEY_PROJECT/setonix/venv/py311
## installing latest uw2 on setonix
module load petsc/3.20.1-nocomplex py-pip/23.1.2-py3.11.6 py-h5py/3.8.0
# Now create a python virtual directory
@julesghub
julesghub / README_SINGULARITY.md
Last active April 9, 2025 10:12
Underworld running with Singularity - Gadi (runner.sh)

HPC commands to download and run the Underworld sigularity container.

REMEMBER to change the following strings:

  • /FOO/BAR/ to your desired path, i.e gdata or scratch.
  • IMAGE-NAME.sif to what you want the container file to be called.

These two strings MUST match up with the same strings in runner scripts.

For Gadi gadi.nci.org.au - Info on gadi.

@julesghub
julesghub / uw216_gadi_bare.md
Last active March 20, 2025 10:04
Underworld 2.16 Bare metal install - Gadi

Guide to setting up and installing a bare metal underworld install on [email protected]

1st - Setup python venv

FOO=/some/path/in/scratch

module load petsc/3.21.3 python3/3.12.1 openmpi/4.1.7 python3-as-python swig/4.0.2 hdf5/1.12.2p
export CC='mpicc' CXX='mpicxx' F90='mpifort' F77='mpifort' LD='mpicc' LDSHARED='mpicc -shared'
python -mvenv --system-site-packages $FOO/venv/uw_env