Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

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