<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html > <head><title>psb_get_mpi_comm — Get the MPI communicator</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. 154--><div class="crosslinks"><p class="noindent">[<a href="userhtmlsu64.html" >next</a>] [<a href="userhtmlsu59.html" >prev</a>] [<a href="userhtmlsu59.html#tailuserhtmlsu59.html" >prev-tail</a>] [<a href="userhtmlsu57.html#tailuserhtmlsu60.html">tail</a>] [<a href="userhtmlsu59.html#userhtmlsu63.html" >up</a>] </p></div> <h4 class="subsectionHead"><span class="titlemark">7.4 </span> <a id="x72-1090007.4"></a>psb_get_mpi_comm — Get the MPI communicator</h4> <pre class="verbatim" id="verbatim-64"> icomm = psb_get_mpi_comm(ctxt) </pre> <!--l. 158--><p class="nopar" > <!--l. 160--><p class="indent" > This function returns the MPI communicator associated with a PSBLAS context <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. 172--><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">Function value</span> </dt><dd class="description">The MPI communicator associated with 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" /></dd></dl> <!--l. 180--><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_mpicomm</span></span></span> is still available but is deprecated. <!--l. 184--><div class="crosslinks"><p class="noindent">[<a href="userhtmlsu64.html" >next</a>] [<a href="userhtmlsu59.html" >prev</a>] [<a href="userhtmlsu59.html#tailuserhtmlsu59.html" >prev-tail</a>] [<a href="userhtmlsu60.html" >front</a>] [<a href="userhtmlsu59.html#userhtmlsu63.html" >up</a>] </p></div> <!--l. 184--><p class="indent" > <a id="tailuserhtmlsu60.html"></a> </body></html>