singularity-hpc icon indicating copy to clipboard operation
singularity-hpc copied to clipboard

Add Shifter support?

Open marcodelapierre opened this issue 4 years ago • 5 comments

Shifter by NERSC, https://docs.nersc.gov/development/shifter/ is another robust container runtime for HPC

marcodelapierre avatar Jun 03 '21 02:06 marcodelapierre

Just starting to document some functionalities in Shifter, taking from the materials I had developed for SC/ISC tutorials with Shane Canon:

  • pull: shifterimg pull <repo>:<tag> (never tried digests)
  • execute/shell: shifter --image=<repo>:<tag> <cmd>
  • execute default command: N/A (entrypoints not supported I think)
  • add variables in container: --env VAR=value
  • default work directory: should match host
  • host directory mounts: typically set up by sys admins
  • GPU apps: work out of the box if Shifter is configured for that

marcodelapierre avatar Aug 11 '21 13:08 marcodelapierre

I started on this one too but never could get shifter installed.

vsoch avatar Aug 11 '21 14:08 vsoch

I would like to seek collab with Shane to progress it myself (he might give access to a machine with Shifter) I will se if I can do it before SC21 happens (so we can showcase at the container workshop there!) ... right now I am a bit overwhelmed with other projects :)

marcodelapierre avatar Aug 12 '21 03:08 marcodelapierre

Ah, here is why I stopped! https://github.com/NERSC/shifter/issues/299

vsoch avatar Aug 12 '21 03:08 vsoch

ah, there you go! :) I will ping Shane on that issue

marcodelapierre avatar Aug 12 '21 05:08 marcodelapierre