atomic counter increments
make openmp an optional dependency

although enabled by default.