Very Strange OpenMP behavior Calling CAMB from Octave
-
- Posts: 5
- Joined: May 18 2006
- Affiliation: CITA
Very Strange OpenMP behavior Calling CAMB from Octave
Hey folks - I'm trying to call CAMB from Octave (free Matlab clone), which is written C++, using a C wrapper. When I do this, CAMB runs fine the first time I call it, then hangs on repeat calls if more than one loop is parallelized. But one loop is fine on repeated calls. Which would even be OK if the same loop were the most critical one for both low-ell and high-ell regimes, but that turns out not to be the case. Anyone seen this behavior or have thoughts on how to fix it?