Skip to content
Prev 701 / 2152 Next

Getting multithreaded R working (solution)

Hi

2010/7/30 Jonathan Greenberg <greenberg at ucdavis.edu>:
$ wget http://prs.ism.ac.jp/~nakama/debian/lenny-ism/gotoblas2-helper_0.1-12_all.deb
$ dpkg -i gotoblas2-helper_0.1-12_all.deb

register
$ iceweasel http://www.tacc.utexas.edu/?id=402

edit username and password
$ sudo vi /etc/gotoblas2-helper/gotoblas2-site.conf

download,dpkg-buildpackage and dpkg -i
$ sudo  /etc/init.d/gotoblas2-helper start

$ LANG=C ls -al  /usr/lib/gotoblas2/
total 33344
drwxr-xr-x   2 root root     4096 Feb  8 14:23 .
drwxr-xr-x 301 root root   143360 Jul 30 12:03 ..
-rw-r--r--   1 root root 11012466 Feb  8 14:22 libblas.a
lrwxrwxrwx   1 root root       14 Feb  8 14:23 libblas.so -> libblas.so.3gf
lrwxrwxrwx   1 root root       16 Feb  8 14:23 libblas.so.3gf ->
libblas.so.3gf.0
-rw-r--r--   1 root root  6057883 Feb  8 14:22 libblas.so.3gf.0
-rw-r--r--   1 root root  8825058 Feb  8 14:22 liblapack.a
lrwxrwxrwx   1 root root       16 Feb  8 14:23 liblapack.so -> liblapack.so.3gf
lrwxrwxrwx   1 root root       18 Feb  8 14:23 liblapack.so.3gf ->
liblapack.so.3gf.0
-rw-r--r--   1 root root  8033064 Feb  8 14:22 liblapack.so.3gf.0

$ ldd /usr/lib64/R/lib/libR.so | grep blas
	libblas.so.3gf => /usr/lib/gotoblas2/libblas.so.3gf (0x00007f2ebcea3000)