Re: length in string
James Cownie (firstname.lastname@example.org)
Tue, 11 Feb 1997 09:30:25 +0000
> Date: Mon, 10 Feb 1997 13:12:52 -0600 (CST)
> From: Steve Huss-Lederman <email@example.com>
> 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?
> 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.
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.
Dolphin Interconnect Solutions
Phone : +44 117 9071438