From maechler at stat.math.ethz.ch  Wed Jun 21 19:25:46 2006
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Wed, 21 Jun 2006 19:25:46 +0200
Subject: [Rd] is.Rs_own_BLAS() ?
Message-ID: <17561.33050.570856.455403@stat.math.ethz.ch>

Does anyone see a nice portable way to detect --- from inside R ---
if R is using its own BLAS or not?
{ And ideally, if not, can R find out which ``kind'' of
  (optimized) BLAS it does run? }

And the same for LAPACK ?

One way of getting a partial answer seems to be

Rs_own_LAPACK_and_BLAS <-
    list.files(file.path(R.home(), "lib"), pattern = "^libRlapack") > 0

 (where I'd be grateful for confirmation from a Mac and a Windows user
  that the above does work)


The reason for asking is a plan of a somewhat automated speed
comparison simulation which seems to depend quite a bit on the
architecture and the version of BLAS it uses.

Martin Maechler, ETH Zurich



[Rd] is.Rs_own_BLAS() ?
Martin Maechler