do not rely on OpenMP to determine number of threads