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 declared before the void nof(int
| nn_thrds) function, the diagnostic warnings disappear.
|             Why?  I thought these function WERE already explicitly declared in
| the omp.h header file...  What am I missing?

What is the "Number One Rule" of multi-threaded programming with R?

It is stated numerous times in multiple places.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to