Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

cannot find -lblas

russel_nurjew
Beginner
885 Views
I'am using Ubuntu 9.04 i386. I installed Intel Fortran Compiler. I know that this issue has been disussed yet but all workarounds didn't help me. When ifort-compiling my program I always get one of the following messages:
ld: cannot find -lblas
ld: cannot find -llapack
Going to
/opt/intel/Compiler/11.0/083/mkl/interfaces/blas95/ and doing a:
sudo make PLAT=lnx32 lib I get:
mkdir -p obj
make -f makefile objects
make[1]: Betrete Verzeichnis '/opt/intel/Compiler/11.0/083/mkl/interfaces/blas95'
ifort -module ../../lib/32 -c -o obj/mkl_blas_protos.o source/mkl_blas_protos.f90
make[1]: ifort: Kommando nicht gefunden
make[1]: *** [obj/mkl_blas_protos.o] Fehler 127
make[1]: Verlasse Verzeichnis '/opt/intel/Compiler/11.0/083/mkl/interfaces/blas95'
make: *** [libmkl_blas95.a] Fehler 2

remark:
which ifort
/opt/intel/Compiler/11.0/083/bin/ia32/ifort

What could be the problem? Please help! Russel Nurjew

0 Kudos
2 Replies
TimP
Honored Contributor III
886 Views
You must refer to the MKL release notes to see which libraries are required for your platform, probably -lmkl_intel -lmkl_core -lmkl_sequential (as you appear not to want the threaded version). Apparently, I missed that the problem may have been solved by checking the notes about installing blas95.
0 Kudos
russel_nurjew
Beginner
886 Views
Quoting - tim18
You must refer to the MKL release notes to see which libraries are required for your platform, probably -lmkl_intel -lmkl_core -lmkl_sequential (as you appear not to want the threaded version).

I hadn't libblas3gf and liblapack3gf installed...Now it works fine. Thank you anyway for your immediate support!
0 Kudos
Reply