LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: saahil.in_at_[hidden]
Date: 2010-10-18 12:08:29


> If you're just starting with MPI, we strongly recommend that you use Open
> MPI instead of LAM/MPI.
Infact, I did try using OpenMPI but there were a few problems that I came
across there too. I'm afraid I do not remember exactly what they were, but
I stuck to LAM since then, because most of the online guides for setting up
a Beowulf cluster instructed using LAM. I will try to use OpenMPI if I can,
but I would like to make this work, nevertheless.

> To directly answer your question, are you absolutely sure that your
> executable is named hello.o? .o files are typically intermediate object
> files.
Yes, the output file was hello.o, since I compiled the C code with the -o
flag as follows -
mpicc hello.c -o hello.o

Do you think that by any chance, all this is because the slave nodes and my
head nodes are of different architectures, ie. 32 bit and 64 bit? Although,
I made sure that the LAM version running on all of them is the same.

Regards,
Saahil

> On Oct 18, 2010, at 9:53 AM, saahil.in_at_[hidden] wrote:

> > Hello everyone,

> > I am doing an undergraduate level mini project that will demonstrate
> the working of and advantages of running a distributed algorithm in a
> truly distributed environment, in the form of a Beowulf cluster. For this
> purpose I am using LAM as my message passing interface. However, I am
> facing a problem while trying to test the set up with the hello world
> program. I was able to set up NFS properly, and am also able to boot
> using lamboot. I compiled the hello.c program with the mpicc option,
> copied the output file into the directory shared by nfs, and then used
> the following command to run -

> >

> > mpirun n0-2 hello.o

> >

> > I get an error saying that on atleast one of the nodes started by
> mpirun, MPI_INIT wasn't initialized.

> >

> > My head node(my personal laptop) is a x86_64 architecture based Fedora
> 12 system, and the rest of my slave nodes(lab computers) are x86 arch
> Fedora 13 systems. All systems are running the same version of Lam-Mpi
> 7.1.4.

> > Could anyone tell me as to where I might be going wrong?

> > Thank you very much.

> >

> > Regards,

> > Saahil_______________________________________________

> > This list is archived at http://www.lam-mpi.org/MailArchives/lam/

> --

> Jeff Squyres

> jsquyres_at_[hidden]

> For corporate legal information go to:

> http://www.cisco.com/web/about/doing_business/legal/cri/

> _______________________________________________

> This list is archived at http://www.lam-mpi.org/MailArchives/lam/