[Beowulf] MPI build with different compilers

Joshua mora acosta joshua_mora at usa.net
Tue Aug 19 00:44:44 PDT 2008

I forgot to comment on the typical deployments:
head node, with compilers and libraries for building and running.
compute nodes, with scripts (eg. mpirun, mpiexec,mpirun_rsh) and libraries for
running (mpich.so,mpi.so,..). Therefore no need for instance of
mpicc,mpiCC,mpif90,.. on compute nodes.

------ Original Message ------
Received: Tue, 19 Aug 2008 12:37:17 AM PDT
From: "Joshua mora acosta" <joshua_mora at usa.net>
To: "amjad ali" <amjad11 at gmail.com>, "Beowulf Mailing List"
<beowulf at beowulf.org>
Subject: Re: [Beowulf] MPI build with different compilers

> Comments inline.
> Joshua
> ------ Original Message ------
> Received: Mon, 18 Aug 2008 11:29:22 PM PDT
> From: "amjad ali" <amjad11 at gmail.com>
> To: "Beowulf Mailing List" <beowulf at beowulf.org>
> Subject: [Beowulf] MPI build with different compilers
> > 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?
> Not much. You can find though the case where SSE can make a difference. Use
> -mtune/-march on gcc.
> > 
> > 
> > 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?
> I don't think so. There are 2 stages: compiling and linking. For
> you need gcc,icc,pgcc,.. For linking you need ld plus the libraries that
> needed at runtime. The easy way to find out the last one is by building a
> executable and then run ldd (dependency walker on Windows) over it. Then
> to know the dependencies. That is what you will need to run. Then get to
> the dependencies at linking time (eg. look at the makefile or add the flag
> or -v[erbose] to the compiler and linker to see what tools uses and what
> libraries it needs in order to build your executable. All that is what you
> need to package and deploy on your production systems if you want to create
> executables and run them. Makefiles, include after the build is done,
> target named "distribution" or something like that which allows you to
> a tarball that can be deployed somewhere else. That takes care of
> bin,etc,lib,man,examples directories.
> > 
> > 
> > Regards,
> > AA.
> > _______________________________________________
> > Beowulf mailing list, Beowulf at beowulf.org
> > To change your subscription (digest mode or unsubscribe) visit
> http://www.beowulf.org/mailman/listinfo/beowulf
> > 

More information about the Beowulf mailing list