Message-ID: <AANLkTi=gP=FK8JMDvRC1Xo3Kx5X--DFekt=648o-9NR-@mail.gmail.com>
Date: 2010-07-30T07:27:13Z
From: Ei-ji Nakama
Subject: Getting multithreaded R working (solution)
In-Reply-To: <AANLkTi=vzVux_bSvg1-UhPBdef8PFA5NfWZiytU0cWTc@mail.gmail.com>
Hi
2010/7/30 Jonathan Greenberg <greenberg at ucdavis.edu>:
> We'll push ahead with gotoblas2, but if you have any ideas on
> dynamically linking a non-deb version of MKL, please let me know! Its
> nice seeing all our processor lit up when using R!
$ 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)
--
EI-JI Nakama? <nakama (a) ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb"? <nakama (a) ki.rim.or.jp>