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

Scott Ritchie sritchie73 at gmail.com
Wed Aug 13 05:52:08 CEST 2014


Thanks Dirk,

Since the original question has been answered (no there isn't a way to
control this through Armadillo or Rcpp, and the problem is unrelated), I'll
go bug the r-sig-hpc mailing list if I can't find a working answer.

Thanks for the additional pointers,

Cheers,

Scott


On 12 August 2014 21:24, Dirk Eddelbuettel <edd at debian.org> wrote:

>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140813/dd720260/attachment.html>


More information about the Rcpp-devel mailing list