1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>Purpose</TITLE>
<META NAME="description" CONTENT="Purpose">
<META NAME="keywords" CONTENT="slug">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="slug.css">
</HEAD>
<BODY LANG="EN" >
<A NAME="tex2html4333" HREF="node171.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://www.netlib.org/utk/icons/next_motif.gif"></A> <A NAME="tex2html4331" HREF="node169.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="http://www.netlib.org/utk/icons/up_motif.gif"></A> <A NAME="tex2html4325" HREF="node169.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://www.netlib.org/utk/icons/previous_motif.gif"></A> <A NAME="tex2html4335" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="http://www.netlib.org/utk/icons/contents_motif.gif"></A> <A NAME="tex2html4336" HREF="node190.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="http://www.netlib.org/utk/icons/index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html4334" HREF="node171.html">Arguments</A>
<B>Up:</B> <A NAME="tex2html4332" HREF="node169.html">PxTRMR2D</A>
<B> Previous:</B> <A NAME="tex2html4326" HREF="node169.html">PxTRMR2D</A>
<BR> <P>
<H3><A NAME="SECTION04853100000000000000">Purpose</A></H3>
<P>
PxTRMR2D copies the indicated (sub)matrix of A to the indicated
(sub)matrix of B. A and B can have arbitrary block-cyclic
distributions: they can be distributed across different process
grids, have different blocking factors, etc.
<P>
The (sub)matrix to be copied is assumed to be trapezoidal. So only
the upper or the lower part will be copied. The other part is
unchanged.
<P>
Particular care must be taken when the process grid over which matrix A
is distributed (call this context A) is disjoint from the
process grid over which matrix B is distributed (call this context B).
The general rules for which parameters need to be set are as follows:
<P>
<UL>
<LI>
All calling processes must have the correct M and N.
<LI>
Processes in context A must correctly define all parameters describing A.
<LI>
Processes in context B must correctly define all parameters describing B.
<LI>
Processes that are not members of context A must pass DESCA(CTXT_) = -1
and need not set other parameters describing A.
<LI>
Processes that are not members of context B must pass DESCB(CTXT_) = -1
and need not set other parameters describing B.
</UL><BR> <HR>
<P><ADDRESS>
<I>Susan Blackford <BR>
Tue May 13 09:21:01 EDT 1997</I>
</ADDRESS>
</BODY>
</HTML>
|