Community
cancel
Showing results for 
Search instead for 
Did you mean: 
108 Views

MKL+GCC+GOMP segfaults

Hi, I am experiencing the problem that I mention in the title. I have a program that we have built and linked in three different way: (i) ICC + MKL, (ii) GCC + MKL + GOMP and (iii) GCC + Atlas. Out of them, only (i) and (iii) seem to work, because option (ii) breaks down with a segmentation fault in mkl_serv_malloc() after exhausting all memory.

0 Kudos
2 Replies
Gennady_F_Intel
Moderator
108 Views

can you give us the example of the code for reproducing the problem on our side?

108 Views

Hi Gennady, I am not sure whether this is useful for you. I bundled our simulation code here

https://dl.dropboxusercontent.com/u/23177754/mps-bundle-gcc.tar.gz

It consists on a general purpose high-level algebra library for C++ (mps-bundle-gcc/) and the simulation itself (mps-bundle-gcc/xy_...). To build it and run it is a three steps process:

* From mps-bundle-gcc/ issue "CC=gcc make build" this should detect the Intel MKL library and build the software with it

* From mps-bundle-gcc/xy_stuck issue "make"

* Execute mps-bundle-gcc/xy_stuck/xy_stuck.exe

In our case memory consumption grows until the program issues a SIGSEGV

I attach here the valgrind summary

https://dl.dropboxusercontent.com/u/23177754/xy_stuck.log

Reply