11.07.2015 Views

PETSc Tutorial - The ACTS Toolkit

PETSc Tutorial - The ACTS Toolkit

PETSc Tutorial - The ACTS Toolkit

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MPI ConceptsHow do I run an example?CommunicatorA context (or scope) for parallel communication (“Who can I talk to”)<strong>The</strong>re are two defaults:yourself (PETSC COMM SELF),and everyone launched (PETSC COMM WORLD)Can create new communicators by splitting existing onesEvery <strong>PETSc</strong> object has a communicatorPoint-to-point communicationHappens between two processes (like in MatMult())Reduction or scan operationsHappens among all processes (like in VecDot())M. Knepley (ANL) <strong>Tutorial</strong> <strong>ACTS</strong> ’06 27 / 166

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!