1. start ipcontroller

  2. start ipengines:
    mpiexec -n 4 ipengine --mpi=pytrilinos

  3. start ipython 0.11:
    import PyTrilinos
    from IPython.kernel import client
    mec = client.MultiEngineClient()
    %load_ext parallelmagic
    mec.activate()
    px import PyTrilinos
    px comm=PyTrilinos.Epetra.PyComm()
    px print(comm.NumProc())