legion mpi works