forked from SeisSol/Training
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b08de2
commit 3de2895
Showing
3 changed files
with
33 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# How to run as singularity container on frontera? | ||
|
||
Copy `singularity.def` to your home directory on frontera. | ||
Then execute: | ||
|
||
``` | ||
module load tacc-apptainer | ||
singularity pull -F docker://seissol/training:latest | ||
singularity build -f my-training.sif singularity.def | ||
singularity run my-training.sif | ||
``` | ||
|
||
You can abort the jupyter lab with Ctrl-C, confirm with `y`. | ||
Now you should see a directory `seissol-training`. | ||
This folder should contain four directories for different scenarios. | ||
To run the TPV13 scenario, you should: | ||
|
||
``` | ||
cd seissol-training/tpv13 | ||
mpirun singularity run ~/my-training.sif gmsh -3 tpv13_training.geo | ||
mpirun singularity run ~/my-training.sif pumgen -s msh2 tpv13_training.msh | ||
OMP_NUM_THREADS=56 mpirun singularity run ~/my-training.md seissol parameters.par | ||
``` | ||
|
||
You can directly visualize the results on Frontera: | ||
|
||
1. Open a VNC connection to Frontera | ||
2. `module load swr qt5 ospray paraview` | ||
3. `swr -p 1 paraview` | ||
4. In the paraview GUI, open `output/tpv13-fault.xdmf`. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
Bootstrap: docker | ||
From: seissol/training:latest | ||
|
||
%post | ||
sed -i 's/\/home\/training/~\/.seissol-training/g' /entrypoint.sh | ||
|
||
%runscript | ||
cp -r /home/training ~/.seissol-training | ||
/entrypoint.sh | ||
|
||
|
This file was deleted.
Oops, something went wrong.