Dear Mr. Squyres, In my sharedmemtest.f90 coding just sent to you, I have added a call of MPI_SIZEOF (at present it is deactivated, because of the missing Ftn-binding in OPENMPI-1.8.3). I suggest, that you may activate the 2 respective statements in the coding , and use yourself the program for testing whether MPI_SIZEOF works now in the upcoming 1.8.4-version. For me, the installation of a tarball version is not so easy to do as for you, and the problem with the missing Ftn-bindings is not limited to a special machine.
Can you tell me, from which OPENMPI-version on the bug will be removed? To generalize the problem with the Ftn-bindings: I think OPENMPI-development should go the whole hog, and check, whether for all MPI-routines the Ftn-bindings exist. This not so much a complicated task, but a somewhat time-consuming task. But otherwise, over a long time more or less angry Users will write emails on missing FTN-bindings and grumble on "that buggy OPENMPI". And you will have to write the answers on and on... . This will finally take more time for developers and users then doing that work now once-for-all. Thank You Michael Rachner -----Ursprüngliche Nachricht----- Von: users [mailto:[email protected]] Im Auftrag von Jeff Squyres (jsquyres) Gesendet: Mittwoch, 5. November 2014 13:40 An: Open MPI User's List Betreff: Re: [OMPI users] OPENMPI-1.8.3: missing fortran bindings for MPI_SIZEOF Yes, this is a correct report. In short, the MPI_SIZEOF situation before the upcoming 1.8.4 was a bit of a mess; it actually triggered a bunch of discussion up in the MPI Forum Fortran working group (because the design of MPI_SIZEOF actually has some unintended consequences that came to light when another OMPI user noted the same thing you did a few months ago). Can you download a 1.8.4 nightly tarball (or the rc) and see if MPI_SIZEOF is working for you there? On Nov 5, 2014, at 6:24 AM, <[email protected]> <[email protected]> wrote: > Sorry, Gilles, you might be wrong: > > The error occurs also with gfortran-4.9.1, when running my small shared > memory testprogram: > > This is the answer of the linker with gfortran-4.9.1 : > sharedmemtest.f90:(.text+0x1145): undefined reference to `mpi_sizeof0di4_' > > and this is the answer with intel-14.0.4: > sharedmemtest.f90:(.text+0x11c3): undefined reference to `mpi_sizeof0di4_' > > > If openmpi actually provides a module file mpi.mod, that was precompiled > by openmpi for a certain Fortran compiler, > then the whole installation of openmpi on a User machine from the > openmpi-sourcecode for a User chosen Ftn-compiler would be a farce. > The module file mpi.mod must be either generated during the > installation process of openmpi on the User-machine for the User chosen > Ftn-compiler, or alternatively Openmpi must provide the module not by a > mpi.mod file, but a mpi.f90 file. MS-MPI does it that way. > In my opinion, providing a mpi.f90 file is indeed better than > providing an mpi.mod file, because the User can look inside the module and > can directly see, if something is missing or possibly wrongly coded. > > Greetings > Michael Rachner > > > -----Ursprüngliche Nachricht----- > Von: users [mailto:[email protected]] Im Auftrag von Gilles > Gouaillardet > Gesendet: Mittwoch, 5. November 2014 11:33 > An: Open MPI Users > Betreff: Re: [OMPI users] OPENMPI-1.8.3: missing fortran bindings for > MPI_SIZEOF > > Michael, > > the root cause is openmpi was not compiled with the intel compilers but the > gnu compiler. > fortran modules are not binary compatible so openmpi and your application > must be compiled with the same compiler. > > Cheers, > > Gilles > > On 2014/11/05 18:25, [email protected] wrote: >> Dear OPENMPI developers, >> >> In OPENMPI-1.8.3 the Ftn-bindings for MPI_SIZEOF are missing, when using >> the mpi-module and when using mpif.h . >> (I have not controlled, whether they are present in the mpi_08 >> module.) >> >> I get this message from the linker (Intel-14.0.2): >> /home/vat/src/KERNEL/mpi_ini.f90:534: undefined reference to >> `mpi_sizeof0di4_' >> >> So can you add the Ftn-bindings for MPI_SIZEOF? >> >> Once again I feel, that Fortran-bindings are unloved step-children for >> C-programmers. >> >> Greetings to you all >> Michael Rachner >> _______________________________________________ >> users mailing list >> [email protected] >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users >> Link to this post: >> http://www.open-mpi.org/community/lists/users/2014/11/25676.php > > _______________________________________________ > users mailing list > [email protected] > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2014/11/25682.php > _______________________________________________ > users mailing list > [email protected] > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2014/11/25683.php -- Jeff Squyres [email protected] For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/ _______________________________________________ users mailing list [email protected] Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users Link to this post: http://www.open-mpi.org/community/lists/users/2014/11/25685.php
