[R-sig-hpc] parallel and openblas (original) (raw)
Dirk Eddelbuettel edd at debian.org
Wed Apr 25 02:37:48 CEST 2012
- Previous message: [R-sig-hpc] parallel and openblas
- Next message: [R-sig-hpc] parallel and openblas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 24 April 2012 at 15:45, Stephen Weston wrote: | There's an interesting discussion entitled "all processes run on | one CPU core" at: || https://github.com/ipython/ipython/issues/840 || Someone was experiencing a very similar problem to the one that | Claudia described using GotoBLAS2 with IPython and NumPy. | Apparently it was fixed by recompiling GotoBLAS2 with the | "NOAFFINITY" parameter set to "1" in Makefile.rule, and then | rebuilding "NumPy". || It seems pretty strange, but GotoBLAS2/OpenBLAS may be modifying | the affinity of the R process by calling schedsetaffinity() when | it is initialized, and that is causing the problems that Claudia | and Martin have seen. || So perhaps the solution is to recompile GotoBLAS2/OpenBLAS with | NOAFFINITY=1, and then rebuild R with it.
Good discussion, but one important nit: never a need to rebuild a R (provided you have external / dynamically linked BLAS).
Just restart R.
Dirk
-- R/Finance 2012 Conference on May 11 and 12, 2012 at UIC in Chicago, IL See agenda, registration details and more at http://www.RinFinance.com
- Previous message: [R-sig-hpc] parallel and openblas
- Next message: [R-sig-hpc] parallel and openblas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]