1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>Output of Example Program #1 Using MPI</TITLE>
<META NAME="description" CONTENT="Output of Example Program #1 Using MPI">
<META NAME="keywords" CONTENT="slug">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="slug.css">
</HEAD>
<BODY LANG="EN" >
<A NAME="tex2html2507" HREF="node32.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://www.netlib.org/utk/icons/next_motif.gif"></A> <A NAME="tex2html2505" HREF="node28.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="http://www.netlib.org/utk/icons/up_motif.gif"></A> <A NAME="tex2html2499" HREF="node30.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://www.netlib.org/utk/icons/previous_motif.gif"></A> <A NAME="tex2html2509" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="http://www.netlib.org/utk/icons/contents_motif.gif"></A> <A NAME="tex2html2510" HREF="node190.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="http://www.netlib.org/utk/icons/index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html2508" HREF="node32.html">Output of Example Program </A>
<B>Up:</B> <A NAME="tex2html2506" HREF="node28.html">Details of Example Program </A>
<B> Previous:</B> <A NAME="tex2html2500" HREF="node30.html">Notation Used in Example </A>
<BR> <P>
<H2><A NAME="SECTION04233000000000000000">Output of Example Program #1 Using MPI</A></H2>
<P>
When this example program is executed on a Sun Solaris architecture using
MPICH (version 1.0.13) and the MPI BLACS, the following
output<A NAME="tex2html165" HREF="footnode.html#779"><IMG ALIGN=BOTTOM ALT="gif" SRC="http://www.netlib.org/utk/icons/foot_motif.gif"></A>
is received:<A NAME="780"> </A>
<PRE>sun4sol2> f77 -o example1 example1.f scalapack_SUN4SOL2.a \
blacsF77init_MPI-SUN4SOL2-0.a blacs_MPI-SUN4SOL2-0.a \
blacsF77init_MPI-SUN4SOL2-0.a blas_SUN4SOL2.a \
$MPI_ROOT/lib/solaris/ch_p4/libmpi.a -lnsl -lsocket
example1.f:
MAIN example1:
matinit:
sun4sol2> mpirun -np 6 example1
ScaLAPACK Example Program #1 -- May 1, 1997
Solving Ax=b where A is a 9 by 9 matrix with a block size of 2
Running on 6 processes, where the process grid is 2 by 3
INFO code returned by PDGESV = 0
According to the normalized residual the solution is correct.
||A*x - b|| / ( ||x||*||A||*eps*N ) = 0.00000000E+00</PRE>
<P>
<BR> <HR>
<P><ADDRESS>
<I>Susan Blackford <BR>
Tue May 13 09:21:01 EDT 1997</I>
</ADDRESS>
</BODY>
</HTML>
|