This page documents the most important information, links and directory locations used in the hands-on demostration of Elmer code running on Setonix CPU and GPU.
Elmer is an open-source multiphysical simulation software mainly developed by CSC – IT Center for Science (CSC). Elmer’s development started as a national collaboration with Finnish Universities, research institutes, and industry. After it’s open source publication, the use and development of Elmer have become largely international. Elmer is a scientific software tool that helps researchers simulate and understand complex physical processes in the natural world. Think of it as a sophisticated digital laboratory where scientists can model everything from glacier movements and groundwater flow to heat transfer in the Earth’s systems. What makes Elmer particularly valuable is its ability to combine different types of physics—like how water flows, how materials deform, and how heat moves—all in one simulation. This is especially useful for climate scientists who need to understand how multiple environmental factors interact with each other. Plus, being open-source means it’s freely available to researchers worldwide, and it can run on supercomputers like Pawsey’s Setonix to tackle big scientific challenges.
All participants of the course will obtain training account and password. We recommend to use training accounts during the session, this will allow us to utilise resources dedicated and reserved for the course. To login to Setonix, open your favourite Terminal and type:
Training materials are available on Setonix: /scratch/courses01/elmer_parallel_demo.tar.gz
Create your own copy of materials by:
cd $MYSCRATCH
cp /scratch/courses01/elmer_parallel_demo.tar.gz .
tar zxf elmer_parallel_demo.tar.gz
cd elmer_parallel_demo/
Content of the directory:
$ ls
elmer_flow_gcr.sif elmer_flow.msh gcr.sif loadmodules.sh runelmer_gpu_serial.sh
elmer_flow.geo elmer_flow_rocm.sif linsys_rocm.sif runelmer_cpu_mpi.sh runpost.sh
loadmodules.sh
- used to setup environment on Setonix; to use it runsource loadmodules.sh
command in your terminalrunelmer_cpu_mpi.sh
- can be used to submit parallel MPI Elmer job on Setonix CPUsrunelmer_gpu_serial.sh
- can be used to submit single-GPU Elmer job on Setonix GPUrunpost.sh
- can be used to visualise results with Paraview; should be run on Setonix visualisation nodes (remote visualisation service - see below)
To create the mesh:
$ gmsh -3 -clscale 0.5 elmer_flow.geo -o elmer_flow_cl05.msh
Take gmsh mesh and transate it into Elmer mesh:
$ ElmerGrid 14 2 elmer_flow_cl05.msh -autoclean
Note that this step created Elmer grid for serial run.
Partition Elmer grid for parallel execution on 128 MPI tasks:
$ ElmerGrid 2 2 elmer_flow_cl05 -partdual -metiskway 128
Documentation on how to use Paraview at Pawsey's remote visualisation service:
- Setonix Remote Visualisation Documentation
- Getting Started with Setonix Remote Visualisation
- ParaView on Setonix Remote Visualisation
Navigate to vis.pawsey.org.au