next up previous
Next: Creating the particle datatype Up: Particle migration Previous: Creating a 3D topology

Skeleton code for migration


Skeleton Code

int ierr, status, errcode=21;

ierr = MPI_Topo_test (comm3d, &status);
if (status != MPI_CART) 
    ierr = MPI_Abort (comm3d, errcode);

CREATE PARTICLE DATATYPE

CREATE SEND/RECV DATATYPES

COMMUNICATE DATA



David W Walker
Mon Jan 20 11:10:22 GMT 1997