This repository contains a MWE to build a apptainer container for the solver.
The r.avaflow source code or
r.avaflow
folder has been downloaded from: https://www.landslidemodels.org/r.avaflow/software/r.avaflow3G_20230411.zip and is licensed under GPLv3.
The tests have been taken from:
-
Install Apptainer using the
. For a compute cluster with apptainer already installed, load the Apptainer module instead.
-
Clone this repository
-
Change directory:
cd ravaflow-container
-
Build the apptainer container:
apptainer build ravalfow-full-x86_64.sif ravaflow-full.def
-
Run a test case with the following command in the terminal
apptainer exec ravaflow-full-x86_64.sif grass --tmp-location XY --exec sh <path_to_ravaflow_shell_script>
where, <path_to_ravaflow_shell_script> could be:
- test/Cascadia_G20230414/ca.avaflow.rockavalanche.sh
- test/Cascadia_G20230414/ca.avaflow.start.sh
- test/Acheron_G20230122/ac.avaflow.start.sh
This container is currently built and tested on Linux for the following architectures:
- x86_64
- aarch64