-
Notifications
You must be signed in to change notification settings - Fork 16
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
support /cvmfs/unpacked.cern.ch
in environment script
#1252
Comments
Let's discuss this in a sw dev meeting so I understand the interplay of your suggestion with requiring that sites set up |
To answer this since we didn't get to it at the meeting... My thought process would be (with or without using
This would cleanly handle sites without CVMFS (or with CVMFS down for whatever reason) like it is being handled now, a local copy is downloaded, however with sites that have a CVMFS connection, it allows significant amount of disk space to be saved (and potentially quicker start up since no downloading would need to be performed if the ldmx unpacked image is already in CVMFS's cache from other users of the cluster). |
Great, looks good to me. Before we went container, and compiling outside slac was a mess, there were some thoughts in (CERN accustomed) Lund about using cvmfs for distributing our software. Fun to see it resurface, and in a way that seems straightforward. I wonder if this could help with some problems we're seeing at Caltech where we suspect files are copied, not linked, from the LDCS-specific cache (seems to be an HTCondor thing), and the image itself uses almost all the memory on a node. If we could routinely push production images, this might be a different approach to how we set up building and linking to local copies of the image before we implemented the cache. |
Is your feature request related to a problem? Please describe.
I don't like having to download copies of our images all over the place. This seems wasteful to me and there is already a solution.
Describe the solution you'd like
If the environment script could run images from unpacked (apptainer/singularity support this already), then we can distribute our images there (as well as on docker hub) which would reduce image duplication and save disk space on our clusters.
Describe alternatives you've considered
An alternative (I guess?) is to try to develop our own image caching system that (similar to CVMFS) would be local to each cluster. I'm not interested in the complexities of this since CVMFS already can do this.
Additional context
I've gotten
ldmx/dev:latest
into/cvmfs/unpacked.cern.ch
so it is already available. One could (with the current environment script) dowhich should work (I think, untested).
This is somewhat related to #1232 since
denv
does support running unpacked images and so one could do the following withdenv
.and then use
denv
for compiling and running ldmx software (instead ofldmx
).The text was updated successfully, but these errors were encountered: