single worker (no mpi)