hi guys <!subteam^S01U0G60FCH> I was trying to sif...
# modules
f
hi guys <!subteam^S01U0G60FCH> I was trying to sift through the messages / github issues to see if there was any conclusion to this https://nfcore.slack.com/archives/CJRH30T6V/p1712640864974819?thread_ts=1712216030.729779&cid=CJRH30T6V, i.e. having “singularity” hardcoded in the template for modules. I stumbled upon this with Seqera containers and found that some containers (https as well) don’t really work well with singularity in our HPC while they work with apptainer. however, when I set the workflow engine to it, then the module is hard coded on singularity. I know this is a known thing, but couldn’t find if there was actually a choice, or whether this is in the to-do-list or in the not-to-bother list 😅
s
AFAIK the general thing to do is to still use the
singularity
profile, and rely on apptainer having set up an alias for
singularity
(i.e. when you type
singularity exec
it actually runs apptainer in the background)
m
I have no idea of the state of this, but I guess it'll be "fixed" in modules when the feature to use different container builds from seqera containers comes in, but I don't know who's involved in that
f
you mean on the compute environment where you run nextflow on
that’s probably the quickest one, although overriding an executable in path with an alias on a shared system sometimes could lead to surprises 😅
but thanks 🙂 at least I know I didn’t miss an important conversation 😛
s
In my experience when you install apptainer it automatically sets up singularity as an executable too
image.png
f
yes if you “install”, but I could only do with a conda env and in that case it didn’t override the singularity one
shared HPC = install is devil 😛
s
The HPC at my previous position had apptainer installed and then basically all other software was available through apptainer containers (with lmod)
this 1
a
the feature to use different container builds from seqera containers comes in
Can you expand on this @Mahesh Binzer-Panchal , not sure exactly what you are referring to or how it will solve the issue at hand?
m
Whatever happens from this will mean the
container
directive will be replaced. https://nfcore.slack.com/archives/C043UU89KKQ/p1727257296772499
👍 1
p
Hoping to have
-profile apptainer
soon - https://nf-co.re/blog/2024/seqera-containers-part-2#usage-summary which will use the singularity images and not docker
s
Soon (TM)
p
shared a GIF
j
💥