submitit icon indicating copy to clipboard operation
submitit copied to clipboard

NodeList Declaration

Open Bontempogianpaolo1 opened this issue 3 years ago • 1 comments

Hi, Is it possible to declare the nodeList somehow (especially on slurm)?

Bontempogianpaolo1 avatar Jun 05 '22 14:06 Bontempogianpaolo1

nodelist is not explicitly supported by the Slurm executor (yet), but the options specified in the additional_parameters parameter are passthrough for Slurm (i.e. passed as is to sbatch). Here is a simple example:

executor = submitit.AutoExecutor(...)
executor.update_parameters(slurm_additional_parameters={“nodelist”: “i-will-only-run-on-this-node”})

patricklabatut avatar Jun 27 '22 23:06 patricklabatut

thank you very much! It worked!

Bontempogianpaolo1 avatar Feb 03 '23 10:02 Bontempogianpaolo1