changed num_threads in dist_init_dmnu.f90 to be cores*nested_threads