|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<html >
|
|
|
|
<head><title>psb_bcast — Broadcast data</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
|
<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)">
|
|
|
|
<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)">
|
|
|
|
<!-- html,3 -->
|
|
|
|
<meta name="src" content="userhtml.tex">
|
|
|
|
<link rel="stylesheet" type="text/css" href="userhtml.css">
|
|
|
|
</head><body
|
|
|
|
>
|
|
|
|
<!--l. 280--><div class="crosslinks"><p class="noindent">[<a
|
|
|
|
href="userhtmlsu69.html" >next</a>] [<a
|
|
|
|
href="userhtmlsu64.html" >prev</a>] [<a
|
|
|
|
href="userhtmlsu64.html#tailuserhtmlsu64.html" >prev-tail</a>] [<a
|
|
|
|
href="userhtmlsu62.html#tailuserhtmlsu65.html">tail</a>] [<a
|
|
|
|
href="userhtmlsu59.html#userhtmlsu68.html" >up</a>] </p></div>
|
|
|
|
<h4 class="subsectionHead"><span class="titlemark">7.9 </span> <a
|
|
|
|
id="x77-1140007.9"></a>psb_bcast — Broadcast data</h4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<pre class="verbatim" id="verbatim-69">
|
|
|
|
call psb_bcast(ctxt, dat, root)
|
|
|
|
</pre>
|
|
|
|
<!--l. 284--><p class="nopar" >
|
|
|
|
<!--l. 286--><p class="indent" > This subroutine implements a broadcast operation based on the underlying
|
|
|
|
communication library.
|
|
|
|
<dl class="description"><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">Type:</span> </dt><dd
|
|
|
|
class="description">Synchronous.
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">On Entry</span> </dt><dd
|
|
|
|
class="description">
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">ctxt</span> </dt><dd
|
|
|
|
class="description">the communication context identifying the virtual parallel machine.<br
|
|
|
|
class="newline" />Scope: <span
|
|
|
|
class="cmbx-10">global</span>.<br
|
|
|
|
class="newline" />Type: <span
|
|
|
|
class="cmbx-10">required</span>.<br
|
|
|
|
class="newline" />Intent: <span
|
|
|
|
class="cmbx-10">in</span>.<br
|
|
|
|
class="newline" />Specified as: an integer variable.
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">dat</span> </dt><dd
|
|
|
|
class="description">On the root process, the data to be broadcast.<br
|
|
|
|
class="newline" />Scope: <span
|
|
|
|
class="cmbx-10">global</span>.<br
|
|
|
|
class="newline" />Type: <span
|
|
|
|
class="cmbx-10">required</span>.<br
|
|
|
|
class="newline" />Intent: <span
|
|
|
|
class="cmbx-10">inout</span>.<br
|
|
|
|
class="newline" />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 variable, which may be
|
|
|
|
a scalar or rank 1 array.  Type, kind, rank and size must agree on all
|
|
|
|
processes.
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">root</span> </dt><dd
|
|
|
|
class="description">Root process holding data to be broadcast.<br
|
|
|
|
class="newline" />Scope: <span
|
|
|
|
class="cmbx-10">global</span>.<br
|
|
|
|
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 value 0 <span
|
|
|
|
class="cmmi-10"><</span>= <span
|
|
|
|
class="cmmi-10">root <</span>= <span
|
|
|
|
class="cmmi-10">np </span><span
|
|
|
|
class="cmsy-10">- </span>1, default 0  </dd></dl>
|
|
|
|
<!--l. 313--><p class="indent" >
|
|
|
|
<dl class="description"><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">On Return</span> </dt><dd
|
|
|
|
class="description">
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">dat</span> </dt><dd
|
|
|
|
class="description">On processes other than root, the data to be broadcast.<br
|
|
|
|
class="newline" />Scope: <span
|
|
|
|
class="cmbx-10">global</span>.<br
|
|
|
|
class="newline" />Type: <span
|
|
|
|
class="cmbx-10">required</span>.<br
|
|
|
|
class="newline" />Intent: <span
|
|
|
|
class="cmbx-10">inout</span>.<br
|
|
|
|
class="newline" />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, rank
|
|
|
|
and size must agree on all processes.</dd></dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--l. 325--><div class="crosslinks"><p class="noindent">[<a
|
|
|
|
href="userhtmlsu69.html" >next</a>] [<a
|
|
|
|
href="userhtmlsu64.html" >prev</a>] [<a
|
|
|
|
href="userhtmlsu64.html#tailuserhtmlsu64.html" >prev-tail</a>] [<a
|
|
|
|
href="userhtmlsu65.html" >front</a>] [<a
|
|
|
|
href="userhtmlsu59.html#userhtmlsu68.html" >up</a>] </p></div>
|
|
|
|
<!--l. 325--><p class="indent" > <a
|
|
|
|
id="tailuserhtmlsu65.html"></a>
|
|
|
|
</body></html>
|