System:
- Ubuntu 24.04.1 LTS
- Kernel 6.8.0-45
- NVIDIA A40
- Apptainer v1.3.4
- using v0.6 development branch (head at 5306819)
Issue:
When trying to run make apptainer-launch after building the apptainer image, the start-up crashes with the following error:
ERROR: container cleanup failed: no instance found with name elephant0
FATAL: container creation failed: mount hook function failure: mount /home/pantze28/.elephant_binds/var/lib->/var/lib error: while mounting /home/pantze28/.elephant_binds/var/lib: mount source /home/pantze28/.elephant_binds/var/lib doesn't exist
This happens because the ~/.elephant_binds directory does not exist. It should be created in the %runscript part of elephant.def, but it seems that this script is not being executed when performing make apptainer-launch (I added an echo for debugging in %runscript). I tried renaming the script to %startscript because make apptainer-launch calls apptainer instance start under the hood, but that also did get called.
Could this be related to #22 ?
System:
Issue:
When trying to run
make apptainer-launchafter building the apptainer image, the start-up crashes with the following error:This happens because the
~/.elephant_bindsdirectory does not exist. It should be created in the %runscript part ofelephant.def, but it seems that this script is not being executed when performingmake apptainer-launch(I added anechofor debugging in %runscript). I tried renaming the script to %startscript becausemake apptainer-launchcallsapptainer instance startunder the hood, but that also did get called.Could this be related to #22 ?