An MPI library written in UPC