Displaying 1 result from an estimated 1 matches for "kmp_csupport".
2010 Feb 03
1
ctrl-C aborts R when compiling package code with ICC+openMP
Hi all,
I have some C++ code that I call from my package. In my main C++ loop, I check for user interrupts and return to the R shell after ensuring I've deallocated memory appropriately. This works fine when the code is compiled with gcc+openmp and with icc without openmp, but when I compile with icc and use openmp, the entire R session is immediately terminated when I hit ctrl-C. This