Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29284 Discussions

segmentation fault while using mkl libs

manoj_t_nair
Beginner
636 Views
hi,

i have intel fortran 64 XE (v 12.0.4.191 build 20110427) on my system i am trying to use lapack libraries (dgetrf and dgetrs) for solving a linear system. i am linking the following libs: -lmkl_sequential -lmkl_core -lmkl_intel_ilp64. on execution i get the following error

forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
libmkl_mc3.so 00002B068F143EF2 Unknown Unknown Unknown

the same code works with v11.0 of the compiler on another system. i found the same problem while tring to use dggev routine from lapack on v12.04.191. are there any different flags to be provided while compiling. thanks.

regards
manoj
0 Kudos
1 Reply
mecej4
Honored Contributor III
636 Views
See the link

Diagnosing SIGSEGV errors
for a discussion of the causes, diagnosis and cure for seg-faults.

How did you choose the option -lmkl_intel_ilp64? Show the declarations of the arguments passed to the MKL routine, the line(s) of source code with the call, and include information on the values of the arguments if relevant.

0 Kudos
Reply