hpcleuven / VscDocumentation

VSC (Vlaams Supercomputing Center) user documentation.
https://docs.vscentrum.be/
GNU General Public License v3.0
1 stars 28 forks source link

Suggestion to use `cpus-per-gpu` instead of `ntasks` in slurm docs #425

Open WPoelman opened 2 months ago

WPoelman commented 2 months ago

In the documentation all examples use ntasks or n to specify the number of CPUs needed per GPU. This generally works fine, but external tools (such as submitit ) have a specific interpretation of ntasks, which can lead to issues. It might be better to explicitly use the cpus-per-gpu slurm option in the examples to avoid such issues. The options both work identically in my tests requesting GPUs on the debug node and on wice.

moravveji commented 2 months ago

This is an interesting one. Few remarks:

So, if you have another comment or question, please let us know. Else, we can perhaps close this issue item.