Open edmundmiller opened 11 months ago
Hi @Emiller88 @drpatelh , as I was suggesting here : https://github.com/nextflow-io/nextflow/issues/4543
Adding the following should make it: singularity.runOptions = '--env PATH=/opt/conda/bin:\\\$PATH'
(if you move to Wave, you won't need this any more)
Feel free to let me know how it goes.
I think at this stage the OCI requirement may not be the most appropriate wording. There are more general ways to overcome the issue.
(if you move to Wave, you won't need this any more)
This is blocked by https://github.com/seqeralabs/wave/issues/323.
From @ewels:
- Takes quite a lot of time / CPU and additional disk space (all of the docker layers are cached, singularity tmp dirs fill up)
- Also you need Singularity installed, for nf-core download it's nice if you can just download a file with pure python
- As often people are downloading on their laptops (where installing Singularity is not needed + a hassle) to transfer to a HPC
Update: going to improve Nextflow functionalities with Singularity with this PR.
~/.singularity
, but can be customised with SINGULARITY_CACHEDIR
/APPTAINER_CACHEDIR
env variable; this will likely be enabled in NF by singularity.ociAuto = true
. This is probably the key improvement in this contextReferring to the HPC issue with cache filling up:
ociAuto
above will disable NF saving an image file in the pipeline work
directory, reducing duplication of image filesPlease keep an eye on https://github.com/nextflow-io/nextflow/pull/4548 ; happy to take it from there from the remaining issues after that is merged.
Update: going to improve Nextflow functionalities with Singularity with this PR.
~/.singularity
, but can be customised with SINGULARITY_CACHEDIR
/APPTAINER_CACHEDIR
env variable; this will likely be enabled in NF by singularity.ociAuto = true
. This is probably the key improvement in this contextKeep an eye on the PR, once merged I am happy to take it from there with you Edmund, on the remaining issues you are facing.
Branching off from https://github.com/nf-core/modules/issues/4080#issuecomment-1834199834
Documenting a chat with @drpatelh
The issue used to be that the conversion from docker container to
sif
would create temporary cache files in a users home directory, and that was a user pain point on HPC systems.I think there's two things that might fix that:
work
directory. Not sure if the conversion files are in there or not.Essentially the goal is to get rid of the scary container logic and just point to one container.