Several years ago I used Rpy plus RPVM to distributed R computations across
multiple processing nodes (inluding multiple CPU¹s on a single Sun SMP
server), so this should work OK.  Note, however, that requires
writing/utilizing code that has been explicitly parallelized.

-Greg


On 6/26/08 12:29PM , "Laurent Gautier" <[EMAIL PROTECTED]> wrote:

> I think that Rmpi creates processes and passes messages between them.
> It *should* work without problems with rpy.
> 
> Although, two threads worth a look at:
> 
> https://stat.ethz.ch/pipermail/r-devel/2006-October/043218.html
> 
> http://tolstoy.newcastle.edu.au/R/e3/devel/07/11/0291.html
> 
> 
> 
> 
> 2008/6/26 Sean Davis <[EMAIL PROTECTED]>:
>> > On Thu, Jun 26, 2008 at 12:05 PM, Laurent Gautier <[EMAIL PROTECTED]>
>> wrote:
>>> >> yes.
>> >
>> > Unless you use a package like Rmpi.  I have NO idea how that would
>> > work with Rpy, but it is another possibility.  Also, I think there has
>> > been some work to vectorize the math libraries.
>> >
>> > Sean
>> >
>>> >> 2008/6/26 laurent oget <[EMAIL PROTECTED]>:
>>>> >>> So if I want to take advantage of my two cores, i need two processes,
>>>> right?
>>>> >>>
>>>> >>> 2008/6/26 Gregory Warnes <[EMAIL PROTECTED]>:
>>>>> >>>>
>>>>> >>>> Hello Laurent,
>>>>> >>>>
>>>>> >>>> The R system itself is not thread safe, and has quite a bit of
>>>>> persistent
>>>>> >>>> state.  Therefore if you want to use R from multiple threads, you
>>>>> will need
>>>>> >>>> to arrange to have a single thread interact with R at a time via
>>>>> appropriate
>>>>> >>>> locking or delegation.
>>>>> >>>>
>>>>> >>>> -G
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> On 6/26/08 11:17AM , "laurent oget" <[EMAIL PROTECTED]> wrote:
>>>>> >>>>
>>>>> >>>> fellows,
>>>>> >>>>
>>>>> >>>> did anybody experiment with running rpy in 2 threads?
>>>>> >>>>
>>>>> >>>> ________________________________
>>>>> >>>> 
>>>>> -------------------------------------------------------------------------
>>>>> >>>> Check out the new SourceForge.net Marketplace.
>>>>> >>>> It's the best place to buy or sell services for
>>>>> >>>> just about anything Open Source.
>>>>> >>>> http://sourceforge.net/services/buy/index.php
>>>>> >>>>
>>>>> >>>> --
>>>>> >>>> Gregory R. Warnes, Ph.D
>>>>> >>>> Program Director
>>>>> >>>> Center for Computational Arts, Sciences, and Engineering
>>>>> >>>> University of Rochester
>>>>> >>>>
>>>>> >>>> Tel: 585-273-2794
>>>>> >>>> Fax: 585-276-2097
>>>>> >>>> Email: [EMAIL PROTECTED]
>>>>> >>>>
>>>> >>>
>>>> >>>
>>>> >>> 
>>>> -------------------------------------------------------------------------
>>>> >>> Check out the new SourceForge.net Marketplace.
>>>> >>> It's the best place to buy or sell services for
>>>> >>> just about anything Open Source.
>>>> >>> http://sourceforge.net/services/buy/index.php
>>>> >>> _______________________________________________
>>>> >>> rpy-list mailing list
>>>> >>> rpy-list@lists.sourceforge.net
>>>> >>> https://lists.sourceforge.net/lists/listinfo/rpy-list
>>>> >>>
>>>> >>>
>>> >>
>>> >> -------------------------------------------------------------------------
>>> >> Check out the new SourceForge.net Marketplace.
>>> >> It's the best place to buy or sell services for
>>> >> just about anything Open Source.
>>> >> http://sourceforge.net/services/buy/index.php
>>> >> _______________________________________________
>>> >> rpy-list mailing list
>>> >> rpy-list@lists.sourceforge.net
>>> >> https://lists.sourceforge.net/lists/listinfo/rpy-list
>>> >>
>> >
>> > -------------------------------------------------------------------------
>> > Check out the new SourceForge.net Marketplace.
>> > It's the best place to buy or sell services for
>> > just about anything Open Source.
>> > http://sourceforge.net/services/buy/index.php
>> > _______________________________________________
>> > rpy-list mailing list
>> > rpy-list@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/rpy-list
>> >
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list
> 

-- 
Gregory R. Warnes, Ph.D
Program Director
Center for Computational Arts, Sciences, and Engineering
University of Rochester

Tel: 585-273-2794
Fax: 585-276-2097
Email: [EMAIL PROTECTED]


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to