help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: intel mkl


From: Jaroslav Hajek
Subject: Re: intel mkl
Date: Thu, 5 Aug 2010 16:35:59 +0200

On Thu, Aug 5, 2010 at 11:29 AM, javaloye
<address@hidden> wrote:
>
>
> Dear Jaroslav,
>
> thanks for the comments. I followed your advice and compiled 3.3.52.
> Using icc + icpc + ifort + mkl is still not working for me.
>
> However I finally got a functional system by using gcc + g++ + ifort + mkl.
> I had to compile qrupdate with ifort otherwise test qr was failing.
> I also had to remove support for arpack, that is still giving me some
> SIGSEGV during make check.
>
> Other than that, all test were successful (excepted the few that are known
> to fail).
> Everything is functional and I can even zoom with the fltk terminal, sweet !
> The linear algebra part is working at the speed of mkl, that is to say,
> fast.
>
> For the sake of curiosity, you mentioned that you compiled octave with intel
> compiler and mkl without difficulty, would you be so kind as to post your
> configure line ?
>

Actually I was misleading you, I'm using ACML, not MKL. We have both
MKL and ACML available, and I tried both; in the end I think I stuck
with ACML because it was showing slightly better performance for
certain operations.

My configure line is

INCLUDE="-I/apl/octave/include -I/apl/hdf5/hdf5-1.6.6/include
-I/usr/X11/include"
./configure F77=ifort FFLAGS="-O3 -xW" \
CC=icc CFLAGS="-O2 -xW $INCLUDE -mieee-fp" \
CXX=icpc CXXFLAGS="-w -O2 -xW $INCLUDE -mieee-fp" \
CPP="icc -E" CPPFLAGS="$INCLUDE" \
CXXPP="icpc -E" \
BLAS_LIBS="-L/apl/acml/acml/ifort64_mp/lib
-Wl,-rpath=/apl/acml/acml/ifort64_mp/lib -lacml_mp -lacml_mv
-L/apl/intel/fc/11.0.074/lib/intel64 -lifcoremt -liomp5 -lpthread" \
LDFLAGS="-L/apl/octave/lib -Wl,-rpath=/apl/octave/lib
-L/apl/hdf5/hdf5-1.6.6/lib -Wl,-rpath=/apl/hdf5/hdf5-1.6.6/lib" \
--prefix=/apl/octave --disable-extra-warning-flags --disable-docs

modifying this for MKL involves just adjusting the BLAS_LIBS variable.

hth

-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]