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] Cannot compile code with gfortran + OpenMPI when OpenMPI was built with latest intl compilers
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-05-20 20:26:07

On May 19, 2012, at 6:55 AM, Tim Prince wrote:

> I don't see how it is too great an inconvenience for your Makefile to set PATH and LD_LIBRARY_PATH to include the mpif90 corresponding to the chosen Fortran compiler.

+1 on this.

I believe there are/might be some flags to force the Intel compilers to be ABI compatible with gfortran, but I don't know how well those are maintained between specific version tuples of (gfortran version, ifort version).

It is always safest -- and usually easiest -- to have separate OMPI installs for each different set of compilers that you want to use. This is unfortunate and sometimes annoying, but it's not really something that Open MPI can fix. Only the compiler vendors can fix the ABI in/compatibility between the different compiler suites. Sorry. :-(

Jeff Squyres
For corporate legal information go to: