fixed a mistake in last commit, was referring to mpi functions in dealloc_qnode after mpi_finalize