Re: [Rcpp-devel] OpenMP and Rinside

2012-08-01 Thread David Ibarra Gómez
uleuven.be] Enviado el: miércoles, 01 de agosto de 2012 17:58 Para: Dirk Eddelbuettel CC: David Ibarra Gómez; [email protected] Asunto: Re: [Rcpp-devel] OpenMP and Rinside I used Rcpp with OpenMP in one of my packages (the new version is not on CRAN yet, only on github), so

Re: [Rcpp-devel] OpenMP and Rinside

2012-08-01 Thread Andreas Alfons
I used Rcpp with OpenMP in one of my packages (the new version is not on CRAN yet, only on github), so I can help with putting together an example. I'm at conferences this week and next week, though, so I'm a bit constrained with time right now. - Andreas On Tue, Jul 31, 2012 at 5:00 AM, Dirk E

Re: [Rcpp-devel] OpenMP and Rinside

2012-07-31 Thread Peter Aberline
> From: [email protected] > [mailto:[email protected]] On Behalf Of David > Ibarra Gómez > I was mixing RInside with OpenMP. When I try to run the software, I get a > message in three of the four threads (4 Cores Multicore). > Exception

Re: [Rcpp-devel] OpenMP and Rinside

2012-07-31 Thread Dirk Eddelbuettel
On 31 July 2012 at 13:41, David Ibarra Gómez wrote: | Thank you, Dirk. | | I'll try with MPI, futhermore It'll be ready for a cluster enviroment. Sounds good. But as one can (with some care) use OpenMP with R itself, it should be possibly to use it (with some care) from RInside as well. And

Re: [Rcpp-devel] OpenMP and Rinside

2012-07-31 Thread David Ibarra Gómez
roject.org Asunto: Re: [Rcpp-devel] OpenMP and Rinside On 31 July 2012 at 12:36, David Ibarra Gómez wrote: | Hi Peter, | | I'm looking at MPI examples, thank you for the advice. | | But If It's possible to use several instances with MPI. I think It should be possible with Ope

Re: [Rcpp-devel] OpenMP and Rinside

2012-07-31 Thread Dirk Eddelbuettel
On 31 July 2012 at 12:36, David Ibarra Gómez wrote: | Hi Peter, | | I'm looking at MPI examples, thank you for the advice. | | But If It's possible to use several instances with MPI. I think It should be possible with OpenMP. You missed the subtle point that Open MPI spawns multiple _p

Re: [Rcpp-devel] OpenMP and Rinside

2012-07-31 Thread Dirk Eddelbuettel
On 31 July 2012 at 12:23, David Ibarra Gómez wrote: | Hello, | | | | I was mixing RInside with OpenMP. When I try to run the | software, I get a message in three of the four threads (4 Cores Multicore). | | | | Exception caught: can only have one RInside instance | | Excep

Re: [Rcpp-devel] OpenMP and Rinside

2012-07-31 Thread David Ibarra Gómez
Hi Peter, I'm looking at MPI examples, thank you for the advice. But If It's possible to use several instances with MPI. I think It should be possible with OpenMP. Thank you David Ibarra Gomez -Mensaje original- De: Peter Aberline [mailto:[email protected]] Enviado e