You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
psblas3/docs/html/userhtmlsu58.html

119 lines
5.0 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title>psb_info &#8212; Return information about PSBLAS parallel environment</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. 65--><div class="crosslinks"><p class="noindent">[<a
href="userhtmlsu62.html" >next</a>] [<a
href="userhtmlsu57.html" >prev</a>] [<a
href="userhtmlsu57.html#tailuserhtmlsu57.html" >prev-tail</a>] [<a
href="userhtmlsu56.html#tailuserhtmlsu58.html">tail</a>] [<a
href="userhtmlsu59.html#userhtmlsu61.html" >up</a>] </p></div>
<h4 class="subsectionHead"><span class="titlemark">7.2 </span> <a
id="x70-1070007.2"></a>psb_info &#8212; Return information about PSBLAS parallel environment</h4>
<pre class="verbatim" id="verbatim-62">
call&#x00A0;psb_info(ctxt,&#x00A0;iam,&#x00A0;np)
</pre>
<!--l. 69--><p class="nopar" >
<!--l. 71--><p class="indent" > This subroutine returns information about the PSBLAS parallel environment,
defining a virtual parallel machine.
<dl class="description"><dt class="description">
<span
class="cmbx-10">Type:</span> </dt><dd
class="description">Asynchronous.
</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></dl>
<!--l. 84--><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">iam</span> </dt><dd
class="description">Identifier of current process in the PSBLAS virtual parallel machine.<br
class="newline" />Scope: <span
class="cmbx-10">local</span>.<br
class="newline" />Type: <span
class="cmbx-10">required</span>.<br
class="newline" />Intent: <span
class="cmbx-10">out</span>.<br
class="newline" />Specified as: an integer value. <span
class="cmsy-10">-</span>1 <span
class="cmsy-10">&#x2264; </span><span
class="cmmi-10">iam </span><span
class="cmsy-10">&#x2264; </span><span
class="cmmi-10">np </span><span
class="cmsy-10">- </span>1&#x00A0;
</dd><dt class="description">
<span
class="cmbx-10">np</span> </dt><dd
class="description">Number of processes in the PSBLAS 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">out</span>.<br
class="newline" />Specified as: an integer variable. &#x00A0;</dd></dl>
<!--l. 99--><p class="noindent" ><span
class="cmbx-12">Notes</span>
<ol class="enumerate1" >
<li
class="enumerate" id="x70-107002x1">For processes in the virtual parallel machine the identifier will satisfy
0 <span
class="cmsy-10">&#x2264; </span><span
class="cmmi-10">iam </span><span
class="cmsy-10">&#x2264; </span><span
class="cmmi-10">np </span><span
class="cmsy-10">- </span>1;
</li>
<li
class="enumerate" id="x70-107004x2">If the user has requested on <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">psb_init</span></span></span> a number of processes less than
the total available in the parallel execution environment, the remaining
processes will have on return <span
class="cmmi-10">iam </span>= <span
class="cmsy-10">-</span>1; the only call involving <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">ctxt</span></span></span> that
any such process may execute is to <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">psb_exit</span></span></span>.</li></ol>
<!--l. 111--><div class="crosslinks"><p class="noindent">[<a
href="userhtmlsu62.html" >next</a>] [<a
href="userhtmlsu57.html" >prev</a>] [<a
href="userhtmlsu57.html#tailuserhtmlsu57.html" >prev-tail</a>] [<a
href="userhtmlsu58.html" >front</a>] [<a
href="userhtmlsu59.html#userhtmlsu61.html" >up</a>] </p></div>
<!--l. 111--><p class="indent" > <a
id="tailuserhtmlsu58.html"></a>
</body></html>