Hi, I'm using some Singularity containers on my cluster that I built, which run tools that directly interact with slurm. Specifically I'm using Get_homologies-est (https://github.com/eead-csic-compbio/get_homologues), which needs access to slurm commands like sacct, sinfo etc from the host (or access from within the container), and REPET (https://hub.docker.com/r/urgi/docker_vre_aio), which has it's own installation of slurm and it's own slurm.conf file (which I could replace with my systems slurm.conf or simply modify it, as they're different versions of slurm). At the moment I'm running the tools on single nodes, which is just too slow for the large jobs I'm running.
I've read that Singulairty works with HPC systems. I usually run singularity exec from a *.sif container with --bind to mount files I need for the job.
For example I usually run my tools like so:
srun -n 1 singularity exec --bind ${PWD}:${PWD} ${GET_HOMOLOGUES_IMAGE} get_homologues-est.pl -d cds -D -n ${SLURM_NTASKS_PER_NODE} -o &> log.cds.pfamIf I needed to get the singularity containers to see the host slurm installation, what steps would I need to take? Would I need to bind particular directories? (e.g. bind the /etc/slurm-llnl/, /var/run/ directories). Would the host slurm version need to be the exact same in the container? Has anyone set up something similar for their slurm cluster?
My version of Singularity is 3.6
My slurm version on the host system is 19.05.5
My host system OS is Ubuntu 20.04
I git pull singularity and install from source.
Thanks for your help.
Regards
Brett
--
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.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/6f74cae7-35ce-464e-84f7-91177cd1100dn%40lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/CAB%2B1q0SNsKcEJtgb6P6edD%3DuYp4J9HJR8cEeTfHqOKZngDyy2w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/CAN9aCedgFEMiOFrYa6GCmPCGx-2wQutSxYZ96BQi7CNW%2Btiuag%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/CAA6Bz%3Dd0Y2PwJQ8cZ%3DwEM3rOwp0ZqwdwYGF90opiRL5em1H0Dg%40mail.gmail.com.