| 233 | } |
| 234 | |
| 235 | const char* |
| 236 | ErrorString (int errorcode) |
| 237 | { |
| 238 | BL_ASSERT(errorcode > 0 && errorcode <= MPI_ERR_LASTCODE); |
| 239 | |
| 240 | int len = 0; |
| 241 | |
| 242 | static char msg[MPI_MAX_ERROR_STRING+1]; |
| 243 | |
| 244 | MPI_Error_string(errorcode, msg, &len); |
| 245 | |
| 246 | BL_ASSERT(len <= MPI_MAX_ERROR_STRING); |
| 247 | |
| 248 | return msg; |
| 249 | } |
| 250 | |
| 251 | void |
| 252 | Message::wait () |
no outgoing calls
no test coverage detected