Newsgroups: comp.parallel.mpi
From: joelp@icarus.astro.lsa.umich.edu (Joel Parriott)
Subject: Cart_Shift
Keywords: topology
Organization: U of Michigan, Ann Arbor
Date: 5 Apr 1995 00:52:23 GMT
Message-ID: <3lspk7$ri7@controversy.math.lsa.umich.edu>

I'm using a 2D cartesian communicator, and would like to use the 
MPI_CART_SHIFT function.  I'm unclear on what I need to enter for the
direction argument.  I've looked at the "manual" and the "Using MPI"
book, and can't find a clear description.  The "manual" just says, "...
coordinate dimension of shift."  In other words, what integers correspond
to above, below, left, right?  Also, it returns the source rank; shouldn't
that just be the calling process?

help.

thanks,

joel p.

