Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] ierr vs ierror in F90 mpi module
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2013-04-26 14:53:26


On Apr 25, 2013, at 10:52 PM, W Spector <w6ws_at_[hidden]> wrote:

> I tried building 1.7.1 on my Ubuntu system. The default gfortran is v4.6.3, so configure won't enable the mpi_f08 module build. I also tried a three week old snapshot of the gfortran 4.9 trunk. This has Tobias's new TYPE(*) in it, but not his latest !GCC$ attributes NO_ARG_CHECK stuff. However configure still won't enable the mpi_f08 module.

Yes, Tobias has mailed me+Craig about his latest stuff and I haven't had a chance to incorporate it yet. It's on the to-do list, though...

> Is there a trick to getting a recent gfortran to compile the mpi_f08 module?

Not yet. Hopefully soon.

> I went into the openmpi-1.7.1/ompi/mpi/fortran/use-mpi-tkr/scripts directory and modified the files to use ierror instead of ierr. (One well-crafted line of shell script.) Did the same with a couple of .h.in files in the use-mpi-tkr and use-mpi-ignore-tkr directories, and use-mpi-tkr/attr_fn-f90-interfaces.h.in. (One editor command each.)
>
> With the above, the mpi module is in much better shape. However there are still some scattered incorrect non-ierror argument names. A few examples from the code I am working with:
>
> MPI_Type_create_struct: The 2nd argument should be "array_of_blocklengths", instead of "array_of_block_lengths"
>
> MPI_Type_commit: "datatype" instead of "type"
>
> MPI_Type_free: Again, "datatype" instead of "type"
>
> There are more...

Cool. Any chance you could send us a patch?

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