martius-lab / cluster_utils

https://cluster-utils.readthedocs.io/stable/
Other
12 stars 0 forks source link

Find good workflow on how to use containers to run the cluster_utils main process #93

Open luator opened 6 months ago

luator commented 6 months ago

Problem is that when running cluster_utils in a container, it cannot use the commands from the host system to submit jobs (e.g. sbatch in case of Slurm). One thing to try: Test if it works to just bind the sbatch executable from the host system into the container. If that works, a corresponding test should be done for HTCondor.

_See post by @mseitzer in https://github.com/martius-lab/cluster_utils/issues/72#issuecomment-2077331193_

I just checked, you can indeed bind files. The use case is that everyone can pull the latest container (automatically built) from Github, and does not need to install cluster utils anymore. Seems convenient to me.