Skip to content

care to send me some big working example R on multiprocessor systems

5 messages · Debabrata Midya, Melwin, Hao Yu

#
Hi Deb,
PPSO in parallel mode should also run on a single processor, although you  
won't gain anything from that beyond just testing (in fact, I will be  
slower due to the overhead involved, unless your objective function takes  
long to evaluate without computational burden, e.g. due to extensive file  
i/o).
Which Windows MPI-variant do you use (MPICHII or DeinoMPI)? I tested your  
code snippet successfully on Windows 2000/DeinoMPI/R-2.10.0. In any case,  
I recommend using optim_ppso_robust, which is more elaborated by now.
Please let me know if you experience further problems.

cheers,
Melwin

Am 04.03.2010, 00:50 Uhr, schrieb Debabrata Midya  
<Debabrata.Midya at services.nsw.gov.au>:
#
It works for me as well.

Deb: Can you check if Rmpi runs on its own (spawning slaves) before ppso?
If Rmpi is not setting properly on Windows, it will hang.

Melwin: Do you have more time consuming codes to share? Intel asks me to
provide some R codes to test their MPI against others under R. But my
codes are mostly related to simulation and overhead with MPI is minimum.
Thanks.

Hao
Melwin wrote:

  
    
#
Hi Deb,
I was NOT trying to suggest that you mandatorily need DeinoMPI. However,
afaik either MPICHII *OR* DeinoMPI is required for Rmpi under Windows.
Please note that there are two versions of the Rmpi package, depending on
if you use MPICHII or DeinoMPI. Although the aim is parallel computing, I
doubt that it is a good idea to run these two in parallel ;-)
Anyway, you should follow Hao's advice and first make sure Rmpi is working
properly on its own. Please try some of the simple Rmpi examples to see if
they work and let me know the result.

Melwin

PS: As for the configuration of DeinoMPI, I have to admit that I never got
a true multi-machine Rmpi session working. Although I could include remote
machines in DeinoMPI, in R Rmpi-slaves were exclusively spawned locally. I
didn't try MPICHII at all, but resorted to Ubuntu-Linux, where everything
went much smoother.

Am 05.03.2010, 01:22 Uhr, schrieb Debabrata Midya
<Debabrata.Midya at services.nsw.gov.au>:
--