There is no R code following
On 01 Nov 2013, at 05:34, Li Bowen <bowenl...@gmail.com> wrote: > Hi, > > I have been trying to build R with optimized BLAS library. > > I am using a Ubuntu 13.10 x86_64 desktop, on which I am able to build R > with openblas without any problem: > > #BEGIN_SRC sh > ./configure --enable-BLAS-shlib --enable-R-shlib LIBnn=lib --disable-nls > --with-blas="-L/usr/lib/openblas-base/ -lopenblas" --enable-memory-profiling > make > sudo make install > #END_SRC > > However, on redhat 5.9, I am not able to install openblas. > Firstly, there is no pre-built package, even for later version of > redhat. > Secondly, I am not able to build openblas from source, actually not even > able to install newer gcc from source. > > I then tried to install ATLAS on redhat and build R with it. -t 2: 2 threads > #BEGIN_SRC sh > ../configure --shared -t 2 -b 64 -D c -DPentiumCPS=1600 > --with-netlib-lapack-tarfile=/path-to-lapack-3.4.2.tgz > make build > make check > make ptcheck > make time > make install > > # R > ../configure --enable-BLAS-shlib --enable-R-shlib --disable-nls > --enable-memory-profiling --with-blas="-L/usr/local/atlas/lib > -lptf77blas -lpthread -latlas" > make > sudo make install > #END_SRC > > Installation is successful. However when I run the following code, only > one thread is used. > > I have looked through lots of manuals and forums and couldn't find an > answer. Please advise. Thanks a lot. > > -- > Sincerely, > Bowen > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.