Fix name for ntasks in slurm template#19
Conversation
|
Thanks, this is indeed a bug. Maybe @gpetretto can comment on this (I don't fully remember why it is done this way but I remember we discussed about it), but I think the best would probably to modify it in the _convert_qresources method (https://github.com/Matgenix/QToolKit/blob/develop/src/qtoolkit/io/slurm.py#L540) at lines https://github.com/Matgenix/QToolKit/blob/develop/src/qtoolkit/io/slurm.py#L560, setting Note that I think https://github.com/Matgenix/QToolKit/blob/develop/src/qtoolkit/io/slurm.py#L564 should also be changed to |
|
I can confirm that making this change allows my slurm job through, can rename however you see fit |
|
Now I think I remember. It is done this way so that when a user that knows slurm well want to directly pass a dictionary, he can use the "real" slurm variable. |
|
Indeed, the value in the template used to be |
Hopefully closes #18