Hi Fabian,
On a separate topic, but related to your post here, how did you do the
timing? [Especially to so many digits of accuracy. :-) ]
I will have to time my program and I don't think /usr/bin/time would do
it. Are the numbers it report accurate [for an MPI program]? I think
the
Hi Erin,
> I have a dual core laptop and I would like to have both cores running.
>
> Here is the following my-hosts file:
> localhost slots=2
Be warned that at least in default config running more MPI threads than
you have cores results in dog slow code.
Single core machine:
$ cat my-hosts
ff Squyres
Sent: Mon 11/10/2008 1:14 PM
To: Open MPI Users
Subject: Re: [OMPI users] dual cores
There's also a great project at SourceForge called "htop" that is a
"better" version of top. It includes the ability to query for and set
processor affinity for abitrary pro
Sent: Sun 11/9/2008 11:21 PM
To: Open MPI Users
Subject: Re: [OMPI users] dual cores
Run 'top' For long running applications you should see 4 processes
each at 50% (4*50=200% two cpus).
You are ok, your hello_c did what it should, each of thoese 'hello's
could have came from any of the two cpu
; Erin M. Hodgess, PhD
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: hodge...@uhd.edu
>
>
>
> -Original Message-
> From: users-boun...@open-mpi.org on behalf of Brock Palen
> Sent: Sun 11/9/
MPI Users
Subject: Re: [OMPI users] dual cores
Run 'top' For long running applications you should see 4 processes
each at 50% (4*50=200% two cpus).
You are ok, your hello_c did what it should, each of thoese 'hello's
could have came from any of the two cpus.
Also if your only running on your
Run 'top' For long running applications you should see 4 processes
each at 50% (4*50=200% two cpus).
You are ok, your hello_c did what it should, each of thoese 'hello's
could have came from any of the two cpus.
Also if your only running on your local machine, you don't need a
hostfile,
Sent: Sun 11/9/2008 11:20 PM
To: Open MPI Users
Subject: Re: [OMPI users] dual cores
Dear Erin,
I'm nowhere near a guru, so I hope you don't what I have to say (it
might be wrong...).
But what I did was just put a long loop into the program and while it
was running, I opened another window
Dear Erin,
I'm nowhere near a guru, so I hope you don't what I have to say (it
might be wrong...).
But what I did was just put a long loop into the program and while it
was running, I opened another window and looked at the output of "top".
Obviously, without the loop, the program would
Dear Open MPI gurus:
I have just installed Open MPI this evening.
I have a dual core laptop and I would like to have both cores running.
Here is the following my-hosts file:
localhost slots=2
and here is the command and output:
mpirun --hostfile my-hosts -np 4 --byslot hello_c |sort
Hello,
10 matches
Mail list logo