PaNOSC-ViNYL / SimEx

Start-to-end photon experiment simulation platform
https://simex.readthedocs.io/
GNU General Public License v3.0
26 stars 25 forks source link

AbstractCalculatorParameters: options for nodes and gpus #161

Closed codingS3b closed 5 years ago

codingS3b commented 6 years ago

While developing a SLURMSubmitter class for issue #148 it occured to us that it would be helpful to be able to query the calculators for their need of nodes and number of gpus to get the batch system call correctly and avoid that the user would have to pass those same options twice (to the calculator parameters and the submitter object).

For doing this we suggest to enhance the AbstractCalculatorParameters with properties nodes_per_task and gpus_per_task.