Re: [OMPI users] Undefined symbols with MPI_Get_address

2013-08-06 Thread Jeff Squyres (jsquyres)
On Aug 6, 2013, at 8:56 AM, Jeff Squyres wrote: > You should be able to apply the attached patch to an OMPI 1.7.x tarball to > add the MPI_Get_address implementation (which is a little difficult for you > because you're installing via macports, but...). Oops --- I neglected to attach the pat

Re: [OMPI users] Undefined symbols with MPI_Get_address

2013-08-06 Thread Jeff Squyres (jsquyres)
On Aug 6, 2013, at 8:40 AM, Hugo Gagnon wrote: > Does this mean that for now I can just replace the MPI_Get_address calls > to MPI_Address? > > I tried it and I got: > > $openmpif90 test.f90 > test.f90:11.32: > > call MPI_Address(a,address,ierr) >1 > Error: The

Re: [OMPI users] Undefined symbols with MPI_Get_address

2013-08-06 Thread Hugo Gagnon
Does this mean that for now I can just replace the MPI_Get_address calls to MPI_Address? I tried it and I got: $openmpif90 test.f90 test.f90:11.32: call MPI_Address(a,address,ierr) 1 Error: There is no specific subroutine for the generic 'mpi_address' at (1) On a

Re: [OMPI users] Undefined symbols with MPI_Get_address

2013-08-06 Thread Jeff Squyres (jsquyres)
You found a bug! Embarrissingly, we have MPI_Get_address prototyped in the Fortran module, but it is not actually implemented (whereas MPI_Address is both prototyped and implemented). Yow. :-( This is just a minor oversight; there's no technical issue that prevents this implementation. I've

Re: [OMPI users] Undefined symbols with MPI_Get_address

2013-08-05 Thread Hugo Gagnon
Build log attached. -- Hugo Gagnon On Mon, Aug 5, 2013, at 10:04, Hugo Gagnon wrote: > Will do, for now the best I can give is the portfile containing some > config options: > > https://trac.macports.org/browser/trunk/dports/science/openmpi/Portfile > > I used the gcc48 variant. > > -- >

Re: [OMPI users] Undefined symbols with MPI_Get_address

2013-08-05 Thread Hugo Gagnon
Will do, for now the best I can give is the portfile containing some config options: https://trac.macports.org/browser/trunk/dports/science/openmpi/Portfile I used the gcc48 variant. -- Hugo Gagnon On Mon, Aug 5, 2013, at 9:52, Jeff Squyres (jsquyres) wrote: > Can you send your build logs?

Re: [OMPI users] Undefined symbols with MPI_Get_address

2013-08-05 Thread Jeff Squyres (jsquyres)
Can you send your build logs? See: http://www.open-mpi.org/community/help/ (I know you said you installed via macports, but we don't package that, so we don't know how it's built) On Aug 5, 2013, at 8:50 AM, Hugo Gagnon wrote: > I could replicate the problem with the following: > > pr

Re: [OMPI users] Undefined symbols with MPI_Get_address

2013-08-05 Thread Hugo Gagnon
I could replicate the problem with the following: program test use mpi integer :: ierr, a integer(kind=MPI_ADDRESS_KIND) :: address call MPI_Init(ierr) a = 0 call MPI_Get_address(a,address,ierr) write(*,*) address call MPI_Finalize(ierr) end program test $ openmpif90 test.f90 Undefined symbols fo

Re: [OMPI users] Undefined symbols with MPI_Get_address

2013-08-05 Thread Jeff Squyres (jsquyres)
Can you send a small reproducing example? On Aug 4, 2013, at 1:46 PM, Hugo Gagnon wrote: > Hi, > > I have a .f90 module containing several lines of the form: > > call mpi_get_address(location, address, error) > > The module compiles fine (though only if I set the "kind" of "address" > to MP