Re: [Rcpp-devel] Seg faults using Rcpp and OpenMP

2012-02-02 Thread Chris DuBois
Yes, that would explain it. Thanks! Chris On Thu, Feb 2, 2012 at 8:05 AM, Dirk Eddelbuettel wrote: > > On 1 February 2012 at 15:16, Chris DuBois wrote: > | Hi all, > | > | I am having trouble with seg faults using OpenMP with Rcpp objects. I > have a > | nested for loop where I can only paral

Re: [Rcpp-devel] Seg faults using Rcpp and OpenMP

2012-02-02 Thread Dirk Eddelbuettel
On 1 February 2012 at 15:16, Chris DuBois wrote: | Hi all, | | I am having trouble with seg faults using OpenMP with Rcpp objects.  I have a | nested for loop where I can only parallelize the inner for loop.  Inside I | call a function that has an Rcpp::NumericVector as an argument, and this seem

[Rcpp-devel] Seg faults using Rcpp and OpenMP

2012-02-02 Thread Chris DuBois
Hi all, I am having trouble with seg faults using OpenMP with Rcpp objects. I have a nested for loop where I can only parallelize the inner for loop. Inside I call a function that has an Rcpp::NumericVector as an argument, and this seems to contribute to the issue. The number of outer loops als