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.
100 lines
4.1 KiB
HTML
100 lines
4.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
<html >
|
|
<head><title>psb_get_mpi_rank — Get the MPI rank</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)">
|
|
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)">
|
|
<!-- html,3 -->
|
|
<meta name="src" content="userhtml.tex">
|
|
<link rel="stylesheet" type="text/css" href="userhtml.css">
|
|
</head><body
|
|
>
|
|
<!--l. 184--><div class="crosslinks"><p class="noindent">[<a
|
|
href="userhtmlsu65.html" >next</a>] [<a
|
|
href="userhtmlsu60.html" >prev</a>] [<a
|
|
href="userhtmlsu60.html#tailuserhtmlsu60.html" >prev-tail</a>] [<a
|
|
href="userhtmlsu58.html#tailuserhtmlsu61.html">tail</a>] [<a
|
|
href="userhtmlsu59.html#userhtmlsu64.html" >up</a>] </p></div>
|
|
<h4 class="subsectionHead"><span class="titlemark">7.5 </span> <a
|
|
id="x73-1100007.5"></a>psb_get_mpi_rank — Get the MPI rank</h4>
|
|
|
|
|
|
|
|
<div class="verbatim" id="verbatim-88">
|
|
rank = psb_get_mpi_rank(icontxt, id)
|
|
</div>
|
|
<!--l. 188--><p class="nopar" >
|
|
<!--l. 190--><p class="indent" > This function returns the MPI rank of the PSBLAS process <span
|
|
class="cmmi-10">id</span>
|
|
<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">icontxt</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">id</span> </dt><dd
|
|
class="description">Identifier of a 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">in</span>.<br
|
|
class="newline" />Specified as: an integer value. 0 <span
|
|
class="cmsy-10">≤ </span><span
|
|
class="cmmi-10">id </span><span
|
|
class="cmsy-10">≤ </span><span
|
|
class="cmmi-10">np </span><span
|
|
class="cmsy-10">- </span>1 </dd></dl>
|
|
<!--l. 207--><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">Funciton value</span> </dt><dd
|
|
class="description">The MPI rank associated with the PSBLAS process <span
|
|
class="cmmi-10">id</span>.<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" /></dd></dl>
|
|
<!--l. 215--><p class="noindent" ><span
|
|
class="cmbx-12">Notes </span>The subroutine version <span class="obeylines-h"><span class="verb"><span
|
|
class="cmtt-10">psb_get_rank</span></span></span> is still available but is deprecated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--l. 221--><div class="crosslinks"><p class="noindent">[<a
|
|
href="userhtmlsu65.html" >next</a>] [<a
|
|
href="userhtmlsu60.html" >prev</a>] [<a
|
|
href="userhtmlsu60.html#tailuserhtmlsu60.html" >prev-tail</a>] [<a
|
|
href="userhtmlsu61.html" >front</a>] [<a
|
|
href="userhtmlsu59.html#userhtmlsu64.html" >up</a>] </p></div>
|
|
<!--l. 221--><p class="indent" > <a
|
|
id="tailuserhtmlsu61.html"></a>
|
|
</body></html>
|