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

MP: Error #13: Assertion failure at kmp_csupport.cpp(710).

PPRiphagen
Beginner
663 Views

MP: Error #13: Assertion failure at kmp_csupport.cpp(710).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program so
urces. For information on submitting this issue, please see http://www.intel.com/software/products/support/.

Thread 22 "openmp_worker" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb9ada880 (LWP 262991)]
0x00007fffecc1f122 in __kmp_tid_from_gtid (gtid=3) at ../../src/kmp.h:3824
3824    ../../src/kmp.h: No such file or directory.
(gdb) bt
#0  0x00007fffecc1f122 in __kmp_tid_from_gtid (gtid=3) at ../../src/kmp.h:3824
#1  __kmp_invoke_task_func (gtid=3) at ../../src/kmp_runtime.cpp:8368
#2  0x0000555556c912ee in __kmp_launch_thread ()
#3  0x0000555556cd6d81 in __kmp_launch_worker(void*) ()
#4  0x00007ffff78a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5  0x00007ffff5c2d353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Running on Ubuntu 20.04, built SuiteSparse using the MKL library, we are using Cholmod linked to Mkl Lapack/BLAS via mkl_intel_lp64 and mkl_intel_thread.

Do you maybe have suggestions how to debug this to find the problem?

Running the same code on ubuntu 25.10 using the same Mkl does not give this problems. ( Not exactly the same SuiteSparse, but I can try that)

0 Kudos
2 Replies
Fengrui
Moderator
519 Views

Could you run with MKL_VERBOSE=1 on Ubuntu 25.10 and share the related output for the MKL call that caused the failure on Ubuntu 20.04?

0 Kudos
PPRiphagen
Beginner
325 Views

Sorry for the late reply, but your reply got stuck in my junk folder.

I allready figured out the problem, it was related to the mkl_intel_lp64 vs mkl_intel_ilp64 versions issue.

I setup the linkage using ilp64, where i should have been using lp64, which caused these crashes.

Thank you for your follow up, sorry for the issue report that was in the end no issue

0 Kudos
Reply