Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] mpi-io, fortran, going crazy... (ADENDA)
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-11-22 11:13:42


On Nov 17, 2010, at 6:58 AM, Ricardo Reis wrote:

> Thanks for the explanation. Then this should be updated in the spec no...?

You have no idea. :-)

The MPI Forum has been debating about exactly this issue for over a year. It turns out to be a surprisingly complex, subtle issue (i.e., it's not easy to just "upgrade" the type used to pass counts around in MPI functions).

The Forum has not resolved this issue yet; a small subset of the issues are described in the SC MPI Forum BOF slides that were presented last week. Rich Graham is going to post those slides on the web somewhere, but I don't think he has posted them yet.

As Gus points out, the workaround is to use MPI datatypes so that your count can still be "low" (i.e., still positive for an INTEGER or int), even though the total amount of data being written/sent/received/whatever is larger. MPI should do the Right Thing under the covers in this case.

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/