add num processes getter
remove mpi dependency on server