Displaying 5 results from an estimated 5 matches for "lmkl_rt".
2015 Sep 29
2
Build R with MKL and ICC
...imple approach, I just compiled the current R release
> on Ubuntu with ICC and MKL using just this:
>
> $ tar -xzf R-3.2.2.tar.gz
> $ cd R-3.2.2
> $ CC=icc CXX=icpc AR=xiar LD=xild CFLAGS="-g -O3 -xHost" CXXFLAGS="-g
> -O3 -xHost" ./configure --with-blas="-lmkl_rt -lpthread" --with-lapack
> --enable-memory-profiling --enable-R-shlib
> $ make
> $ sudo make install
> $ R --version
> R version 3.2.2 (2015-08-14) -- "Fire Safety"
That is exactly the right combo: with-blas="-lmkl_rt -lpthread"
Nothing more for $MKL
now
$...
2015 Sep 30
1
Build R with MKL and ICC
...ud --
>
> I'm glad it's working for you. I'm not sure I understand your final
> answer. Are you saying that the version I posted worked for you as
> given, or that you had to remove some of the other options?
I say it works perfectly when using the single dynamic library
(lmkl_rt): MKL=" -L${_mkllibpath} -lmkl_rt -lpthread -lm"
N.B: not sure the -lm is needed, and It builds without it. It seems it
may trigger some issues on. See[0]. Thus I removed it
> Perhaps you could post the full final recipe in a way that others can
> copy and paste if they find this...
2011 Nov 03
4
How to used MKL (not revolution-mkl) with Debian packages
...t as Debian/Ubuntu packages available on CRAN mirror,
the following tricks may works for without some known side-effects (likes
openmp breaking issues), you may try to build your own libblas.so.3gf.0
with following command:
$ gfortran -L/opt/intel/lib/intel64 -liomp5 -L/opt/intel/mkl/lib/intel64
-lmkl_rt -lmkl_core -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_gf_ilp64 -lgomp
-lpthread -shared -Wl,-soname,libblas.so.3gf -o libblas.so.3gf.
$ sudo mkdir /usr/local/lib/MKL
$ sudo cp libblas.so.3gf.0 /usr/local/lib/MKL/.
$ cd /usr/local/lib/MKL
$ sudo ln -s libblas.so.3gf.0 libblas.so.3gf
$ sudo -s
$ echo &quo...
2015 Sep 07
2
Build R with MKL and ICC
On Sat, 2015-09-05 at 11:53 +0200, arnaud gaboury wrote:
> On Fri, Sep 4, 2015 at 5:58 PM, Martyn Plummer <plummerm at iarc.fr> wrote:
> > On Wed, 2015-09-02 at 20:49 +0200, arnaud gaboury wrote:
> >> On Wed, Sep 2, 2015 at 7:35 PM, arnaud gaboury <arnaud.gaboury at gmail.com> wrote:
> >> > After a few days of reading and headache, I finally gave a try at
2015 Sep 29
0
Build R with MKL and ICC
...ompiled the current R release
>> on Ubuntu with ICC and MKL using just this:
>>
>> $ tar -xzf R-3.2.2.tar.gz
>> $ cd R-3.2.2
>> $ CC=icc CXX=icpc AR=xiar LD=xild CFLAGS="-g -O3 -xHost" CXXFLAGS="-g
>> -O3 -xHost" ./configure --with-blas="-lmkl_rt -lpthread" --with-lapack
>> --enable-memory-profiling --enable-R-shlib
>> $ make
>> $ sudo make install
>> $ R --version
>> R version 3.2.2 (2015-08-14) -- "Fire Safety"
>
>
> That is exactly the right combo: with-blas="-lmkl_rt -lpthread&q...