Re: [OMPI users] Question concerning compatibility of languages used with building OpenMPI and languages OpenMPI uses to build MPI binaries.

2017-09-18 Thread Jeff Hammond
Intel compilers support GOMP runtime interoperability, although I don't believe it is the default. You can use the Intel/LLVM OpenMP runtime with GCC such that all three OpenMP compilers work together. Fortran is a legit problem, although if somebody builds a standalone Fortran 2015 implementation

Re: [OMPI users] Question concerning compatibility of languages used with building OpenMPI and languages OpenMPI uses to build MPI binaries.

2017-09-18 Thread Michael Thomadakis
OMP is yet another source of incompatibility between GNU and Intel environments. So compiling say Fortran OMP code into a library and trying to link it with Intel Fortran codes just aggravates the problem. Michael On Mon, Sep 18, 2017 at 7:35 PM, Gilles Gouaillardet < gilles.gouaillar...@gmail.com

Re: [OMPI users] Question concerning compatibility of languages used with building OpenMPI and languages OpenMPI uses to build MPI binaries.

2017-09-18 Thread Michael Thomadakis
Hello OpenMPI team, Thank you for the insightful feedback. I am not claiming in any way that it is a meaningful practice to build the OpenMPI stack with one compiler and then just try to convince / force it to use another compilation environment to build MPI applications. There are occasions thoug

Re: [OMPI users] Question concerning compatibility of languages used with building OpenMPI and languages OpenMPI uses to build MPI binaries.

2017-09-18 Thread Jeff Hammond
Please separate C and C++ here. C has a standard ABI. C++ doesn't. Jeff On Mon, Sep 18, 2017 at 5:39 PM Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > Even if i do not fully understand the question, keep in mind Open MPI > does not use OpenMP, so from that point of view, Open MPI

Re: [OMPI users] Question concerning compatibility of languages used with building OpenMPI and languages OpenMPI uses to build MPI binaries.

2017-09-18 Thread Gilles Gouaillardet
Even if i do not fully understand the question, keep in mind Open MPI does not use OpenMP, so from that point of view, Open MPI is independant of the OpenMP runtime. Let me emphasize on what Jeff already wrote : use different installs of Open MPI (and you can use modules or lmod in order to choose

Re: [OMPI users] Question concerning compatibility of languages used with building OpenMPI and languages OpenMPI uses to build MPI binaries.

2017-09-18 Thread n8tm via users
I think Jeff squires summed it up. Sent via the Samsung Galaxy S8 active, an AT&T 4G LTE smartphone Original message From: Michael Thomadakis Date: 9/18/17 4:57 PM (GMT-05:00) To: Open MPI Users Cc: n8tm Subject: Re: [OMPI users] Question concerning compatibility of langu

Re: [OMPI users] Question concerning compatibility of languages used with building OpenMPI and languages OpenMPI uses to build MPI binaries.

2017-09-18 Thread Michael Thomadakis
Thanks for the note. How about OMP runtimes though? Michael On Mon, Sep 18, 2017 at 3:21 PM, n8tm via users wrote: > On Linux and Mac, Intel c and c++ are sufficiently compatible with gcc and > g++ that this should be possible. This is not so for Fortran libraries or > Windows. > > > > > > > S

Re: [OMPI users] Question concerning compatibility of languages used with building OpenMPI and languages OpenMPI uses to build MPI binaries.

2017-09-18 Thread Jeff Squyres (jsquyres)
FWIW, we always encourage you to use the same compiler to build Open MPI and your application. Compatibility between gcc and Intel *usually* works for C and C++, but a) doesn't work for Fortran, and b) there have been bugs in the past where C/C++ compatibility broke in corner cases. My $0.02:

Re: [OMPI users] Question concerning compatibility of languages used with building OpenMPI and languages OpenMPI uses to build MPI binaries.

2017-09-18 Thread n8tm via users
On Linux and Mac, Intel c and c++ are sufficiently compatible with gcc and g++ that this should be possible.  This is not so for Fortran libraries or Windows.  Sent via the Samsung Galaxy S8 active, an AT&T 4G LTE smartphone Original message From: Michael Thomadakis Date: 9

[OMPI users] Question concerning compatibility of languages used with building OpenMPI and languages OpenMPI uses to build MPI binaries.

2017-09-18 Thread Michael Thomadakis
Dear OpenMPI list, As far as I know, when we build OpenMPI itself with GNU or Intel compilers we expect that the subsequent MPI application binary will use the same compiler set and run-times. Would it be possible to build OpenMPI with the GNU tool chain but then subsequently instruct the OpenMPI