Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] dual cores
From: Hodgess, Erin (HodgessE_at_[hidden])
Date: 2008-11-10 00:05:50


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, world, I am 0 of 4
Hello, world, I am 1 of 4
Hello, world, I am 2 of 4
Hello, world, I am 3 of 4
hodgesse_at_erinstoy:~/Desktop/openmpi-1.2.8/examples>

How do I know if both cores are running, please?

thanks,
Erin

Erin M. Hodgess, PhD
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgesse_at_[hidden]