Can you send a small reproducing example?

On Aug 4, 2013, at 1:46 PM, Hugo Gagnon <opensource.open...@user.fastmail.fm> 
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 MPI_OFFSET_KIND) but I get this error at the linking stage:
> 
> Undefined symbols for architecture x86_64:
>  "_mpi_get_address0di4_", referenced from:
>      ___io_mod_MOD_writegridparallel in IO_Mod.o
>      ___io_mod_MOD_writemeanstats in IO_Mod.o
>      ___io_mod_MOD_writeinststats in IO_Mod.o
>      ___io_mod_MOD_writequbckp in IO_Mod.o
>  "_mpi_get_address0dr8_", referenced from:
>      ___io_mod_MOD_writegridparallel in IO_Mod.o
>      ___io_mod_MOD_writequbckp in IO_Mod.o
>  "_mpi_get_address1dr8_", referenced from:
>      ___io_mod_MOD_writemeanstats in IO_Mod.o
>      ___io_mod_MOD_writeinststats in IO_Mod.o
> ld: symbol(s) not found for architecture x86_64
> 
> I'm using gcc 4.8.1 and openmpi 1.7.2, both built from macports.
> 
> Inputs appreciated,
> -- 
>  Hugo Gagnon
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to