Re: [Rcpp-devel] OpenMP/Rcpp Error: C stack usage is too close to the limit

2016-03-19 Thread Dirk Eddelbuettel
On 19 March 2016 at 15:48, aakrem...@aol.com wrote: | Dirk, | | Thanks for the quick reply. | | Just to let you know that | 1. When I replace Rcout with cout, the nof function is running just fine | Why is Rcout messing up? | 2. When omp_set_num_threads is explicitly declare

Re: [Rcpp-devel] OpenMP/Rcpp Error: C stack usage is too close to the limit

2016-03-19 Thread aakremena
Subject: Re: [Rcpp-devel] OpenMP/Rcpp Error: C stack usage is too close to the limit On 19 March 2016 at 14:11, aakrem...@aol.com wrote: | Dear Rcpp Developer List subscribers, | | I am experimenting with OpenMP on Rcpp. Here is a simple program I'm trying to | run on my (4-core MacBookPr

Re: [Rcpp-devel] OpenMP/Rcpp Error: C stack usage is too close to the limit

2016-03-19 Thread Dirk Eddelbuettel
On 19 March 2016 at 14:11, aakrem...@aol.com wrote: | Dear Rcpp Developer List subscribers, | | I am experimenting with OpenMP on Rcpp. Here is a simple program I'm trying to | run on my (4-core MacBookPro 8,3, Intel Cor i7, 2.3 GHz) computer (clang-omp | compiler): | | #include | #include |