Skip to content

Commit

Permalink
Update source_modules.sh
Browse files Browse the repository at this point in the history
update the docker image labels
  • Loading branch information
jwjeremy authored May 21, 2024
1 parent 94a79f7 commit b2d8d60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ pip install --user vtk pyvista
pip install --user --update gmsh
pip install --user scipy matplotlib pyproj

cp /work2/10000/jwjeremy/share/libgmsh.so.4.11.1 ~/.local/lib/libgmsh.so.4.11

echo "MNMN: load appatainer module"
module load tacc-apptainer


#
SHARED_PATH="/your/path/to/container/"
SIF_NAME="training_latest.sif"
Expand All @@ -34,7 +35,7 @@ if [ ! -f $SIF_NAME ]; then
if [ ! -f $SHARED_PATH/$SIF_NAME ]; then
# load the image if no image exists in the shared directory
echo "MNMN: pull the appatainer image"
apptainer pull -F docker://seissol/training:latest
apptainer pull -F docker://seissol/training:hps-2024-frontera
else
# create symlink to the shared directory
echo "MNMN: create symlink to the shared directory"
Expand Down

0 comments on commit b2d8d60

Please sign in to comment.