error_name[0] = '\0';
int resulting_length = MPI_MAX_ERROR_STRING;
- // get the string name of the error code by first converting it to an error
- // class.
- int error_class = 0;
- int ierr = MPI_Error_class (error_code, &error_class);
-
- // Check the output of the error printing functions. If either MPI function
- // fails we should just print a less descriptive message.
- bool error_name_known = ierr == MPI_SUCCESS;
- if (error_name_known)
+ bool error_name_known = false;
+ // workaround for Open MPI 1.6.5 not accepting
+ // MPI_ERR_LASTCODE in MPI_Error_class
+ if (error_code < MPI_ERR_LASTCODE)
{
- ierr = MPI_Error_string (error_class, error_name, &resulting_length);
- error_name_known = error_name_known && (ierr == MPI_SUCCESS);
+ // get the string name of the error code by first converting it to an
+ // error class.
+ int error_class = 0;
+ int ierr = MPI_Error_class (error_code, &error_class);
+ error_name_known = (ierr == MPI_SUCCESS);
+
+ // Check the output of the error printing functions. If either MPI
+ // function fails we should just print a less descriptive message.
+ if (error_name_known)
+ {
+ ierr = MPI_Error_string (error_class, error_name, &resulting_length);
+ error_name_known = error_name_known && (ierr == MPI_SUCCESS);
+ }
}
out << "deal.II encountered an error while calling an MPI function."
The numerical value of the original error code is 17.
DEAL::
deal.II encountered an error while calling an MPI function.
-The description of the error provided by MPI is "MPI_ERR_UNKNOWN: unknown error".
+This error code is not equal to any of the standard MPI error codes.
The numerical value of the original error code is 92.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Invalid buffer pointer".
-The numerical value of the original error code was 1.
+The numerical value of the original error code is 1.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Invalid count".
-The numerical value of the original error code was 2.
+The numerical value of the original error code is 2.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Invalid datatype".
-The numerical value of the original error code was 3.
+The numerical value of the original error code is 3.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Invalid tag".
-The numerical value of the original error code was 4.
+The numerical value of the original error code is 4.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Invalid communicator".
-The numerical value of the original error code was 5.
+The numerical value of the original error code is 5.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Invalid rank".
-The numerical value of the original error code was 6.
+The numerical value of the original error code is 6.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Invalid MPI_Request".
-The numerical value of the original error code was 19.
+The numerical value of the original error code is 19.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Invalid root".
-The numerical value of the original error code was 7.
+The numerical value of the original error code is 7.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Invalid group".
-The numerical value of the original error code was 8.
+The numerical value of the original error code is 8.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Invalid MPI_Op".
-The numerical value of the original error code was 9.
+The numerical value of the original error code is 9.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Invalid topology".
-The numerical value of the original error code was 10.
+The numerical value of the original error code is 10.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Unknown error. Please file a bug report.".
-The numerical value of the original error code was 13.
+The numerical value of the original error code is 13.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Other MPI error".
-The numerical value of the original error code was 15.
+The numerical value of the original error code is 15.
DEAL::
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "Internal MPI error!".
-The numerical value of the original error code was 16.
+The numerical value of the original error code is 16.
DEAL::
deal.II encountered an error while calling an MPI function.
-The description of the error provided by MPI is "Unknown error class".
-The numerical value of the original error code was 1073741823.
+This error code is not equal to any of the standard MPI error codes.
+The numerical value of the original error code is 1073741823.
--- /dev/null
+
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Invalid buffer pointer".
+The numerical value of the original error code is 1.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Invalid count".
+The numerical value of the original error code is 2.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Invalid datatype".
+The numerical value of the original error code is 3.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Invalid tag".
+The numerical value of the original error code is 4.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Invalid communicator".
+The numerical value of the original error code is 5.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Invalid rank".
+The numerical value of the original error code is 6.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Request pending due to failure".
+The numerical value of the original error code is 19.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Invalid root".
+The numerical value of the original error code is 7.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Invalid group".
+The numerical value of the original error code is 8.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Invalid MPI_Op".
+The numerical value of the original error code is 9.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Invalid topology".
+The numerical value of the original error code is 10.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Unknown error. Please file a bug report.".
+The numerical value of the original error code is 13.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Other MPI error".
+The numerical value of the original error code is 15.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "Internal MPI error!".
+The numerical value of the original error code is 16.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+This error code is not equal to any of the standard MPI error codes.
+The numerical value of the original error code is 1073741823.
--- /dev/null
+
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_BUFFER: invalid buffer pointer".
+The numerical value of the original error code is 1.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_COUNT: invalid count argument".
+The numerical value of the original error code is 2.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_TYPE: invalid datatype".
+The numerical value of the original error code is 3.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_TAG: invalid tag".
+The numerical value of the original error code is 4.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_COMM: invalid communicator".
+The numerical value of the original error code is 5.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_RANK: invalid rank".
+The numerical value of the original error code is 6.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_REQUEST: invalid request".
+The numerical value of the original error code is 7.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_ROOT: invalid root".
+The numerical value of the original error code is 8.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_GROUP: invalid group".
+The numerical value of the original error code is 9.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_OP: invalid reduce operation".
+The numerical value of the original error code is 10.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_TOPOLOGY: invalid communicator topology".
+The numerical value of the original error code is 11.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_UNKNOWN: unknown error".
+The numerical value of the original error code is 14.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_OTHER: known error not in list".
+The numerical value of the original error code is 16.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+The description of the error provided by MPI is "MPI_ERR_INTERN: internal error".
+The numerical value of the original error code is 17.
+DEAL::
+deal.II encountered an error while calling an MPI function.
+This error code is not equal to any of the standard MPI error codes.
+The numerical value of the original error code is 54.