MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / ErrorString

Function ErrorString

Src/Base/AMReX_ParallelDescriptor.cpp:235–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235const char*
236ErrorString (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
251void
252Message::wait ()

Callers 1

the_message_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected