On Jueves 14 Mayo 2009, HUANG, Jianshi wrote:
> Is there anyone succeeded in using the multithreaded version of Intel
> MKL in SBCL? It crashed my lisp (segfault). I'm using SBCL 18.104.22.168
> x86_64 on Linux.
> I tried to debug using gdb but was unable to finish the program since
> too many SIGSEGVs were signaled and didn't seems to stop. So I have
> no idea why it crashed yet.
> The source code for testing is attached with the email, but you need
> to install Intel MKL first (and run the mklvarsem64t.sh script to
> establish the environment).
> The multithreaded version of Intel MKL depends on Linux's pthread for
> their openmp implementation. And I'm currently loading the
> libmkl_gnu_thread.so for the threading layer, as according to the
> documents this is the one that supports gnu compilers.
> It will be very helpful if someone can give me some advice.
I had similar experiences with threaded atlas. This commit solved my
22.214.171.124: resignal signals received in foreign threads
Signals delivered to threads started from foreign land (read: directly
by pthread_create, not by MAKE-THREAD) are redirected to a Lisp thread
by blocking all signals and resignalling.
So update to HEAD, compile sbcl with threads and try again.
Hope it helps for you, too.