materialsproject / fireworks

The Fireworks Workflow Management Repo.
https://materialsproject.github.io/fireworks
Other
351 stars 184 forks source link

The partition argument does nothing in the SLURM qadapter #487

Open Andrew-S-Rosen opened 2 years ago

Andrew-S-Rosen commented 2 years ago

The SLURM directive --partition is used on certain machines, but specifying partition: <NameOfPartition> in the qadapter does not cause the #SBATCH --partition=<NameOfPartition> to appear in the job submission script.

jkeupp commented 2 years ago

hehe. I fell for that aswell ... in case you haven't found it yourself, the keyword for setting the partition is queue: '[QUEUENAME]'

Andrew-S-Rosen commented 2 years ago

Oh, had no idea! I ended up hacking it by just adding it to the pre-rocket. Thanks!

If this isn't in the docs, it should be added then.