Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions modules/mp/apps/apptainer/1.1.9.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ source_sh('bash', '/hpc/mp/apps/apptainer/1.1.9/share/bash-completion/completion
source_sh('bash', '/hpc/mp/apps/apptainer/1.1.9/share/bash-completion/completions/apptainer')
setenv("APPTAINER_BIND","/hpc,/work,/projects,/scratch")

LmodMessage("\n\nApptainer 1.1.9 is deprecated. It will be removed from the system July 15, 2026. \nPlease use apptainer/1.5.2 instead. If you experience issues with the new version, please report them. \n")

help([[Name: Apptainer
Version: 1.1.9
Website: https://apptainer.org/
Expand Down
22 changes: 22 additions & 0 deletions modules/mp/apps/apptainer/1.5.2.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
whatis("Apptainer/Singularity v1.5.2")
family("apptainer")

always_load('gcc/13.2.0')
always_load('squashfuse/0.6.1-rdj4gkz')
always_load('gocryptfs/2.6.1-d7lgudf')

local scratch = os.getenv("SCRATCH")
local user = os.getenv("USER")

local base_path='/hpc/mp/apps/Apptainer/1.5.2/'
prepend_path("PATH",pathJoin(base_path, '/bin'))
source_sh('bash', pathJoin(base_path, '/share/bash-completion/completions/apptainer'))
source_sh('bash', pathJoin(base_path, '/share/bash-completion/completions/singularity'))
setenv("APPTAINER_BIND","/hpc,/work/projects,/projects,/scratch/users/"..user..","..scratch)

help([[Name: Apptainer
Version: 1.5.2
Website: https://apptainer.org/

Apptainer is an open source container platform designed to be simple, fast, and secure. Many container platforms are available, but Apptainer is designed for ease-of-use on shared systems and in high performance computing (HPC) environments.
]])