[Omp] A problem with guard objects and exceptions on Intel

Micah Elliott mde at micah.elliott.name
Tue Aug 22 16:38:59 PDT 2006


On 2006-08-22 Michael Suess wrote:

> I have just published a blog entry comparing the merits of
> guard objects vs. the critical construct (with C++ and OpenMP).
> The problem I have now is: My test programs with exceptions and
> guard objects do not work for the Intel Compiler. Since this
> would not be the first time I missed something, I figured I
> would double check here before filing a bug with Intel.
> 
> So if you find the time, please take a look at the code for the
> guard object, enclosed in the following article:
> http://www.thinkingparallel.com/2006/08/21/scoped-locking-vs-critical-in-openmp-a-personal-shootout/

I didn't take much time in looking at the code, but I did compile
what I found on the site with icpc, and saw that you'll get the
SEGV if you don't increase your stack limit (e.g., "ulimit -s
unlimited" in bash).

Thanks.
-- 
_ _     ___
|V|icah |- lliott             <><             mde at micah.elliott.name
" "     """


More information about the Omp mailing list