nbthreads ok