Re: [Pypar-developers] multicore machines with pypar
Brought to you by:
uniomni
From: Jordan A. <jc...@co...> - 2009-10-02 19:05:26
|
Hi Ole and all, I get: C:\Python25\Lib\site-packages\pypar>mpirun -np 4 python test_pypar.py Unable to launch 'C:\Python25\Lib\site-packages\pypar\python', error 2: CreateProcess failed: The sy stem cannot find the file specified. So the same error. It's unclear to me where (i.e. in what function) the error is even being generated... I really appreciate any suggestions you may have. --Jordan-- On Wed, Sep 30, 2009 at 10:28 PM, Ole Nielsen <ole...@gm...>wrote: > Could you try > > C:\Python25\Lib\site-packages\pypar>mpirun -np 4 python test_pypar.py > > and let me know if that gives the same error? > > Has anyone else on the list seen this? > > Cheers and thanks > Ole > > > > On Thu, Oct 1, 2009 at 2:49 AM, Jordan Atlas <jc...@co...> wrote: > >> Hi Ole, >> >> Thanks for your response. Following your advice, I was able to verify >> that I can get MPICH to run multiple processes that utilizes both of my >> machines' processors. >> >> Now I'm having trouble getting the pypar tests to run. If I type: >> >> C:\Python25\Lib\site-packages\pypar>mpirun -np 4 test_pypar.py >> >> Then I get the error: >> >> Unable to launch 'C:\Python25\Lib\site-packages\pypar\test_pypar.py', >> error 8: CreateProcess failed: >> Not enough storage is available to process this command. >> >> I assume it is talking about "RAM" storage, but my machine has over 2GB of >> RAM free right now, so I don't understand the problem. Am I calling the >> program correctly? >> >> Note that if I run test_pypar without calling mpirun, I get the output: >> >> C:\Python25\Lib\site-packages\pypar>test_pypar.py >> Pypar (version 2.1.0) initialised MPI OK with 1 processors >> I am processor 0 of 1 on node jca33-305. >> >> Please let me know if my question is unclear. >> >> Thanks, >> >> --Jordan >> >> >> >> Ole Nielsen wrote: >> >> 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 <jc...@co...> 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: jc...@co... >>> Chemical and Biomolecular Engineering >>> Cornell University >>> >> >> >> > |