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

Add properties for nodes and gpus to AbstractCalculatorParameters. #162

Closed codingS3b closed 6 years ago

codingS3b commented 6 years ago

Resolves #161.

codingS3b commented 6 years ago

We should then also adapt the CrystFELPhotonDiffractorParameters class a bit and remove the use_gpu parameter but instead query whether the self.gpus_per_task > 0. Then probably a change in CrystFELPhotonDiffractor is also needed that reacts on the parameters gpu_per_task flag but I would need some guidance there I think.