Fix collective docs

This commit is contained in:
Salvatore Filippone
2022-04-04 11:26:28 +02:00
parent 040d619d08
commit cdb65796e4
19 changed files with 2462 additions and 1937 deletions
+32 -16
View File
@@ -10,7 +10,7 @@
<link rel="stylesheet" type="text/css" href="userhtml.css">
</head><body
>
<!--l. 846--><div class="crosslinks"><p class="noindent">[<a
<!--l. 960--><div class="crosslinks"><p class="noindent">[<a
href="userhtmlsu74.html" >next</a>] [<a
href="userhtmlsu70.html" >prev</a>] [<a
href="userhtmlsu70.html#tailuserhtmlsu70.html" >prev-tail</a>] [<a
@@ -21,11 +21,11 @@ href="userhtmlsu59.html#userhtmlse8.html" >up</a>] </p></div>
<pre class="verbatim" id="verbatim-81">
<pre class="verbatim" id="verbatim-87">
call&#x00A0;psb_nrm2(ctxt,&#x00A0;dat&#x00A0;[,&#x00A0;root,&#x00A0;mode,&#x00A0;request])
</pre>
<!--l. 850--><p class="nopar" >
<!--l. 852--><p class="indent" > This subroutine implements a 2-norm value reduction operation based on the
<!--l. 964--><p class="nopar" >
<!--l. 966--><p class="indent" > This subroutine implements a 2-norm value reduction operation based on the
underlying communication library.
<dl class="description"><dt class="description">
<span
@@ -111,7 +111,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. 894--><p class="indent" >
<!--l. 1008--><p class="indent" >
<dl class="description"><dt class="description">
<span
class="cmbx-10">On Return</span> </dt><dd
@@ -141,7 +141,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. 912--><p class="noindent" ><span
<!--l. 1026--><p class="noindent" ><span
class="cmbx-12">Notes</span>
<ol class="enumerate1" >
<li
@@ -162,7 +162,7 @@ src="userhtml29x.png" alt=" &#x2218; &#x2211;------
res = dat2i,
i
" class="math-display" ></center>
<!--l. 918--><p class="nopar" > with care taken to avoid unnecessary overflow.
<!--l. 1032--><p class="nopar" > with care taken to avoid unnecessary overflow.
</li>
<li
class="enumerate" id="x83-120006x3">The <span class="obeylines-h"><span class="verb"><span
@@ -170,21 +170,37 @@ 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="x83-120008x4">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:
class="enumerate" id="x83-120008x4">The <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">mode</span></span></span> argument can be built with the bitwise <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">IOR()</span></span></span> operator; in the
following example, the argument is forcing immediate completion, hence the
<span class="obeylines-h"><span class="verb"><span
class="cmtt-10">request</span></span></span> argument needs not be specified:
<div class="center"
>
<!--l. 934--><p class="noindent" >
<div class="minipage"><pre class="verbatim" id="verbatim-82">
<!--l. 1047--><p class="noindent" >
<div class="minipage"><pre class="verbatim" id="verbatim-88">
&#x00A0;&#x00A0;call&#x00A0;psb_nrm2(ctxt,dat,mode=ior(psb_collective_start_,psb_collective_end_))
</pre>
<!--l. 1051--><p class="nopar" ></div></div>
</li>
<li
class="enumerate" id="x83-120010x5">When splitting the operation in two calls, the <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">dat</span></span></span> argument <span
class="cmti-10">must not </span>be
accessed between calls:
<div class="center"
>
<!--l. 1067--><p class="noindent" >
<div class="minipage"><pre class="verbatim" id="verbatim-89">
&#x00A0;&#x00A0;call&#x00A0;psb_nrm2(ctxt,dat,mode=psb_collective_start_,request=nrm2_request)
&#x00A0;&#x00A0;.......
&#x00A0;&#x00A0;.......&#x00A0;!&#x00A0;Do&#x00A0;not&#x00A0;access&#x00A0;dat
&#x00A0;&#x00A0;call&#x00A0;psb_nrm2(ctxt,dat,mode=psb_collective_end_,request=nrm2_request)
</pre>
<!--l. 940--><p class="nopar" ></div></div>
<!--l. 1073--><p class="nopar" ></div></div>
</li></ol>
@@ -192,12 +208,12 @@ class="cmtt-10">dat</span></span></span> argument must not be
<!--l. 948--><div class="crosslinks"><p class="noindent">[<a
<!--l. 1081--><div class="crosslinks"><p class="noindent">[<a
href="userhtmlsu74.html" >next</a>] [<a
href="userhtmlsu70.html" >prev</a>] [<a
href="userhtmlsu70.html#tailuserhtmlsu70.html" >prev-tail</a>] [<a
href="userhtmlsu71.html" >front</a>] [<a
href="userhtmlsu59.html#userhtmlse8.html" >up</a>] </p></div>
<!--l. 948--><p class="indent" > <a
<!--l. 1081--><p class="indent" > <a
id="tailuserhtmlsu71.html"></a>
</body></html>