-
Notifications
You must be signed in to change notification settings - Fork 100
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
Impact of Compat default in OCI mode on User Experience #2305
Comments
Hi @marcodelapierre and thanks for opening this issue / discussion. With the native runtime (i.e. SingularityCE 3.x or SingularityCE 4.x without The new
As above, the difference in behaviour is intentional. It would, in our view, be strange to have an
I'm afraid I'm not convinced this is a good idea for the following reasons:
I'm afraid this option is at odds with the intent of I think there's a mismatch between how we view OCI-Mode, and how you are thinking about it in terms of Nextflow executing containers? From our point of view, if Singularity is configured for OCI-Mode then it would be preferable if workflow systems used it as if it were a Alternatively, if the workflow system finds Singularity >=4 and really wants the older behaviour, it could just add I think before proceeding with any code, it'd be good to discuss what Nextflow needs / expects out of Singularity versus how we see native vs OCI modes. |
Hi Dave, many thanks for taking the time to share your articulated and insightful message, I have deeply appreciated.
The mismatch is indeed the key and final point; while reading your reply I have realised I hadn't grasped the philosophy behind the OCI mode, probably mostly due to my historic HPC focus, but also as I hadn't followed the discussion path to Singularity 4 in full. Thanks to you I now have a much clearer and sensible picture. No worries, as regards interfacing with Nextflow, we will proceed by complying with the principles of OCI mode in Singularity 4, as we want to provide compatibility in the appropriate way. I will make sure to follow up the future developments of Singularity more closely 😉 |
Glad the notes above were useful. Let us know if you find anything that doesn't seem to work quite right in the OCI mode, or would like to discuss anything Nextflow <-> Singularity related in general. |
Is your feature request related to a problem? Please describe.
Hey team, I have been deploying Singularity as the HPC container runtime as staff at the Pawsey national centre (AUS) for 4+ years. Now I am maintaining its interface with it within the workflow engine Nextflow as part of my new role at Seqera.
I have started to test the new OCI functionalities in V4.
I am a bit concerned about
--oci
implying--compat
, as it may disrupt user experience quite a bit. This is particularly true if a system admins decide to enable it by default insingularity.conf
.Describe the solution you'd like
I am raising the two following solutions for discussion:
singularity.conf
forcompat mode
, to enable sys admins to control the feature alongsideoci mode
; corresponding PR : Adding singularity.conf option "compat mode" #2306--oci
implies--compat
, to minimise disruption of user experience.Thoughts?
Thank you!
The text was updated successfully, but these errors were encountered: