base/comm/psb_cgather.f90
 base/comm/psb_dgather.f90
 base/comm/psb_sgather.f90
 base/comm/psb_zgather.f90
 base/modules/psb_c_comm_mod.f90
 base/modules/psb_d_comm_mod.f90
 base/modules/psb_s_comm_mod.f90
 base/modules/psb_z_comm_mod.f90


Fixed ALLOCATABLE attribute of globx.
Also updated docs.
This commit is contained in:
Salvatore Filippone
2012-03-16 21:03:02 +00:00
parent 205d2af765
commit 53a7db871a
200 changed files with 1326 additions and 1254 deletions
+14 -14
View File
@@ -93,11 +93,11 @@ Specified as: an integer value.
$i\in \{1\dots mg\}$
-->
<IMG
WIDTH="99" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
WIDTH="98" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img84.png"
ALT="$i\in \{1\dots mg\}$"> is allocated
to process <IMG
WIDTH="38" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
WIDTH="39" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img85.png"
ALT="$vg(i)$">.
<BR>
@@ -111,7 +111,7 @@ Specified as: an integer array.
</DD>
<DT><STRONG>flag</STRONG></DT>
<DD>Specifies whether entries in <IMG
WIDTH="21" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
WIDTH="20" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
SRC="img86.png"
ALT="$vg$"> are zero- or one-based.
<BR>
@@ -125,7 +125,7 @@ Specified as: an integer value <IMG
WIDTH="27" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
SRC="img87.png"
ALT="$0,1$">, default <IMG
WIDTH="12" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
WIDTH="12" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
SRC="img88.png"
ALT="$0$">.
@@ -155,7 +155,7 @@ Specified as: a subroutine.
<DT><STRONG>vl</STRONG></DT>
<DD>Data allocation: the set of global indices
<IMG
WIDTH="65" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
WIDTH="66" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img89.png"
ALT="$vl(1:nl)$"> belonging to the calling process.
<BR>
@@ -285,7 +285,7 @@ An integer value; 0 means no error has been detected.
$0\le pv(i) < np$
-->
<IMG
WIDTH="107" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
WIDTH="106" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img90.png"
ALT="$0\le pv(i) &lt; np$">; if <IMG
WIDTH="51" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
@@ -303,23 +303,23 @@ An integer value; 0 means no error has been detected.
$i \in \{1\dots mg\}$
-->
<IMG
WIDTH="99" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
WIDTH="98" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img84.png"
ALT="$i\in \{1\dots mg\}$"> is assigned to process <IMG
WIDTH="38" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
WIDTH="39" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img85.png"
ALT="$vg(i)$">.
The vector <code>vg</code> must be identical on all
calling processes; its entries may have the ranges <IMG
WIDTH="94" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
WIDTH="93" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img92.png"
ALT="$(0\dots np-1)$">
or <IMG
WIDTH="65" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
WIDTH="66" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img93.png"
ALT="$(1\dots np)$"> according to the value of <code>flag</code>.
The size <IMG
WIDTH="27" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
WIDTH="26" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
SRC="img94.png"
ALT="$mg$"> may be specified via the optional argument <code>mg</code>;
the default is to use the entire vector <code>vg</code>, thus having
@@ -329,7 +329,7 @@ An integer value; 0 means no error has been detected.
<DD>In this case we are specifying the list of indices
<code>vl(1:nl)</code> assigned to the current process; thus, the global
problem size <IMG
WIDTH="27" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
WIDTH="26" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
SRC="img94.png"
ALT="$mg$"> is given by
the range of the aggregate of the individual vectors <code>vl</code> specified
@@ -338,7 +338,7 @@ An integer value; 0 means no error has been detected.
<code>nl=size(vl)</code>.
If <code>globalcheck=.true.</code> the subroutine will check how many
times each entry in the global index space <IMG
WIDTH="70" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
WIDTH="71" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img95.png"
ALT="$(1\dots mg)$"> is
specified in the input lists <code>vl</code>, thus allowing for the
@@ -352,7 +352,7 @@ An integer value; 0 means no error has been detected.
<DD>If this argument is specified alone (i.e. without <code>vl</code>)
the result is a generalized row-block distribution in which each
process <IMG
WIDTH="13" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
WIDTH="12" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img96.png"
ALT="$I$"> gets assigned a consecutive chunk of <IMG
WIDTH="60" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"