---------- Forwarded message ----------
From: Ole Nielsen <ole.moller.nielsen@gmail.com>
Date: Thu, Sep 24, 2009 at 7:36 AM
Subject: Re: multicore machines with pypar
To: Jordan Atlas <jca33@cornell.edu>


Hi Jordan

Great that you got pypar installed!

As for the number of processors it is really a matter for the underlying MPI implementation.
If you run a C program, such as the include timing measurement, using MPI you would have the same issue.

Depending on the MPI implementation there are different ways of telling how many CPUs you got.
With LAM MPI, there is a .machines file, with OPENMPI it is a matter for mpirun to specify.

Typically, you run you parallel program on e.g. 8 processes using

mpirun -np 8 <parallel_program>


Hope this helps

Cheers
Ole


PS - everything is better if you use Linux, though :-)



On Thu, Sep 24, 2009 at 4:16 AM, Jordan Atlas <jca33@cornell.edu> wrote:
Hi Ole,

    After carefully following the readme instuctions and making a couple changes to the compile files, I was able to get pypar installed on my machine.  However, it reports that my machine only has one processor, even though it has two.

    Is there anything in particular I need to do to make sure pypar is aware of multiple processors in windows? 

Thanks,

--Jordan

--
Jordan Atlas
Email: jca33@cornell.edu
Chemical and Biomolecular Engineering
Cornell University