[MPI3 Fortran] What if Fortran is the primary interface?
alexander.supalov at intel.com
Tue Mar 18 12:17:27 CDT 2008
Thanks. Can you give an example of a "peculiar" system?
From: mpi3-fortran-bounces at lists.mpi-forum.org [mailto:mpi3-fortran-bounces at lists.mpi-forum.org] On Behalf Of Aleksandar Donev
Sent: Tuesday, March 18, 2008 6:06 PM
To: MPI-3 Fortran working group
Subject: Re: [MPI3 Fortran] What if Fortran is the primary interface?
On Tuesday 18 March 2008 07:26, Craig Rasmussen wrote:
> My test so far indicate that this works fine too. As I recall,
> type MPI_HANDLE
> type(C_INT) :: handle
> end type MPI_HANDLE
> worked for those implementations. Since MPI_HANDLE is an opaque
> type, the implementer has freedom to define it as she wishes.
To recap: This is likely to work on a lot of implementations (includes MPI+C
ABI), but it is not guaranteed by the Fortran (or C) standards. C structs are
different from plain integers and *may* be passed differently. Ultimately, I
think if the design is such that it works fast on most (existing)
implementations and *can* be implemented by wrappers on some more peculiar
systems, it is OK.
Aleksandar Donev, Ph.D.
Lawrence Postdoctoral Fellow @ Lawrence Livermore National Laboratory
High Performance Computational Materials Science and Chemistry
E-mail: donev1 at llnl.gov
Phone: (925) 424-6816 Fax: (925) 423-0785
Address: P.O.Box 808, L-367, Livermore, CA 94551-9900
mpi3-fortran mailing list
mpi3-fortran at lists.mpi-forum.org
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the mpiwg-fortran