GauXC
GauXC copied to clipboard
[CUDA] Need a robust check for MPI <-> device mapping in CUDA
The check introduced in https://github.com/wavefunction91/GauXC/commit/7ba2f430ea88ade0867540591add3a15bcd1e611 and reverted in https://github.com/wavefunction91/GauXC/commit/94a1f86cff5f5ed28db9a6ad3b147fe3799e9968 is not robust. Fails for the following resource configuration on Summit https://jsrunvisualizer.olcf.ornl.gov/?s1f0o11n6c7g1r11d1b27l0=
Shared memory MPI instances is not mutually exclusive from each MPI rank acknowledging a single (unique) device.
Current workaround is to ensure proper device mapping prior to integrator call based on known MPI <-> device affinity (i.e. replicate this according to a known affinity)