On 1 July 2014 at 12:00, Alexander Braumann wrote: | I tried to compile R with openblas on a ubuntu 12.04 machine. I have to | say that I normally use the package system and that I have no experience | with compiling R.
You do not need to do that. Just install the existing OpenBLAS package via libopenblas-base (which you may already have) and R will use as the BLAS interface is generic. That is what the package tries to tell you via [edited] edd@max:~$ dpkg -s r-base-core Package: r-base-core [...] Version: 3.1.0-1trusty0 Depends: [...], libblas3 | libblas.so.3, [...], liblapack3 | liblapack.so.3, [...] ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Any suitable LAPACK and BLAS package providing libblas3 / liblapack3 can be used -- plug and play. And OpenBLAS plays along. Also: | I did the following: | | ./configure --enable-BLAS-shlib --enable-R-shlib LIBnn=lib | --with-blas="-L/usr/lib/openblas-base/ -lopenblas" | --enable-memory-profiling --with-x=yes | | | go the output: | | R is now configured for x86_64-unknown-linux-gnu | | Source directory: . | Installation directory: /usr/local | | C compiler: gcc -std=gnu99 -g -O2 | Fortran 77 compiler: gfortran -g -O2 | | C++ compiler: g++ -g -O2 | C++ 11 compiler: g++ -std=c++0x -g -O2 | Fortran 90/95 compiler: gfortran -g -O2 | Obj-C compiler: | | Interfaces supported: X11 | External libraries: readline, BLAS(generic), lzma ^^^^^^^^^^^^^^ tells you that you failed to tell the build about your OpenBLAS. It fell back to generic. This is all in the 'Installation + Administration' manual. But you really don't need to do this by hand. I suggest you send follow-up to the r-sig-debian list. Its archives also have past discussions of this and related questions. Regards, Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel