@@ -0,0 +1,448 @@
+from mpi4py import MPI%0A%0Aclass MPIHelper(object):%0A    def __init__(self):%0A        self.comm = MPI.COMM_WORLD%0A%0A    def get_rank(self):%0A        return self.comm.Get_rank()%0A%0A    def get_size(self):%0A        return self.comm.Get_size()%0A%0A    def get_ip(self):%0A        import socket%0A        local_ip = socket.gethostbyname(socket.gethostname())%0A        return local_ip%0A%0A    def get_hostname(self):%0A        import socket%0A        return socket.gethostname()%0A

add mpi4py helper