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

Error compiling custom DLL (builder) with pardiso

crispybits
Beginner
803 Views
Hello. The linker says:

mkl_core.lib(pardiso_parse_ooc_io_errors.obj) : error LNK2001: unresolved external symbol __fseeki64

The functions_list file contains one line:
pardiso

Make command line is:
nmake ia32 BUF_LIB=

It works fine with the default functions_list file.

Compiler is MS Visual C++ 2008 Express Edition
MKL version is 10.1.0.018
Computer is 32bit.

0 Kudos
2 Replies
Gennady_F_Intel
Moderator
803 Views
I used to reporoduce your problem with MS Visual C++ 2008 Professioanl Edition
and all are OK.
1.
Please see below the output I got:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:AppsIntelMKL10.1toolsbuilder> nmake ia32 export=_pardiso_list.txt BUF_LIB=

Microsoft Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

set Lib=%Lib%;..\..\\ia32\lib\
if exist .temp_cdll rd /q /s .temp_cdll
Microsoft Library Manager Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft Library Manager Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

link /DLL /MACHINE:IX86 /NODEFAULTLIB /def:user_def_file.def .temp_cdll*.obj ..\..\
\ia32\lib\mkl_intel_c.lib ..\..\\ia32\lib\mkl_intel_thread.lib ..\..\\ia32\lib\mkl_co
re.lib ..\..\\ia32\lib\mkl_solver.lib libiomp5md.lib msvcrt.lib kernel32.lib user32.lib /o
ut:"mkl_custom".dll
Microsoft Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

Creating library mkl_custom.lib and object mkl_custom.exp

C:AppsIntelMKL10.1toolsbuilder>

2. The file called _pardiso_list.txt contains only one line: pardiso
3. MKL 10.1



0 Kudos
crispybits
Beginner
803 Views
Cheers. Somehow it's fixed itself here too.


I used to reporoduce your problem with MS Visual C++ 2008 Professioanl Edition
and all are OK.
1.
Please see below the output I got:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:AppsIntelMKL10.1toolsbuilder> nmake ia32 export=_pardiso_list.txt BUF_LIB=

Microsoft Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

set Lib=%Lib%;..\..\\ia32\lib\
if exist .temp_cdll rd /q /s .temp_cdll
Microsoft Library Manager Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft Library Manager Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

link /DLL /MACHINE:IX86 /NODEFAULTLIB /def:user_def_file.def .temp_cdll*.obj ..\..\
\ia32\lib\mkl_intel_c.lib ..\..\\ia32\lib\mkl_intel_thread.lib ..\..\\ia32\lib\mkl_co
re.lib ..\..\\ia32\lib\mkl_solver.lib libiomp5md.lib msvcrt.lib kernel32.lib user32.lib /o
ut:"mkl_custom".dll
Microsoft Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

Creating library mkl_custom.lib and object mkl_custom.exp

C:AppsIntelMKL10.1toolsbuilder>

2. The file called _pardiso_list.txt contains only one line: pardiso
3. MKL 10.1




0 Kudos
Reply