Crash Using OpenMP on OS X

Crash Using OpenMP on OS X

Hello,

I have Intel Compiler 2015 Update 6 on OS X (10.10 Yosemite).

I'm compiling 2 programs (Actually Dynamic Libraries) each uses OpenMP.
When I run them one after the other the second program crashes (It doesn't matter which is first and which is second, at any order).

When I turn off the OpenMP (Remove -Qopenmp) all is working (Removing all OpenMP Pragma's will also make them work).

What strange is that the same code runs on Windows without a problem (So it is verified not to have logical bug in it).

I looked on the attached error report.
It seems that though the first function which ran finished its tasks its threads are not closed (See threads #32 and #34 for instance).

How could it be the threads are still there when the function is finished?

What is wrong here?

Thank You.

AttachmentSize
Downloadtext/plain CrashReport0001.txt107.33 KB
2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

answered in compiler forum.

--Vladimir

Leave a Comment

Please sign in to add a comment. Not a member? Join today