Re: [mpich-devel] Issue with MPI_Error_string() for user-defined codes/clases
22 Apr
2014
22 Apr
'14
1:01 p.m.
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
4476
Age (days ago)
4476
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rob Latham