- start ipcontroller
-
start ipengines:
mpiexec -n 4 ipengine –mpi=pytrilinos
-
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())