Replies: 10 comments
-
Note that the warning message about the Apptainer cache directory is not dependent on setting @Poshi - what version of Apptainer are you using? |
Beta Was this translation helpful? Give feedback.
-
My apptainer version is: I don't think it is an apptainer message, and I don't agree that the setting and the warning are not related:
In any case, you are the experts on Nextflow, these are just my thoughts :-) Thanks for looking into this! |
Beta Was this translation helpful? Give feedback.
-
The warning comes from Nextflow: The best practice here is to set As for your original issue, I guess the |
Beta Was this translation helpful? Give feedback.
-
Ahh sorry then I misread / misunderstood - so actually the warning is deliberate to try to prevent users from repeatedly downloading the same images again and again? Makes sense 👍🏻 |
Beta Was this translation helpful? Give feedback.
-
Well, on one side, I'd like to be able to mimmick the nextflow default while avoiding the warning. On another side, I was thinking on setting it to |
Beta Was this translation helpful? Give feedback.
-
Then I would just set |
Beta Was this translation helpful? Give feedback.
-
:-O |
Beta Was this translation helpful? Give feedback.
-
Relative paths are resolved against the directory where you launched nextflow. Or you can set |
Beta Was this translation helpful? Give feedback.
-
That sounds like a workaround that won't work in all the cases. |
Beta Was this translation helpful? Give feedback.
-
After all, I assume there's no way to avoid the warning message while keeping the same behavior, right? And there's no intention of solving it as this is no longer an issue, but a discussion, right? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Expected behavior and actual behavior
When trying to define the cacheDir in the apptainer scope to be unser the working folder, the workDir does not exist, so it cannot be set up there.
By default, Nextflow puts the cache in $workDir/singularity, but it also issues a warning about that:
I'm trying to get rid of the warning while keeping the folder under the working dir by making that location explicit.
Steps to reproduce the problem
Use a configuration that includes the following snippet:
Program output
Environment
Beta Was this translation helpful? Give feedback.
All reactions