ORNL-Fusion / KORC

Kinetic Orbit Runaway Code (KORC)
http://ornl-fusion.github.io/KORC
MIT License
6 stars 2 forks source link

GPU test concurrency? #48

Open quantumsteve opened 3 months ago

quantumsteve commented 3 months ago

Running the GPU tests in parallel requires care. Currently we use as many processes as CPU cores and hope for the best. https://github.com/ORNL-Fusion/KORC/blob/30baea829f3ed6c5f49ea90f30a3c6476f24ee90/.github/workflows/onyx.yml#L184

Each process should be assigned a single GPU and the number of processes should not exceed the number of GPUs in the system.