Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] problems on parallel writing
From: Terry Frankcombe (terry_at_[hidden])
Date: 2010-02-24 20:47:36

On Wed, 2010-02-24 at 13:40 -0500, w k wrote:
> Hi Jordy,
> I don't think this part caused the problem. For fortran, it doesn't
> matter if the pointer is NULL as long as the count requested from the
> processor is 0. Actually I tested the code and it passed this part
> without problem. I believe it aborted at MPI_FILE_SET_VIEW part.

For the record: A pointer is not NULL unless you've nullified it.
IIRC, the Fortran standard says that any non-assigning reference to an
unassigned, unnullified pointer is undefined (or maybe illegal... check
the standard).