Yes, you can do this, or you can do:
localhost cpu=4
Or you can do
localhost
and just "mpirun -np 4 your_app", etc. There's a variety of ways to do
this. See the man pages for lamboot(1) and mpirun(1) for more details.
On Mar 23, 2005, at 12:59 PM, Yeliang Zhang wrote:
> For sake of code developing, I would like to test my mpi program on a
> desktop. The program will use PETSc, a parallel numerical library. Is
> that possible for me to run the code with:
>
>
>
> mpirun np 4 mmox even I am running it on my desktop with one CPU?
> Shall I generate a machine file looks like the following:
>
>
>
> localhost
>
> localhost
>
> localhost
>
> localhost
>
>
>
> If I want to use 4 CPUs.
>
>
>
> Thank you guys.
>
>
>
> Zhang
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|