MSO4SC / cloudify-hpc-plugin

Plugin to allow Cloudify to deploy and orchestrate HPC resources
Apache License 2.0
8 stars 8 forks source link

Singularity job type and Singularity run command #5

Open victorsndvg opened 6 years ago

victorsndvg commented 6 years ago

Currently the singularity job type relies in singularity exec command.

I think this is the most general solution, but as singularity allows to hide some complexity using singularity run command, I think we should think in a way to add this feature to the orchestrator.

Most interesting option of this command is --app. You can use this option to package several applications or executables in a containers and used them easily.

E.g.

 $ singularity run --app salome hifimagnet.simg micadfile.cad mimeshfile.mesh
 $ singularity run --app solver hifimagnet.simg mimeshfile.mesh miresult.res
 $ singularity run --app paraview hifimagnet.simg miresult.res
...
Trophime commented 6 years ago

:+1:

we would also like to:

--workdir
--pwd
--nv

see for here for details.

PS: these options are optional