Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
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.
7234 Discussions

lapack double complex test suite seg faults with mkl 9.1 and gfortran

celismr
Beginner
373 Views
I am running the lapack 3.1 test suite for double complex on a SLES10 system using gfortran compilers. I am using
% gfortran -L(MKL_PATH) -lmkl_gfortran -lmkl_lapack -lguide -lpthreads
when linking mkl.

The program xlintstz gives a segmentation fault. Using gdb I can see it occurs in zdotc_.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47446249872096 (LWP 22378)]
0x00002b26f148cd9a in IncAny_Loop4 () from /opt/intel/mkl/9.1.023/lib/em64t/libmkl_p4n.so
(gdb) where
#0 0x00002b26f148cd9a in IncAny_Loop4 () from /opt/intel/mkl/9.1.023/lib/em64t/libmkl_p4n.so
#1 0x00007fffbb188e88 in ?? ()
#2 0x00007fffbb189030 in ?? ()
#3 0x0000000009492f20 in a.945 ()
#4 0x00007fffbb189030 in ?? ()
#5 0x00007fffbb188e88 in ?? ()
#6 0x00002b26f1489b4e in zdotc_ () from /opt/intel/mkl/9.1.023/lib/em64t/libmkl_p4n.so
#7 0x00002b26efa3400e in w_zdotc () from /opt/intel/mkl/9.1.023/lib/em64t/libmkl_gfortran.so
#8 0x00002b26efa34132 in zdotc_ () from /opt/intel/mkl/9.1.023/lib/em64t/libmkl_gfortran.so
#9 0x0000000000000000 in ?? ()

Is this the proper way to use mkl and gfortran?

Thank you
Mimi Celis
0 Kudos
0 Replies
Reply