[Rcpp-devel] RcppArmadillo BLAS/LAPACK force number of threads to 1

Dirk Eddelbuettel edd at debian.org
Tue Aug 12 13:24:10 CEST 2014


On 12 August 2014 at 17:09, Scott Ritchie wrote:
| Well that's frustrating.
| 
| I've tried the OpenMPController package without success, and tried to
| explicitly disable BLAS in the Armadillo headers and removing the linking code
| in the Makevars files.

That is IMHO the wrong approach. You want BLAS, you just want to control it.
And as I tried to explain, Rcpp and Armadillo really have nothing to do with it.

This has all been discussed before, and AFAICT, also solved.  I think one (R)
package did something wrong on intialization -- but AFAICR this was fixed a
while back.  Also check the r-sig-hpc archives on that.
 
| If my reading of this thread: http://lists.r-forge.r-project.org/pipermail/
| rcpp-devel/2012-June/003888.html is correct, I should be able to switch to
| RcppEigen since it uses its own routines.

You certainly can. 

I really do not think you have to.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rcpp-devel mailing list