Nthreads is 1 if MPI is True