lattice / quda

QUDA is a library for performing calculations in lattice QCD on GPUs.
https://lattice.github.io/quda
Other
289 stars 97 forks source link

MPI err_string length too small, would overflow if MPI errors #1342

Closed jxy closed 1 year ago

jxy commented 1 year ago

Here

https://github.com/lattice/quda/blob/406ca834577775c122e151bf17a02036122b606d/lib/communicator_mpi.cpp#L7

It would be better to use MPI_MAX_ERROR_STRING instead.

maddyscientist commented 1 year ago

Thanks for reporting this @jxy. Can you file a PR to fix this?