New get_mpi_comm and get_mpi_rank, code and docs

This commit is contained in:
Salvatore Filippone
2019-12-11 10:33:12 +00:00
parent b9514ece40
commit 2b898aa14f
57 changed files with 298 additions and 241 deletions
+14 -8
View File
@@ -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.