Closed adfaure closed 7 years ago
It's not a bug, it's a feature :D. A buggy / not implemented yet feature at the moment :(.
Previously Batsim checked that the number of given resources exactly matched the job size. However, a SMPI job can now be run with fewer resources, which allows to place several ranks on the same machine. This code has not be tested with other profiles, I will add a test about it and debug ;).
I can reproduce the issue.
@adfaure : Can you confirm that 0659e43 solved the problem? A clear error message should now be displayed (hidden before a SimGrid backtrace).
Really using fewer resources than a job requested should work after 6e1e44f. To do so, a mapping must be given with the EXECUTE_JOB message.
If I send
EXECUTE_JOB
with fewer resources than the job needs, batsim will segfault. edit: if the number of resources is greater, batsim doesn't care.