mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-19 12:22:10 +00:00
New get_mpi_comm and get_mpi_rank, code and docs
This commit is contained in:
+14
-8
@@ -153,14 +153,14 @@ Specified as: a logical variable, default value: true.
|
||||
\end{enumerate}
|
||||
|
||||
|
||||
\clearpage\subsection*{psb\_get\_mpicomm --- Get the MPI communicator}
|
||||
\addcontentsline{toc}{subsection}{psb\_get\_mpicomm}
|
||||
\clearpage\subsection*{psb\_get\_mpi\_comm --- Get the MPI communicator}
|
||||
\addcontentsline{toc}{subsection}{psb\_get\_mpi\_comm}
|
||||
|
||||
\begin{verbatim}
|
||||
icomm = psb_get_mpicomm(icontxt)
|
||||
icomm = psb_get_mpi_comm(icontxt)
|
||||
\end{verbatim}
|
||||
|
||||
This subroutine returns the MPI communicator associated with a PSBLAS context
|
||||
This function returns the MPI communicator associated with a PSBLAS context
|
||||
\begin{description}
|
||||
\item[Type:] Asynchronous.
|
||||
\item[\bf On Entry ]
|
||||
@@ -180,15 +180,18 @@ Type: {\bf required}.\\
|
||||
Intent: {\bf out}.\\
|
||||
\end{description}
|
||||
|
||||
{\par\noindent\large\bfseries Notes}
|
||||
The subroutine version \verb|psb_get_mpicomm| is still available but
|
||||
is deprecated.
|
||||
|
||||
\clearpage\subsection*{psb\_get\_rank --- Get the MPI rank}
|
||||
\addcontentsline{toc}{subsection}{psb\_get\_rank}
|
||||
\clearpage\subsection*{psb\_get\_mpi\_rank --- Get the MPI rank}
|
||||
\addcontentsline{toc}{subsection}{psb\_get\_mpi\_rank}
|
||||
|
||||
\begin{verbatim}
|
||||
rank = psb_get_rank(icontxt, id)
|
||||
rank = psb_get_mpi_rank(icontxt, id)
|
||||
\end{verbatim}
|
||||
|
||||
This subroutine returns the MPI rank of the PSBLAS process $id$
|
||||
This function returns the MPI rank of the PSBLAS process $id$
|
||||
\begin{description}
|
||||
\item[Type:] Asynchronous.
|
||||
\item[\bf On Entry ]
|
||||
@@ -213,6 +216,9 @@ Type: {\bf required}.\\
|
||||
Intent: {\bf out}.\\
|
||||
\end{description}
|
||||
|
||||
{\par\noindent\large\bfseries Notes}
|
||||
The subroutine version \verb|psb_get_rank| is still available but is
|
||||
deprecated.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user