[mpich-devel] Issue with MPI_Error_string() for user-defined codes/clases

Rob Latham robl at mcs.anl.gov
Tue Apr 22 13:01:11 CDT 2014



On 04/22/2014 04:04 AM, Lisandro Dalcin wrote:
> The MPI-3 standard says (pp.354, lines 39-40):
>
> """
> If MPI_ERROR_STRING is called when no string has been set, it will
> return a empty
> string (all spaces in Fortran, "" in C).
> """
>
> The following simple tests segfaults. A quick fix would be to return
> an empty string in MPIR_Err_get_dynerr_string() (file dynerrutil.c),
> e.g:

Makes sense to me, but maybe Pavan has an issue with buffering?

==rob

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA


More information about the devel mailing list