Link an example of Lapack

Link an example of Lapack

I tried to compile and linkzgetrsx.f in the lapack example. When I used
link zgetrsx.obj mkl_s.lib
there was an error message:

zgetrsx.obj : error LNK2019: unresolved external symbol _X04DBF referenced in function _MAIN__
zgetrsx.exe : fatal error LNK1120: 1 unresolved externals

Do you know what's wrong?

Message Edited by on 01-09-2005 09:04 PM

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

There is a library of support functions which are needed for the examples. This can be found in /examples/lapack/lib.

However, we have simplified the building of the examples with a make file.

I built this example for Windows so my example below is based on that but it isn't much different to do this for Linux.

Here is a copy of my build of the example for dgetrf:

C:mklMKL72exampleslapack>nmake lib32 function=dgetrf+

Microsoft Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

set lib=....ia32lib;lib;%lib%
DGETRF Example Program Results

Details of factorization
1 2 3 4
1 5.2500 -2.9500 -0.9500 -3.8000
2 0.3429 3.8914 2.3757 0.4129
3 0.3010 -0.4631 -1.5139 0.2948
4 -0.2114 -0.3299 0.0047 0.1314

2 2 3 4

Hope this helps.


Leave a Comment

Please sign in to add a comment. Not a member? Join today