Re: length in string
James Cownie (jcownie@dolphinics.com)
Tue, 11 Feb 1997 09:30:25 +0000
> Date: Mon, 10 Feb 1997 13:12:52 -0600 (CST)
> From: Steve Huss-Lederman <lederman@cs.wisc.edu>
>
> I noticed that MPI_ADD_ERROR_STRING takes a length argument but
> MPI_COMM_SET_NAME does not. We should be consistent. I think we
> don't have to have the lenght argument. Should we drop it?
>
> Steve
>
>
> I gave MPI_ADD_ERROR_STRING the same set and sequence of arguments as
> MPI_Error_String in MPI-1, which returns an error string.
>
> Rajeev
Right, but there's no need for the length when you pass the string in,
because there's always a (language dependent) convention that allows
you to find the length from the string.
As ever, there should be text here saying that trailing blanks will be
stripped from strings passed from Fortran.
-- Jim
James Cownie
Dolphin Interconnect Solutions
Phone : +44 117 9071438
E-Mail: jcownie@dolphinics.com