Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29236 Discussions

Incompatable libblas with Intel 10.0 Compiler

al_ward
Beginner
370 Views
I am trying to compile a Fortran code which requires use of the machine's native BLAS routines in /usr/lib/libblas.a. I am getting an error to the effect that my libblas is incompatible but can't seem to find a solution. I'm using a 64-bit machine running Linux 2.6.18-128.2.1.el5 and the Intel 10.0 compiler. I do not get get this problem on a somewhat older 32-bit machine running Linux 2.6.9-89.0.3 Elsmp with an Intel 9.0 compiler. I would appreciate any suggestions on how to fix this problem
0 Kudos
1 Reply
TimP
Honored Contributor III
370 Views
First possible problem: If you built with the Intel64 64-bit compiler, on an LSB compliant linux, the /usr/lib/ will be 32-bit objects, which have no chance of working with any 64-bit compiler. /usr/lib64 would have the 64-bit counterparts.
Second possible problem: the libraries which come with linux are built with a gnu Fortran, and have different run-time library dependencies.
First solution: use the MKL blas library which comes with all ifort 11.0 and 11.1, also with 10.1 professional.
Second solution: build BLAS from public source, using ifort.
0 Kudos
Reply