-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Singularity container execution of pangolin crashes with recent nextflow versions #272
Comments
ah "OSError: [Errno 30] Read-only file system: '/home/'" is a singularity error @hoelzer can you tune in you had this OS errors before |
maybe the answer with the --writable helps for singularity: https://stackoverflow.com/questions/65599721/unable-to-build-writable-singularity-container |
I'm wondering why this error occurs (only?) with the pangolin container. Apparently, it needs to have access to home? @Krannich479, did you also try setting |
based on the error pangolin wants to write something in its own container home directory. and singularitys home is not writable. as far as i understand (?) but this is something that the user controls with its own singularity system. it could be that however, we need to add as a flag to the config or so |
Uff... yes that is annoying and someone else here had this problem recently - for me it still worked bc my nf version is 22.x.x or so. I am not sure what is happening inside the pangolin container but yeah, the problem is that pangolin wants to write something in /home which is fine with a encapsulated Docker container but fails with Singularity. Because here the process actually tries to write in the HPC system path. |
Tried this, didn't work for me :/ |
adding so changing this. (could be the reason why the variable is not working if the config overwrites it) Line 146 in f86681e
autoMounts = false
|
Hey, as a followup here, I was running again into this error on our HPC w/ nf version 24. Then I tried version 23 and same error. But it works with v 22 o_O |
For me, it works if I set the environment variable I'm using Nextflow version 24.04.3 build 5916. You can do it like this:
or as a one liner:
or even throw it in your ~/.bashrc if you want it set all the time. |
Hi,
I noticed that poreCov crashes when running pangolin via singularity and a reasonably modern nextflow version. It seems that recent updates in the path mounting defaults of nextflow broke the default behavior of poreCov test profiles when using Singularity. More precise, when using the command
with
nextflow 23.10.1
andporeCov 1.9.4
I end up withAdditional Info:
The same command works fine and tests finish if I use
nextflow 21.04.0
. @MarieLataretu found these update notes that seem on point for this issue:https://github.com/nextflow-io/nextflow/blob/d8f8bf56cfe79dc05db7c149dafa0174717ae7f4/docs/container.md?plain=1#L580
https://github.com/nextflow-io/nextflow/blob/d8f8bf56cfe79dc05db7c149dafa0174717ae7f4/docs/container.md?plain=1#L584
The text was updated successfully, but these errors were encountered: