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
+2 -2
View File
@@ -137,7 +137,7 @@ sample scatter/gather routines.
.
</PRE>
</DD>
<DT><A NAME="foot7863">... follows</A><A
<DT><A NAME="foot7881">... follows</A><A
HREF="node126.html#tex2html31"><SUP><SPAN CLASS="arabic">4</SPAN></SUP></A></DT>
<DD>The string is case-insensitive
@@ -173,7 +173,7 @@ sample scatter/gather routines.
.
</PRE>
</DD>
<DT><A NAME="foot8318">... method</A><A
<DT><A NAME="foot8336">... method</A><A
HREF="node133.html#tex2html32"><SUP><SPAN CLASS="arabic">5</SPAN></SUP></A></DT>
<DD>Note:
the implementation is for <SPAN CLASS="MATH"><IMG
+2 -2
View File
@@ -313,9 +313,9 @@ of a dense vector</A>
HREF="node102.html">psb_exit -- Exit from PSBLAS parallel
environment</A>
<LI><A NAME="tex2html139"
HREF="node103.html">psb_get_mpicomm -- Get the MPI communicator</A>
HREF="node103.html">psb_get_mpi_comm -- Get the MPI communicator</A>
<LI><A NAME="tex2html140"
HREF="node104.html">psb_get_rank -- Get the MPI rank</A>
HREF="node104.html">psb_get_mpi_rank -- Get the MPI rank</A>
<LI><A NAME="tex2html141"
HREF="node105.html">psb_wtime -- Wall clock timing</A>
<LI><A NAME="tex2html142"
+2 -2
View File
@@ -37,7 +37,7 @@
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1542"
HREF="node103.html">psb_get_mpicomm Get</A>
HREF="node103.html">psb_get_mpi_comm Get</A>
<B> Up:</B> <A NAME="tex2html1538"
HREF="node99.html">Parallel environment routines</A>
<B> Previous:</B> <A NAME="tex2html1532"
@@ -136,7 +136,7 @@ Specified as: a logical variable, default value: true.
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1542"
HREF="node103.html">psb_get_mpicomm Get</A>
HREF="node103.html">psb_get_mpi_comm Get</A>
<B> Up:</B> <A NAME="tex2html1538"
HREF="node99.html">Parallel environment routines</A>
<B> Previous:</B> <A NAME="tex2html1532"
+11 -6
View File
@@ -3,8 +3,8 @@
<!--Converted with LaTeX2HTML 2018 (Released Feb 1, 2018) -->
<HTML>
<HEAD>
<TITLE>psb_get_mpicomm -- Get the MPI communicator</TITLE>
<META NAME="description" CONTENT="psb_get_mpicomm -- Get the MPI communicator">
<TITLE>psb_get_mpi_comm -- Get the MPI communicator</TITLE>
<META NAME="description" CONTENT="psb_get_mpi_comm -- Get the MPI communicator">
<META NAME="keywords" CONTENT="userhtml">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
@@ -37,7 +37,7 @@
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1554"
HREF="node104.html">psb_get_rank Get</A>
HREF="node104.html">psb_get_mpi_rank Get</A>
<B> Up:</B> <A NAME="tex2html1550"
HREF="node99.html">Parallel environment routines</A>
<B> Previous:</B> <A NAME="tex2html1544"
@@ -49,16 +49,16 @@
<!--End of Navigation Panel-->
<H2><A NAME="SECTION00084000000000000000">
psb_get_mpicomm -- Get the MPI communicator</A>
psb_get_mpi_comm -- Get the MPI communicator</A>
</H2>
<P>
<PRE>
icomm = psb_get_mpicomm(icontxt)
icomm = psb_get_mpi_comm(icontxt)
</PRE>
<P>
This subroutine returns the MPI communicator associated with a PSBLAS context
This function returns the MPI communicator associated with a PSBLAS context
<DL>
<DT><STRONG>Type:</STRONG></DT>
<DD>Asynchronous.
@@ -96,6 +96,11 @@ Intent: <B>out</B>.
<BR></DD>
</DL>
<P>
<BIG CLASS="LARGE"><B>Notes</B></BIG>
The subroutine version <code>psb_get_mpicomm</code> is still available but
is deprecated.
<P>
<BR><HR>
+11 -6
View File
@@ -3,8 +3,8 @@
<!--Converted with LaTeX2HTML 2018 (Released Feb 1, 2018) -->
<HTML>
<HEAD>
<TITLE>psb_get_rank -- Get the MPI rank</TITLE>
<META NAME="description" CONTENT="psb_get_rank -- Get the MPI rank">
<TITLE>psb_get_mpi_rank -- Get the MPI rank</TITLE>
<META NAME="description" CONTENT="psb_get_mpi_rank -- Get the MPI rank">
<META NAME="keywords" CONTENT="userhtml">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
@@ -41,7 +41,7 @@
<B> Up:</B> <A NAME="tex2html1562"
HREF="node99.html">Parallel environment routines</A>
<B> Previous:</B> <A NAME="tex2html1556"
HREF="node103.html">psb_get_mpicomm Get</A>
HREF="node103.html">psb_get_mpi_comm Get</A>
&nbsp; <B> <A NAME="tex2html1564"
HREF="node1.html">Contents</A></B>
<BR>
@@ -49,16 +49,16 @@
<!--End of Navigation Panel-->
<H2><A NAME="SECTION00085000000000000000">
psb_get_rank -- Get the MPI rank</A>
psb_get_mpi_rank -- Get the MPI rank</A>
</H2>
<P>
<PRE>
rank = psb_get_rank(icontxt, id)
rank = psb_get_mpi_rank(icontxt, id)
</PRE>
<P>
This subroutine returns the MPI rank of the PSBLAS process <SPAN CLASS="MATH"><IMG
This function returns the MPI rank of the PSBLAS process <SPAN CLASS="MATH"><IMG
WIDTH="18" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img138.png"
ALT="$id$"></SPAN>
@@ -118,6 +118,11 @@ Intent: <B>out</B>.
<BR></DD>
</DL>
<P>
<BIG CLASS="LARGE"><B>Notes</B></BIG>
The subroutine version <code>psb_get_rank</code> is still available but is
deprecated.
<P>
<BR><HR>
+1 -1
View File
@@ -41,7 +41,7 @@
<B> Up:</B> <A NAME="tex2html1574"
HREF="node99.html">Parallel environment routines</A>
<B> Previous:</B> <A NAME="tex2html1568"
HREF="node104.html">psb_get_rank Get</A>
HREF="node104.html">psb_get_mpi_rank Get</A>
&nbsp; <B> <A NAME="tex2html1576"
HREF="node1.html">Contents</A></B>
<BR>
+2 -2
View File
@@ -91,7 +91,7 @@ explicitly.
<P>
<DIV ALIGN="CENTER"><A NAME="fig:routerr"></A><A NAME="7481"></A>
<DIV ALIGN="CENTER"><A NAME="fig:routerr"></A><A NAME="7499"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 9:</STRONG>
The layout of a generic <TT>psb_foo</TT>
@@ -121,7 +121,7 @@ called by <code>psb_spasb</code> ... by process 0 (i.e. the root process).
<P>
<DIV ALIGN="CENTER"><A NAME="fig:errormsg"></A><A NAME="7482"></A>
<DIV ALIGN="CENTER"><A NAME="fig:errormsg"></A><A NAME="7500"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 10:</STRONG>
A sample PSBLAS-2.0 error
+1 -1
View File
@@ -114,7 +114,7 @@ Legal inputs to this subroutine are interpreted depending on the
WIDTH="41" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
SRC="img165.png"
ALT="$ptype$"></SPAN> string as follows<A NAME="tex2html31"
HREF="footnode.html#foot7863"><SUP><SPAN CLASS="arabic">4</SPAN></SUP></A>:
HREF="footnode.html#foot7881"><SUP><SPAN CLASS="arabic">4</SPAN></SUP></A>:
<DL>
<DT><STRONG>NONE</STRONG></DT>
<DD>No preconditioning, i.e. the preconditioner is just a copy
+1 -1
View File
@@ -169,7 +169,7 @@ call psb_krylov(method,a,prec,b,x,eps,desc_a,info,&amp;
</DD>
<DT><STRONG>FCG:</STRONG></DT>
<DD>the Flexible Conjugate Gradient method<A NAME="tex2html32"
HREF="footnode.html#foot8318"><SUP><SPAN CLASS="arabic">5</SPAN></SUP></A>;
HREF="footnode.html#foot8336"><SUP><SPAN CLASS="arabic">5</SPAN></SUP></A>;
<P>
</DD>
+1 -1
View File
@@ -60,7 +60,7 @@ Mathematics Department, Macquarie University, Sydney.
The command line arguments were: <BR>
<STRONG>latex2html</STRONG> <TT>-local_icons -noaddress -dir ../../html userhtml.tex</TT>
<P>
The translation was initiated on 2019-11-20
The translation was initiated on 2019-12-11
<BR><HR>
</BODY>
+2 -2
View File
@@ -70,9 +70,9 @@ Parallel environment routines
HREF="node102.html">psb_exit -- Exit from PSBLAS parallel
environment</A>
<LI><A NAME="tex2html1493"
HREF="node103.html">psb_get_mpicomm -- Get the MPI communicator</A>
HREF="node103.html">psb_get_mpi_comm -- Get the MPI communicator</A>
<LI><A NAME="tex2html1494"
HREF="node104.html">psb_get_rank -- Get the MPI rank</A>
HREF="node104.html">psb_get_mpi_rank -- Get the MPI rank</A>
<LI><A NAME="tex2html1495"
HREF="node105.html">psb_wtime -- Wall clock timing</A>
<LI><A NAME="tex2html1496"
+2 -2
View File
@@ -313,9 +313,9 @@ of a dense vector</A>
HREF="node102.html">psb_exit -- Exit from PSBLAS parallel
environment</A>
<LI><A NAME="tex2html139"
HREF="node103.html">psb_get_mpicomm -- Get the MPI communicator</A>
HREF="node103.html">psb_get_mpi_comm -- Get the MPI communicator</A>
<LI><A NAME="tex2html140"
HREF="node104.html">psb_get_rank -- Get the MPI rank</A>
HREF="node104.html">psb_get_mpi_rank -- Get the MPI rank</A>
<LI><A NAME="tex2html141"
HREF="node105.html">psb_wtime -- Wall clock timing</A>
<LI><A NAME="tex2html142"