Updated docs.
This commit is contained in:
Salvatore Filippone
2014-03-25 11:24:42 +00:00
parent 38b70b287f
commit fdaa0f5d74
127 changed files with 14415 additions and 14395 deletions
+58 -57
View File
@@ -7,8 +7,8 @@ original version by: Nikos Drakos, CBLU, University of Leeds
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>psb_rcv -- Receive data</TITLE>
<META NAME="description" CONTENT="psb_rcv -- Receive data">
<TITLE>psb_snd -- Send data</TITLE>
<META NAME="description" CONTENT="psb_snd -- Send data">
<META NAME="keywords" CONTENT="userhtml">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
@@ -18,52 +18,53 @@ original version by: Nikos Drakos, CBLU, University of Leeds
<LINK REL="STYLESHEET" HREF="userhtml.css">
<LINK REL="next" HREF="node110.html">
<LINK REL="previous" HREF="node108.html">
<LINK REL="up" HREF="node93.html">
<LINK REL="up" HREF="node94.html">
<LINK REL="next" HREF="node110.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1594"
<A NAME="tex2html1599"
HREF="node110.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html1590"
HREF="node93.html">
<A NAME="tex2html1595"
HREF="node94.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html1586"
<A NAME="tex2html1589"
HREF="node108.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<A NAME="tex2html1592"
<A NAME="tex2html1597"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1595"
HREF="node110.html">Error handling</A>
<B> Up:</B> <A NAME="tex2html1591"
HREF="node93.html">Parallel environment routines</A>
<B> Previous:</B> <A NAME="tex2html1587"
HREF="node108.html">psb_snd Send</A>
&nbsp; <B> <A NAME="tex2html1593"
<B> Next:</B> <A NAME="tex2html1600"
HREF="node110.html">psb_rcv Receive</A>
<B> Up:</B> <A NAME="tex2html1596"
HREF="node94.html">Parallel environment routines</A>
<B> Previous:</B> <A NAME="tex2html1590"
HREF="node108.html">psb_amn Global</A>
&nbsp; <B> <A NAME="tex2html1598"
HREF="node1.html">Contents</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION000816000000000000000">
psb_rcv -- Receive data</A>
<H2><A NAME="SECTION000815000000000000000">
psb_snd -- Send data</A>
</H2>
<P>
<PRE>
call psb_rcv(icontxt, dat, src, m)
call psb_snd(icontxt, dat, dst, m)
</PRE>
<P>
This subroutine receives a packet of data to a destination.
This subroutine sends a packet of data to a destination.
<DL>
<DT><STRONG>Type:</STRONG></DT>
<DD>Synchronous: see usage notes.
<DD>Synchronous: see usage notes.
</DD>
<DT><STRONG><B>On Entry </B></STRONG></DT>
<DD>
@@ -80,8 +81,24 @@ Intent: <B>in</B>.
<BR>
Specified as: an integer variable.
</DD>
<DT><STRONG>src</STRONG></DT>
<DD>Source process.
<DT><STRONG>dat</STRONG></DT>
<DD>The data to be sent.
<BR>
Scope: <B>local</B>.
<BR>
Type: <B>required</B>.
<BR>
Intent: <B>in</B>.
<BR>
Specified as: an integer, real or complex variable, which may be a
scalar, or a rank 1 or 2 array, or a character or logical scalar. Type, kind and rank must agree on sender and receiver process; if <IMG
WIDTH="18" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
SRC="img134.png"
ALT="$m$"> is
not specified, size must agree as well.
</DD>
<DT><STRONG>dst</STRONG></DT>
<DD>Destination process.
<BR>
Scope: <B>global</B>.
<BR>
@@ -90,12 +107,12 @@ Type: <B>required</B>.
Intent: <B>in</B>.
<BR>
Specified as: an integer value <!-- MATH
$0<= src <= np-1$
$0<= dst <= np-1$
-->
<IMG
WIDTH="146" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
SRC="img140.png"
ALT="$0&lt;= src &lt;= np-1$">.
SRC="img135.png"
ALT="$0&lt;= dst &lt;= np-1$">.
<BR></DD>
<DT><STRONG>m</STRONG></DT>
<DD>Number of rows.
@@ -131,22 +148,6 @@ same value on sending and receiving processes.
<DT><STRONG><B>On Return</B></STRONG></DT>
<DD>
</DD>
<DT><STRONG>dat</STRONG></DT>
<DD>The data to be received.
<BR>
Scope: <B>local</B>.
<BR>
Type: <B>required</B>.
<BR>
Intent: <B>inout</B>.
<BR>
Specified as: an integer, real or complex variable, which may be a
scalar, or a rank 1 or 2 array, or a character or logical scalar. Type, kind and rank must agree on sender and receiver process; if <IMG
WIDTH="18" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
SRC="img134.png"
ALT="$m$"> is
not specified, size must agree as well.
</DD>
</DL>
<P>
@@ -154,36 +155,36 @@ not specified, size must agree as well.
<OL>
<LI>This subroutine implies a synchronization, but only between the
calling process and the source process <IMG
WIDTH="26" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
SRC="img141.png"
ALT="$src$">.
calling process and the destination process <IMG
WIDTH="26" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img139.png"
ALT="$dst$">.
</LI>
</OL>
<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1594"
<A NAME="tex2html1599"
HREF="node110.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html1590"
HREF="node93.html">
<A NAME="tex2html1595"
HREF="node94.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html1586"
<A NAME="tex2html1589"
HREF="node108.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<A NAME="tex2html1592"
<A NAME="tex2html1597"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1595"
HREF="node110.html">Error handling</A>
<B> Up:</B> <A NAME="tex2html1591"
HREF="node93.html">Parallel environment routines</A>
<B> Previous:</B> <A NAME="tex2html1587"
HREF="node108.html">psb_snd Send</A>
&nbsp; <B> <A NAME="tex2html1593"
<B> Next:</B> <A NAME="tex2html1600"
HREF="node110.html">psb_rcv Receive</A>
<B> Up:</B> <A NAME="tex2html1596"
HREF="node94.html">Parallel environment routines</A>
<B> Previous:</B> <A NAME="tex2html1590"
HREF="node108.html">psb_amn Global</A>
&nbsp; <B> <A NAME="tex2html1598"
HREF="node1.html">Contents</A></B>
<!--End of Navigation Panel-->