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

PARDISO - Invalid Address specified to RtlFreeHeap

d_shor
Beginner
222 Views

happens even in the simple pardiso_sym_c.c example, every few runs.

happened every run with a read larger problem.

on vs2005

both on core 2 and p4p

the libs used are

#pragma

comment (lib,"mkl_intel_c_dll.lib")

#pragma

comment (lib,"mkl_core_dll.lib")

#pragma

comment (lib,"libguide40.lib")

//#pragma comment (linker,"/NODEFAULTLIB:libguide40.lib")

//#pragma comment (linker,"/NODEFAULTLIB:libguide.lib")

//#pragma comment (lib,"libiomp5mt.lib")

#pragma

comment (lib,"mkl_intel_thread_dll.lib")

#pragma

comment (lib,"mkl_solver.lib")

output:

solver.exe': Loaded 'C:Program FilesIntelMKL10.0.2.019ia32inmkl_p4p.dll', Binary was not built with debug information.

'solver.exe': Loaded 'C:Program FilesIntelMKL10.0.2.019ia32inmkl_def.dll', Binary was not built with debug information.

'solver.exe': Loaded 'C:Program FilesIntelMKL10.0.2.019ia32inlibimalloc.dll', No symbols loaded.

'solver.exe': Unloaded 'C:Program FilesIntelMKL10.0.2.019ia32inlibimalloc.dll'

'solver.exe': Loaded 'C:Program FilesIntelMKL10.0.2.019ia32inmkl_lapack.dll', Binary was not built with debug information.

The thread 'Win32 Thread' (0xc6c) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x86c) has exited with code 0 (0x0).

HEAP[solver.exe]: Invalid Address specified to RtlFreeHeap( 00370000, 00372E40 )

Windows has triggered a breakpoint in solver.exe.

This may be due to a corruption of the heap, and indicates a bug in solver.exe or any of the DLLs it has loaded.

The output window may have more diagnostic information

The program '[3628] solver.exe: Native' has exited with code 0 (0x0).

.

.

.

.

second problem in using the libiomp5mt.lib threading lib

with linker settings

#pragma

comment (lib,"mkl_intel_c_dll.lib")

#pragma

comment (lib,"mkl_core_dll.lib")

//#pragma comment (lib,"libguide40.lib")

#pragma

comment (linker,"/NODEFAULTLIB:libguide40.lib")

#pragma

comment (linker,"/NODEFAULTLIB:libguide.lib")

#pragma

comment (lib,"libiomp5mt.lib")

#pragma

comment (lib,"mkl_intel_thread_dll.lib")

#pragma

comment (lib,"mkl_solver.lib")

I still get this error

C:Program FilesIntelMKL10.0.2.019examplessolversourcesolverRelease>solv
er.exe
OMP abort: Initializing libiomp5mt.lib, but found libguide40.lib already initial
ized.
This may cause performance degradation and correctness issues.
Set environment variable KMP_DUPLICATE_LIB_OK=TRUE to ignore
this problem and force the program to continue anyway.
Please note that the use of KMP_DUPLICATE_LIB_OK is unsupported
and using it may cause undefined behavior.
For more information, please contact Intel Premier Support.

0 Kudos
1 Reply
rbarron
New Contributor I
222 Views

I reported the firstissue to Intel Premier support back in January.

I saw the samebehaviorin differentprograms using LAPACK or DFTI.

The warning occurs only when running under VS2005 debugger, and there
seems to be no other consequence -- my program performs correctly.

In March they notified me that afix is targeted for update 3,
which would be the next release afterMKL 10.0.2.019.

0 Kudos
Reply