[Beowulf] MPI build with different compilers

NiftyOMPI Mitch niftyompi at niftyegg.com
Thu Aug 21 13:19:12 PDT 2008

Yes, With some care you can/ may build and deploy multiple versions.
As a minimum both PATH and LD_LIBRARY_PATH must be well managed.
See alternatives.

Since MPI is only one of the critical and key libs to manage I should
point you to the GotoBLAS lib.


If you work through the makefiles and download notes for the precompiled
versions you will get about as good an outline of vendor compiler variations

as you can get.

If you have exclusively Intel processors the Intel set of copilers
is hard to top especially for a university.   If  you have AMD
processors or a mix of AMD and Intel processors add PGI and Pathscale
etc. compilers to your review list.

Recently SUN has made available their compilers.  In the read me
they mention mpi.    The IDE looks good too.

There are two time frames for alternatives.  One is compile time
and another is run time.   Some of the batch system experts can comment
on how to address this in the context of a batch system.

A good search will find good stuff this set of pages has a good outline.
It will give you the keys for deeper research.

On Thu, Aug 21, 2008 at 10:45 AM, amjad ali <amjad11 at gmail.com> wrote:

> Hi,
> So, can we have multiple installations of same mpi (say openmpi) with
> different compiler-suites (for example one with gnu and other one with
> intel-compilers suite)?
> Any issue/special to have available and use both simultaneously?
> AA
> On 8/20/08, Nifty niftyompi Mitch <niftyompi at niftyegg.com> wrote:
> > On Tue, Aug 19, 2008 at 11:01:19AM +0500, amjad ali wrote:
> > >
> > > Hi,
> > > Please reply me about followings:
> > >
> > >
> > > 1) Is there any significant performance difference between OpenMPI
> > > built with GNU compilers and the one built with Intel compilers?
> > >
> > >
> > > 2) Once we have built mpi on our system and then we remove the C/C++
> > > and Fortran compilers from the system. Will the mpicc and mpif90 still
> > > work properly? or the mpi bulit always needs installed base compilers?
> > >
> >
> > Not so much in OpenMPI but there could be very large differences
> > in the speed of the application code.
> >
> > It does make sense to build OpenMPI with both compilers and benchmark
> those applications
> > you care about.
> >
> > Some vendor compilers have a GNU ABI some do not.  Building
> > libraries and the application with different compilers can prove
> > problematic (i.e. hard to debug problems).
> >
> > Note that the helper scripts: mpicc, mpif77, mpi<language> are built at
> > the same time MPI is and will correctly match libraries with generated
> objects from your
> > build.   In the land of Fortran there are binary issues that can make
> > mixing problematic.  This is possibly an issue in C++ too....
> >
> > Some work is being done on this check the release notes.
> >
> >
> >
> > --
> >        T o m  M i t c h e l l
> >        Got a great hat... now what.
> >
> >

T o m M i t c h e l l
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20080821/dcd80558/attachment.html>

More information about the Beowulf mailing list