GlobalArrays / ga

Partitioned Global Address Space (PGAS) library for distributed arrays
http://hpc.pnl.gov/globalarrays/
Other
99 stars 38 forks source link

replace case-switch on MPI return codes with if-elseif #286

Closed jeffhammond closed 1 year ago

jeffhammond commented 1 year ago

MPI error codes are not required to be compile-time constants.

see issue and related links for details.

fixes https://github.com/GlobalArrays/ga/issues/285

Signed-off-by: Jeff Hammond jeff.science@gmail.com

jeffhammond commented 1 year ago

I did not test this, so if there are stupid mistakes, I'll fix as soon as CI finds them.