LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Áõ¹ó±ó (goodluck_1982_at_[hidden])
Date: 2006-11-04 17:36:27


Dear Ramon:

> This is a _very nice_ machine; just out of curiosity, what is the
> motherboard? (Iff I get some grant money, I'd like purchasing one of
^^^^^^^ Sorry, I don't konw how to view the information about
motherborad under linux.
> these, if they work smoothly with Linux).
>
>> I write a hostfile which contains two lines of localhost and run
>> "lamboot -v hostfile", the output is :
>
> But how does your hostfile look like? I think something like
>
> 127.0.0.1 cpu=16
>
> should be enough for you to have a lam universe over 8 CPUs.
I did this:
[basic]$ lamboot -v hostfile

LAM 7.1.1/MPI 2 C++/ROMIO - Indiana University

n-1<3871> ssi:boot:base:linear: booting n0 (127.0.0.1)
n-1<3871> ssi:boot:base:linear: finished

But it still seemed that lam was booted on only one cpu.
Becase when I ran "mpirun C cpi", the output is :
Process 0 of 1 on n0
pi is approximately 3.1415926544231341, Error is 0.0000000008333410
wall clock time = 0.000347

But when I ran "mpirun -np 4 cpi", the output is :
Process 2 of 4 on n0
Process 0 of 4 on n0
Process 1 of 4 on n0
Process 3 of 4 on n0
pi is approximately 3.1415926544231239, Error is 0.0000000008333307
wall clock time = 0.000196

What's wrong in the world?