Community
cancel
Showing results for 
Search instead for 
Did you mean: 
iamnono
Beginner
93 Views

Problem for MKL10.3 matched IT++4.2

Does anybody help me?

-----------------------------------------------------------

Software Environment: Ubuntu 10.04, itpp-4.2.tar.gz, l_mkl_10.3.2.137.tgz, GCC/G++ version 4.4.3

-----------------------------------------------------------

I have installed gcc/g++ 4,4,3 and MKL(10.3.2) in Ubuntu 10.04.

MKL directory:

/opt/intel/mkl/

/opt/intel/mkl/lib/ia32/

/opt/intel/mkl/include/

/opt/intel/composerxe-2011.2.137/mkl/

/opt/intel/composerxe-2011.2.137/mkl/lib/ia32/

/opt/intel/composerxe-2011.2.137/mkl/include/

Then I install IT++ 4.2, install command as follow:

-----------

# tar zxvf itpp-4.2.tar.gz

# cd itpp-4.2

# export LDFLAGS="-L/opt/intel/mkl/lib/ia32"

# export CPPFLAGS="-I/opt/intel/mkl/include"

# ./configure

--------------

Then happen configure error:

"configure: error: cannot find any BLAS library, which is required by LAPACK."

----------

And, I try to use the other MKL Directory,

----------

# export LDFLAGS="-L/opt/intel/composerxe-2011.2.137/mkl/lib/ia32"

# export CPPFLAGS="-I/opt/intel/composerxe-2011.2.137/mkl/include"

----------

There is alse the same configure error.

Does anybody tell me the correct install method for IT++ with MKL in Ubuntu?

Or point to the correct version for IT++, MKL, G++, Linux and so on.

0 Kudos
9 Replies
93 Views

What is the output of printenv?

TimP
Black Belt
93 Views

If the application expects you to supply a complete working set of BLAS library link flags, you can retrieve one for MKL by using the link advisor posted at the top of this forum.
iamnono
Beginner
93 Views

The output is:
-------------------------------------------

root@docomo10:/home/docomo/soft/itpp-4.2# ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for g++... g++

checking whether the C++ compiler works... yes

checking for C++ compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking for style of include used by make... GNU

checking dependency style of g++... gcc3

checking how to run the C++ preprocessor... g++ -E

checking for g77... no

checking for xlf... no

checking for f77... no

checking for frt... no

checking for pgf77... no

checking for cf77... no

checking for fort77... no

checking for fl32... no

checking for af77... no

checking for xlf90... no

checking for f90... no

checking for pgf90... no

checking for pghpf... no

checking for epcf90... no

checking for gfortran... no

checking for g95... no

checking for xlf95... no

checking for f95... no

checking for fort... no

checking for ifort... no

checking for ifc... no

checking for efc... no

checking for pgf95... no

checking for lf95... no

checking for ftn... no

checking whether we are using the GNU Fortran 77 compiler... no

checking whether accepts -g... no

checking for gcc... gcc

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking for a sed that does not truncate output... /bin/sed

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for fgrep... /bin/grep -F

checking for ld used by gcc... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B

checking the name lister (/usr/bin/nm -B) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 1572864

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking for /usr/bin/ld option to reload object files... -r

checking for objdump... objdump

checking how to recognize dependent libraries... pass_all

checking for ar... ar

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm -B output from gcc object... ok

checking how to run the C preprocessor... gcc -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for dlfcn.h... yes

checking whether we are using the GNU C++ compiler... (cached) yes

checking whether g++ accepts -g... (cached) yes

checking dependency style of g++... (cached) gcc3

checking how to run the C++ preprocessor... g++ -E

checking for g77... no

checking for xlf... no

checking for f77... no

checking for frt... no

checking for pgf77... no

checking for cf77... no

checking for fort77... no

checking for fl32... no

checking for af77... no

checking for xlf90... no

checking for f90... no

checking for pgf90... no

checking for pghpf... no

checking for epcf90... no

checking for gfortran... no

checking for g95... no

checking for xlf95... no

checking for f95... no

checking for fort... no

checking for ifort... no

checking for ifc... no

checking for efc... no

checking for pgf95... no

checking for lf95... no

checking for ftn... no

checking whether we are using the GNU Fortran 77 compiler... (cached) no

checking whether accepts -g... (cached) no

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking for ld used by g++... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes

checking for g++ option to produce PIC... -fPIC -DPIC

checking if g++ PIC flag -fPIC -DPIC works... yes

checking if g++ static flag -static works... yes

checking if g++ supports -c -o file.o... yes

checking if g++ supports -c -o file.o... (cached) yes

checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether ln -s works... yes

checking for a sed that does not truncate output... (cached) /bin/sed

checking whether to use explicit library dependencies... no

checking for doxygen... no

checking for latex... no

checking for dvips... no

checking for gs... yes

checking for perl... /usr/bin/perl

checking for gdiff... no

checking for gnudiff... no

checking for diff... /usr/bin/diff

checking whether time.h and sys/time.h may both be included... yes

checking cmath usability... yes

checking cmath presence... yes

checking for cmath... yes

checking complex usability... yes

checking complex presence... yes

checking for complex... yes

checking ieeefp.h usability... no

checking ieeefp.h presence... no

checking for ieeefp.h... no

checking whether signgam is declared... yes

checking whether isfinite is declared... no

checking whether isinf is declared... yes

checking whether isnan is declared... yes

checking for std::isfinite... yes

checking for std::isinf... yes

checking for std::isnan... yes

checking for asinh... yes

checking for acosh... yes

checking for atanh... yes

checking for cbrt... yes

checking for erf... yes

checking for erfc... yes

checking for expm1... yes

checking for finite... yes

checking for fpclass... no

checking for isfinite... no

checking for isinf... yes

checking for isnan... yes

checking for lgamma... yes

checking for log1p... yes

checking for log2... yes

checking for rint... yes

checking for tgamma... yes

checking for sgemm_ in -lmkl_core... no

checking for dgemm_ in -lmkl_core... no

checking for sgemm_ in -lacml... no

checking for sgemm_ in -lacml_mp... no

checking for dgemm_ in -lacml... no

checking for dgemm_ in -lacml_mp... no

checking for ATL_xerbla in -latlas... no

checking for sgemm_ in -lblas... no

checking for dgemm_ in -lblas... no

configure: error: cannot find any BLAS library, which is required by LAPACK.

You can override this error by using "--without-blas" option, but the

functionality of the IT++ library will be limited. You have been warned!

iamnono
Beginner
93 Views

Could you tell me an example for link advisor command,

eg. root@docomo10:/home/docomo/soft/itpp-4.2# ./configure --with-blas=
93 Views

93 Views

I successfully built IT++ with MKL 10.3on an RHEL. Actually, it automatically picked up the MKL libs as expected and mentioned in the IT++ documentation. It seems, your CPPFLAGS and LDFLAGS are not being set to point to the MKL libs. May be, you can check printing the values of those env variables by using echo and confirm it.
iamnono
Beginner
93 Views

Can you telll me what's your success version about RHEL, GCC/G++, IT++ with MKL 10.3 ?

93 Views

RHEL 5.1
GCC 4.1.2
IT++ 4.2

Vipin

iamnono
Beginner
93 Views

Thanks, I will try tochange my GCC/G++ version and Linux os version.
Reply