Skip to content

Elmer – understand complex physical processes in the natural world (training)

Notifications You must be signed in to change notification settings

PawseySC/Elmer-Training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 

Repository files navigation

Elmer – understand complex physical processes in the natural world (training)

About

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 Overview

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.

Access to Setonix

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:

Submitting your first job on Setonix

Submitting Elmer job on Setonix

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 run source loadmodules.sh command in your terminal
  • runelmer_cpu_mpi.sh - can be used to submit parallel MPI Elmer job on Setonix CPUs
  • runelmer_gpu_serial.sh - can be used to submit single-GPU Elmer job on Setonix GPU
  • runpost.sh - can be used to visualise results with Paraview; should be run on Setonix visualisation nodes (remote visualisation service - see below)

Step 1

To create the mesh:

$ gmsh -3 -clscale 0.5 elmer_flow.geo -o elmer_flow_cl05.msh

Step 2

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.

Step 3

Partition Elmer grid for parallel execution on 128 MPI tasks:

$ ElmerGrid 2 2 elmer_flow_cl05 -partdual -metiskway 128

Visualising your results

Documentation on how to use Paraview at Pawsey's remote visualisation service:

Navigate to vis.pawsey.org.au

About

Elmer – understand complex physical processes in the natural world (training)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published