Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] linking with openmpi version 1.6.1
From: Tim Prince (n8tm_at_[hidden])
Date: 2014-02-24 17:47:14


On 2/24/2014 4:45 PM, Jeff Squyres (jsquyres) wrote:
> This is not an issue with Open MPI; it's an issue with how the Fortran compiler works on your Linux system. It's choosing to put suffix it Fortran symbols with "_" (and possibly in some cases

[with long past compilers],

> "__")
> , whereas the C compiler is not. FWIW, this is a fairly common Fortran Linux compiler convention.
>
>
> Or you can use the new Fortran'08 C interop stuff (BIND(C)), in which you can specify the C symbol name in the Fortran code. Be aware that while this is supported in some Fortran compilers, it is not yet necessarily supported in the version of gfortran that you may be using.
iso_c_binding was introduced in Fortran 03, and supported in gfortran at
least since version 4.4, which is about as old a version as you have any
business trying (no older ones have adequate documentation remaining on
line).
>
> Also, FWIW, OMPI 1.6.1 is ancient. Can you upgrade to the latest 1.6.x version of Open MPI: 1.6.5?
>
>
>

-- 
Tim Prince