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

errors building and using MKL for Mac OS X

carless
Beginner
961 Views

Hello:



I have just installed my Intel Math Kernel Library.



When I try to build the Fortran 90 Interface for em64t I get the error:



libtool: no library created (no object files in input files)

make: *** [../../lib/em64t/libmkl_lapack95.a] Error 1



I use the original makefile provided in the software, with the command:



sudo make libem64t



On the other hand, I do can build the 32 version.

However, I get the followig error when compiling my code:



ifort -O4 -fpp -i8 -openmp /Library/Frameworks/Intel_MKL.framework/Versions/Current/include/mkl_lapack.f90 -o HHP_CN HHP_CN.F90 -L/Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/32 -I/Library/Frameworks/Intel_MKL.framework/Versions/Current/include /Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/32/libmkl_lapack95.a -lguide -lpthread

fortcom: Error: HHP_CN.F90, line 318: There is no matching specific subroutine for this generic subroutine call. [GTTRF]

call GTTRF(dl, dd, du, du2, ipiv, info1)

---------------------^

fortcom: Error: HHP_CN.F90, line 319: There is no matching specific subroutine for this generic subroutine call. [GTTRS]

call GTTRS(dl, dd, du, du2, BB, ipiv, N, info2)

---------------------^

HHP_CN.F90(88): (col. 5) remark: PARTIAL LOOP WAS VECTORIZED.

HHP_CN.F90(88): (col. 5) remark: PARTIAL LOOP WAS VECTORIZED.

compilation aborted for HHP_CN.F90 (code 1)

make: *** [HHP_CN] Error 1



I would appreciate any help on that.



The versions of the software I use are as follows:

Mac OS X 10.5.4

FC ifort 10.1.017

MKL 10.0.5.025



Thanks,



Carles

0 Kudos
3 Replies
TimP
Honored Contributor III
961 Views

This question would be dealt with more efficiently on the MKL forum. According to what you posted, there may be a bug in the em64t build script. There should be no /32/ libraries involved in the em64t build.

Note that a more up to date 11.0 beta version, combining ifort and MKL, is offered at the top of the Fortran forum.

0 Kudos
carless
Beginner
961 Views
Quoting - tim18

This question would be dealt with more efficiently on the MKL forum. According to what you posted, there may be a bug in the em64t build script. There should be no /32/ libraries involved in the em64t build.

Note that a more up to date 11.0 beta version, combining ifort and MKL, is offered at the top of the Fortran forum.

Thank you, indeed MKL forum would have been more appropriate, I did not notice that. I am downloading the 11.0 beta version and will try to compile my code with it. About the /32/ libraries, they are created using the same build script in the <>/interfaces/lapack95, only that the command to be used then is

sudo make lib32

In any case, although probably there is a bug in the script to build the Fortran interface for em64t, does someone have any idea why my compilation with static linking and 32 fails?

Thanks,

Carles

0 Kudos
TimP
Honored Contributor III
961 Views
If you're attempting to link static MKL libraries, you should read the material on that subject in the MKL release notes and on the MKL forum on how to deal with the circular dependencies.
0 Kudos
Reply