Is it possible that there are a maximum number of openmp locks one can allocate? I'm using ifort 11.1, and after a large amount of lock allocations, omp_init_lock() starts returning 0s.
So does this mean that I'm some how "out of locks"? EDIT: Also, I can't seem to replicate this on trivial test case. Any other reason omp_init_lock() would return 0?