--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
Questions:
1. Why does the user have to put anything in their submit file? All we do in OMPI is check the file type, and if it is “singularity”, then treat it accordingly - which really means doing nothing more than prefacing the container name with the “singularity” command.2. Why does Slurm care if it is a container or not? Either way, it is just an executable so far as the scheduler is concerned, and in a batch script, putting “singularity” in front of your image seems a pretty trivial thing to do.
On Oct 29, 2016, at 11:19 AM, vanessa s <vso...@gmail.com> wrote:
Holy cow YES. I am so down for this!!
Best,Vanessa
Hi,I've been tinkering with the idea of doing native SLURM integration for Singularity via SLURM's SPANK plugin interface.The idea would be to ship it with a future version of Singularity and have it come in via a sub-RPM (or .deb or ...) of the main package. Then, users could simply add the following to their submit file:#SBATCH --image=docker://ubuntu/latestAnd automatically get started in their relevant container. My hope is that, at least locally, this would help us to change to RHEL7 before waiting on the last user to migrate their code.Before I get too far down this line:- is this of interest to anyone else?- is anyone already doing this?Thanks!Brian
Sent from my iPhone--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
On Oct 29, 2016, at 11:44 AM, vanessa s <vso...@gmail.com> wrote:I think he is talking about more of a use case to provide interactive (container) environments based on a set of images, for example to support different OS? E.g., the container environment is the idev node. Running the container (from the outside) as an executable is a bit different I think. I could be totally off, but I think this is an interesting idea for a a slightly different reason. I'm developing singularity hub, (the singularity equivalent of Docker hub) and it's going to work in a similar way - a command line tool takes some run command, looks to see if the containers are cached, and if not, pulls and runs. This kind of tool would then need different plugins for easily integrating into different running environments (SLURM being one of them, because you know, the other big players in the game have been such great supporters of HPC *smile*). The early use case is just downloading one container and running it,and we wouldn't need anything very sophisticated for that. @rhc - you are right, a container in this case is just another executable. The later (cooler!) use case is asking to run a workflow, which would have dependencies and multiple containers. In the simplest implementation, it correctly sets up the workflow, assesses the queues that the user has access to, allocates correct memory and runtimes (possibly needing different queues), and then runs,and produces outputs. In a more sophisticated implementation, it captures different meta data about the analysis and run, and stores that somewhere (for reproducibility). For all of those out there interested in this idea of "push button HPC" from a browser, that could all happen from some web interface. Thus, a native SLURM plugin that can manage those dependencies and advanced use cases would be... super awesome :)
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.