LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Nelson Brito (ntbrito_at_[hidden])
Date: 2004-09-17 17:10:03


Sorry to intrude but i think there should be more tolerance and respect in this
list. If you use lam you own it to Jeff Squyres, and to his team. And this
briliant information you gave us comes in all the lam manuals, i think everyone
on this list, who read the manuals, knows that mpicc is a sort of a wrapper to
gcc which includes mpi libs in the compilation. Perhaps you just read it :-)

Perhaps you can't achieve how much Jeff knows!!

nelson

Quoting louis.gonzales_at_[hidden]:

>
>
> Sidenote answered: mpic++ is a link to c++ with special wrapper files that
> have
> the message passing interface included - so it's nothing more than a glorfied
> c++ compiler - vanilla+.... Thanks I found the patches on HP with
> registration -
> it's particular to the linker and clearly you don't know as much as you think
> you do.
>
> -Louis
>
>
>
>
>
>
>
> Jeff Squyres <jsquyres_at_[hidden]> on 09/17/2004 04:53:27 PM
>
> Please respond to "General LAM/MPI mailing list" <lam_at_[hidden]>
>
>
>
> To: "General LAM/MPI mailing list"
> <lam_at_[hidden]>
>
> cc: (bcc: Louis Gonzales/EDAG-US)
>
>
>
> Subject Re: LAM: LAM : 7.0.6install problems
> :
>
>
>
>
>
>
>
> On Sep 17, 2004, at 4:42 PM, louis.gonzales_at_[hidden] wrote:
>
> > That's a very large assumption now isn't it? What platform are you
> > programming
> > on? Possibly, the hello.cpp program I have contains, code that
> > implements a
> > hello message passed to all the nodes on my cluster? Perhaps?
>
> Sidenote: if this is an MPI program, you should be using mpic++ to
> compile it.
>
> No, this is not a large assumption.
>
> Regardless of whether hello.cpp is an MPI program or not, you used g++
> to compile it with no other options. ld then complained about some
> linker option. g++ is the one who invokes ld. At no point were any
> LAM commands used. Any LAM header files used (e.g., "mpi.h") would not
> affect how your linker is invoked because we don't use any pragmas --
> just plain, vanilla C and/or C++..
>
> Hence, none of this has anything to do with MPI or LAM -- it's 100%
> your C++ compiler.
>
> So based on the information you provided, the problem is likely to be a
> faulty installation of g++. Try "g++ -v hello.cpp".
>
>
> > On Sep 17, 2004, at 4:32 PM, louis.gonzales_at_[hidden] wrote:
> >
> >> g++ hello.cpp
> >> /usr/ccs/bin/ld: Unrecognized argument: +init
> >> /usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld [options] [flags] files
> >> collect2: ld returned 1 exit status
>
> --
> {+} Jeff Squyres
> {+} jsquyres_at_[hidden]
> {+} http://www.lam-mpi.org/
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

--
Nelson de Brito
http://www.fc.up.pt/pessoas/ntbrito/
-------------------------------------------------------------
A FCUP utiliza o sistema de webmail Horde/IMP (www.horde.org)
Visite: http://www.fc.up.pt/