mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-07 07:04:57 +00:00
Update docs for collectives
This commit is contained in:
+24
-11
@@ -10,7 +10,7 @@
|
||||
<link rel="stylesheet" type="text/css" href="userhtml.css">
|
||||
</head><body
|
||||
>
|
||||
<!--l. 345--><div class="crosslinks"><p class="noindent">[<a
|
||||
<!--l. 376--><div class="crosslinks"><p class="noindent">[<a
|
||||
href="userhtmlsu70.html" >next</a>] [<a
|
||||
href="userhtmlsu65.html" >prev</a>] [<a
|
||||
href="userhtmlsu65.html#tailuserhtmlsu65.html" >prev-tail</a>] [<a
|
||||
@@ -21,11 +21,11 @@ href="userhtmlsu59.html#userhtmlsu69.html" >up</a>] </p></div>
|
||||
|
||||
|
||||
|
||||
<pre class="verbatim" id="verbatim-70">
|
||||
<pre class="verbatim" id="verbatim-71">
|
||||
call psb_sum(ctxt, dat [, root, mode, request])
|
||||
</pre>
|
||||
<!--l. 349--><p class="nopar" >
|
||||
<!--l. 351--><p class="indent" > This subroutine implements a sum reduction operation based on the underlying
|
||||
<!--l. 380--><p class="nopar" >
|
||||
<!--l. 382--><p class="indent" > This subroutine implements a sum reduction operation based on the underlying
|
||||
communication library.
|
||||
<dl class="description"><dt class="description">
|
||||
<span
|
||||
@@ -86,7 +86,9 @@ class="newline" />Type: <span
|
||||
class="cmbx-10">optional</span>.<br
|
||||
class="newline" />Intent: <span
|
||||
class="cmbx-10">in</span>.<br
|
||||
class="newline" />Specified as: an integer, with the value determined by the bitwise OR of
|
||||
class="newline" />Specified as: an integer value. The action to be taken is determined by
|
||||
its bit fields, which can be set with bitwise <span class="obeylines-h"><span class="verb"><span
|
||||
class="cmtt-10">OR</span></span></span>. Basic action values are
|
||||
<span class="obeylines-h"><span class="verb"><span
|
||||
class="cmtt-10">psb_collective_start_</span></span></span>, <span class="obeylines-h"><span class="verb"><span
|
||||
class="cmtt-10">psb_collective_end_</span></span></span>. Default: both fields are
|
||||
@@ -105,7 +107,7 @@ class="cmbx-10">inout</span>.<br
|
||||
class="newline" />If <span class="obeylines-h"><span class="verb"><span
|
||||
class="cmtt-10">mode</span></span></span> does not specify synchronous completion, then this variable must
|
||||
be present.</dd></dl>
|
||||
<!--l. 392--><p class="indent" >
|
||||
<!--l. 423--><p class="indent" >
|
||||
<dl class="description"><dt class="description">
|
||||
<span
|
||||
class="cmbx-10">On Return</span> </dt><dd
|
||||
@@ -136,7 +138,7 @@ class="cmbx-10">inout</span>.<br
|
||||
class="newline" />If <span class="obeylines-h"><span class="verb"><span
|
||||
class="cmtt-10">mode</span></span></span> does not specify synchronous completion, then this variable must
|
||||
be present.</dd></dl>
|
||||
<!--l. 409--><p class="noindent" ><span
|
||||
<!--l. 440--><p class="noindent" ><span
|
||||
class="cmbx-12">Notes</span>
|
||||
<ol class="enumerate1" >
|
||||
<li
|
||||
@@ -145,20 +147,31 @@ class="cmtt-10">dat</span></span></span> argument is both input and output, and
|
||||
even on processes different from the final result destination.
|
||||
</li>
|
||||
<li
|
||||
class="enumerate" id="x78-115004x2">The <span class="obeylines-h"><span class="verb"><span
|
||||
class="cmtt-10">dat</span></span></span> argument may also be a long integer scalar.</li></ol>
|
||||
class="enumerate" id="x78-115004x2">When splitting the operation in two calls, the <span class="obeylines-h"><span class="verb"><span
|
||||
class="cmtt-10">dat</span></span></span> argument must not be
|
||||
accessed between calls:
|
||||
<div class="center"
|
||||
>
|
||||
<!--l. 456--><p class="noindent" >
|
||||
<div class="minipage"><pre class="verbatim" id="verbatim-72">
|
||||
  call psb_sum(ctxt,dat,mode=psb_collective_start_,request=sum_request)
|
||||
  .......
|
||||
  call psb_sum(ctxt,dat,mode=psb_collective_end_,request=sum_request)
|
||||
</pre>
|
||||
<!--l. 462--><p class="nopar" ></div></div>
|
||||
</li></ol>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--l. 419--><div class="crosslinks"><p class="noindent">[<a
|
||||
<!--l. 470--><div class="crosslinks"><p class="noindent">[<a
|
||||
href="userhtmlsu70.html" >next</a>] [<a
|
||||
href="userhtmlsu65.html" >prev</a>] [<a
|
||||
href="userhtmlsu65.html#tailuserhtmlsu65.html" >prev-tail</a>] [<a
|
||||
href="userhtmlsu66.html" >front</a>] [<a
|
||||
href="userhtmlsu59.html#userhtmlsu69.html" >up</a>] </p></div>
|
||||
<!--l. 419--><p class="indent" > <a
|
||||
<!--l. 470--><p class="indent" > <a
|
||||
id="tailuserhtmlsu66.html"></a>
|
||||
</body></html>
|
||||
|
||||
Reference in New Issue
Block a user