On 28 June 2010 04:26, Reuti <re...@staff.uni-marburg.de> 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