Re: [MPI3 Fortran] What if Fortran is the primary interface?
Thanks. Can you give an example of a "peculiar" system? -----Original Message----- From: [email protected] [mailto:[email protected]] 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 � � � �private � � � �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. Best, Aleks
-- Aleksandar Donev, Ph.D. Lawrence Postdoctoral Fellow @ Lawrence Livermore National Laboratory High Performance Computational Materials Science and Chemistry E-mail: [email protected] Phone: (925) 424-6816 Fax: (925) 423-0785 Address: P.O.Box 808, L-367, Livermore, CA 94551-9900 Web: http://cherrypit.princeton.edu/donev _______________________________________________ mpi3-fortran mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-fortran --------------------------------------------------------------------- Intel GmbH 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.
participants (1)
-
Supalov, Alexander