[R] rpvm/snow packages on a cluster with dual-processor machi nes

Paul Y. Peng ypeng at math.mun.ca
Fri Aug 11 23:03:34 CEST 2006


Luke Tierney just reminded me that makeCluster() can take a number greater than the number of machines in a cluster. It seems to be a solution to this problem. But I haven't tested it yet.

Paul.


Ryan Austin wrote:
> Hi,
> 
> Adding a node twice gives a duplicate node error.
> However, adding the parameter sp=2000 to your pvm hostfile should enable 
> dual processors.
> 
> Ryan
> 
> Liaw, Andy wrote:
> 
>> Caveat: I've only played with this a couple of years ago... 
>>
>> I believe you can just add each host _twice_ (or as many times as the number
>> of CPUs at that host) to get both CPUs to work.
>>
>> Andy
>>
>> From: Paul Y. Peng
>>  
>>
>>> Hi,
>>>
>>> does anybody know how to use the dual processors in the 
>>> machines of a cluster? I am using R with rpvm and snow 
>>> packages. I usually start pvm daemon and add host machines 
>>> first, and then run R to start my computing work. But I find 
>>> that only one processor in each machine is used in this way 
>>> and the other one always stays idle. Is there any simple way 
>>> to tell pvm to use the two processors at the same time? In 
>>> other words, I would like to see two copies of R running on 
>>> each machine's two processors when using pvm. Any hints/help 
>>> are greatly appreciated.
>>>
>>> Paul.
>>>
>>> ______________________________________________
>>> R-help at stat.math.ethz.ch mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide 
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>>
>>>    
>>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>  
>>
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list