Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Rawlins__David
Beginner
55 Views

Seg fault in dqeqp3_ with 2012 Composer XE on Linux 64bit

Hi,

My code runs fine on Win7 32bit and 64bit, Osx 64bit and Linux 32bit, but produces a seg fault on Linux 64.  I'm using 2012 Composer XE.

Here is the back trace:

Program received signal SIGSEGV, Segmentation fault.
0x000000000081650b in dgeqp3_ ()
(gdb) bt
#0  0x000000000081650b in dgeqp3_ ()
#1  0x00000000007fe831 in T.76 ()
#2  0x0000000000801c08 in dlevmar_lec_dif ()
#3  0x00000000007e8bec in dlevmar_blec_dif ()
#4  0x000000000077f6ea in FELMOptimizeMethod::Solve (this=0x1bc6dd0, pOpt=0x7fffffff7f88) at levmar.cpp:159
#5  0x00000000005f43da in FEOptimizeData::Solve (this=0x7fffffff7f88) at FEOptimizer.cpp:396
#6  0x000000000079631c in optimize (fem=..., szfile=0x7fffffff80e3 "demo_opt.feb") at optimize.cpp:482
#7  0x000000000048d401 in main (argc=3, argv=0x7fffffff9448) at FEBio.cpp:156

It's particulary curious since I'm using the same compiler on Linux 32 bit.  Have you seen this error before?

Thanks,

Dave

0 Kudos
6 Replies
Gennady_F_Intel
Moderator
55 Views

Dave, We have not seen this issue before. Could you give the example? we will caheck it with the latest update of MKL 11.0.5? or you can evaluate it by himself.

Rawlins__David
Beginner
55 Views

Hi Gennady,

I realized that I was linking to the 10.2 version of the MKL.  When I link to the MKL included with the 2012 Composer XE I get the following seg fault:

Program received signal SIGSEGV, Segmentation fault.
0x00000000011f724d in mkl_pds_lp64_blkldlslvs1_omp_pardiso ()
(gdb) bt
#0  0x00000000011f724d in mkl_pds_lp64_blkldlslvs1_omp_pardiso ()
#1  0x0000000000000000 in ?? ()

I've attached the code.  Note that you will need to edit MKL_PATH and INTEL_INC in the Makefile.

Thanks for your help,

Dave

Rawlins__David
Beginner
55 Views

Here are the input files.  Run them by executing:

febio.lnx64 -s demo_opt.feb

Thanks,

Dave

Rawlins__David
Beginner
55 Views

Looks like the code didn't get uploaded... here it is.

Rawlins__David
Beginner
55 Views

Good news.  The MKL 11.0.5 version solved this problem.

Thanks,

Dave

Ying_H_Intel
Employee
55 Views

Reply