Install and run¶
There are four ways to run MPM3S, and a viewer for its output. Each tile below links to the page for one of them, and every page starts with how to open a command/terminal window.
-
Julia (PC)
Install Julia and MPM3S and run from the Julia REPL. The simplest route, on a PC that you have admin rights to.
-
Docker and containers
An image with Julia and MPM3S already installed, run with Docker, Apptainer or Singularity. The easiest way to set up the simulations on an HPC.
-
HPC (Slurm)
Run MPM3S as Slurm batch jobs, on a GPU or on CPU cores, from the container or installed with Julia.
-
Cloud computing
Run MPM3S on a cloud service such as Google Colab.
-
Output
Install ParaView to view the
.vtuand.vtkfiles that MPM3S writes.
Requirements¶
MPM3S is a Julia package and runs anywhere Julia is supported.
Operating system: Linux, macOS, and Windows are all supported. Most development and testing has been done on Linux.
Julia version: 1.12 or newer. Earlier releases may work but are not actively tested.
Hardware: A typical desktop or laptop is sufficient for the tutorial problems. For larger 3D problems with refined meshes it is recommended to use an HPC with at least 10 cores, at least 60 GB of RAM and 10 GB of free disk for outputs. If you are using a GPU it is also recommended that the GPU has 60 GB of GPU memory (data-centre GPUs such as the NVIDIA A100 or H100 have 40-80 GB).
Software requirements:
- Julia - at least version 1.12.
- A text editor with JSON support for editing
input_data.jsonfiles - VS Code with the Julia extension is a sensible default. - ParaView or VisIt for visualising the VTU/VTK output. Support and tutorial detail are only provided for ParaView.
Optional:
- Git for cloning the source repository.
- A container runtime (Docker, or Apptainer/Singularity on HPC) to run Julia and MPM3S without installation - see Docker and containers.