Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Unable to include mpich library
From: Lisandro Dalcin (dalcinl_at_[hidden])
Date: 2010-07-02 22:20:35


On 28 June 2010 04:26, Reuti <reuti_at_[hidden]> wrote:
>
> I saw makefiles, where the compilers (i.e. MPI wrappers) were only used for
> compiling the source to object files. Later on these were still linked with
> `gcc` or `ld`. Hence the MPI library must be accessed also for the linker
> step by `mpicc` instead of `gcc` when setting $LD is supported, or set in
> e.g. $LDFLAGS for the latter.
>
> Why is there no `mpild` to do this automatically then?
>

Why not use LD=mpicc ?

-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169