<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17080" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=026570415-29092010><FONT face=Arial
color=#0000ff size=2>Thanks for your help!</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV class=Section1>
<P class=MsoNormal align=left><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">-----<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Dr Pierre
<SPAN class=SpellE>Moinier</SPAN></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Principal
Research Scientist</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Arial Narrow'; mso-bidi-font-family: Arial; mso-fareast-language: KO; mso-no-proof: yes">Office
</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Wingdings 2'; mso-bidi-font-family: Arial; mso-fareast-language: KO; mso-no-proof: yes">'</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Arial Narrow'; mso-bidi-font-family: Arial; mso-fareast-language: KO; mso-no-proof: yes">:
+44 (0)117 302 8223 </SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Webdings; mso-bidi-font-family: Arial; mso-no-proof: yes; mso-bidi-font-size: 9.0pt">›</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; mso-bidi-font-family: Arial; mso-no-proof: yes; mso-bidi-font-size: 9.0pt; mso-ascii-font-family: Webdings"> </SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial Narrow'; mso-bidi-font-family: Arial; mso-no-proof: yes">
<SPAN style="COLOR: gray"><A
href="mailto:pierre.moinier@baesystems.com">pierre.moinier@baesystems.com</A></SPAN></SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Arial; mso-no-proof: yes">
</SPAN><SPAN
style="FONT-SIZE: 9pt; COLOR: gray; FONT-FAMILY: Arial; mso-no-proof: yes">|
</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Webdings; mso-bidi-font-family: Arial; mso-no-proof: yes; mso-bidi-font-size: 9.0pt">ü</SPAN><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-no-proof: yes"> </SPAN><SPAN
style="FONT-FAMILY: 'Arial Narrow'; mso-bidi-font-family: Arial; mso-no-proof: yes"><A
title=http://www.baesystems.com/ href="http://www.baesystems.com/"><SPAN
style="FONT-SIZE: 10pt"><SPAN title=http://www.baesystems.com/><SPAN
title=http://www.baesystems.com/>www.baesystems.com</SPAN></SPAN></SPAN></A></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial Narrow'; mso-bidi-font-family: Arial; mso-fareast-language: KO; mso-no-proof: yes"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Arial Narrow'; mso-bidi-font-family: Arial; mso-fareast-language: KO; mso-no-proof: yes">BAE
Systems ¦ Advanced Technology Centre ¦ Sowerby Building (20R) ¦ FPC 267 ¦ PO Box
5 ¦ Filton ¦ Bristol ¦ BS34 7QW<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial; mso-fareast-language: KO">BAE
Systems (Operations) Limited<BR>Registered Office: Warwick House, PO Box 87,
Farnborough Aerospace Centre, Farnborough, Hants, GU14 6YU, UK<BR>Registered in
England & Wales No: 1996687</SPAN></P></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> petsc-users-bounces@mcs.anl.gov
[mailto:petsc-users-bounces@mcs.anl.gov] <B>On Behalf Of </B>Jed
Brown<BR><B>Sent:</B> 29 September 2010 16:04<BR><B>To:</B> PETSc users
list<BR><B>Subject:</B> Re: [petsc-users] Read in sequential, solve in
parallel<BR></FONT><BR></DIV>
<DIV></DIV><FONT face=monospace>
*** WARNING ***<BR><BR> This message has originated
outside your organisation,<BR> either from an external partner or the
Global Internet. <BR> Keep this in mind if you answer this
message.<BR></FONT>
<P>The stage totals are aggregate. More info in the users manual. You can add
stages to distinguish between different phases of your program.</P>
<P>Your results look good except for the dot/norm timing but that won't make s
big difference.</P>
<P>Jed</P>
<P>
<BLOCKQUOTE type="cite">On Sep 29, 2010 4:34 PM, "Moinier, Pierre (UK)" <<A
href="mailto:Pierre.Moinier@baesystems.com">Pierre.Moinier@baesystems.com</A>>
wrote:<BR><BR>Jed,<BR><BR>You are right I built the matrix from a Poisson
problem using a 5pts<BR>discretization.<BR><BR>I have now found out why I
wasn't getting the correct scaling. That was<BR>due to a silly mistake in
submitting my executable.<BR><BR>With 4 cores, I get:<BR>
<P><FONT color=#500050><BR>--- Event Stage 0: Main Stage<BR></FONT></P>MatMult
1633 1.0 6.9578e+00 1.2 3.67e+09 1.0
9.8e+03 8.0e+03<BR>0.0e+00 41 43100 59 0 41 43100 59 0
2110<BR>MatAssemblyBegin 1 1.0 1.8351e-01182.2
0.00e+00 0.0 0.0e+00<BR>0.0e+00 2.0e+00 0 0 0 0
0 0 0 0 0 0
0<BR>MatAssemblyEnd 1 1.0 1.6289e-02 1.0 0.00e+00
0.0 1.2e+01 2.0e+03<BR>
<P><FONT color=#500050>7.0e+00 0 0 0 0 0 0 0 0 0 0 0</FONT></P>MatLoad
1 1.0 6.6239e-01 1.0 0.00e+00
0.0 2.1e+01 2.3e+06<BR>9.0e+00 4 0 0 36 0 4
0 0 36 0 0<BR>VecDot
3266 1.0 2.3861e+00 1.6 1.63e+09 1.0 0.0e+00
0.0e+00<BR>3.3e+03 11 19 0 0 66 11 19 0 0 66
2737<BR>VecNorm 1634 1.0
3.8494e+00 1.2 8.17e+08 1.0 0.0e+00 0.0e+00<BR>1.6e+03 23 10 0 0
33 23 10 0 0 33 849<BR>VecCopy
1636 1.0 1.0704e+00 1.3 0.00e+00 0.0 0.0e+00 0.0e+00<BR>
<P><FONT color=#500050>0.0e+00 5 0 0 0 0 5 0 0 0 0 0</FONT></P>VecSet
1 1.0 6.0201e-04 2.3 0.00e+00
0.0 0.0e+00 0.0e+00<BR>
<P><FONT color=#500050>0.0e+00 0 0 0 0 0 0 0 0 0 0 0</FONT></P>VecAXPY
3266 1.0 2.0010e+00 1.2 1.63e+09 1.0
0.0e+00 0.0e+00<BR>0.0e+00 11 19 0 0 0 11 19 0
0 0 3264<BR>VecAYPX
1632 1.0 8.4769e-01 1.4 8.16e+08 1.0 0.0e+00 0.0e+00<BR>0.0e+00 4
10 0 0 0 4 10 0 0 0
3850<BR>VecAssemblyBegin 1 1.0 3.3454e-02477.3
0.00e+00 0.0 0.0e+00<BR>0.0e+00 3.0e+00 0 0 0 0
0 0 0 0 0 0
0<BR>VecAssemblyEnd 1 1.0 3.0994e-06 1.0 0.00e+00
0.0 0.0e+00 0.0e+00<BR>
<P><FONT color=#500050>0.0e+00 0 0 0 0 0 0 0 0 0 0 0</FONT></P>VecLoad
1 1.0 7.2319e-02 1.0 0.00e+00
0.0 3.0e+00 2.0e+06<BR>4.0e+00 0 0 0 5 0
0 0 0 5 0 0<BR>VecScatterBegin
1633 1.0 2.4417e-02 2.3 0.00e+00 0.0 9.8e+03 8.0e+03<BR>0.0e+00 0
0100 59 0 0 0100 59 0
0<BR>VecScatterEnd 1633 1.0 1.0537e+0024.4 0.00e+00 0.0
0.0e+00 0.0e+00<BR>
<P><FONT color=#500050>0.0e+00 3 0 0 0 0 3 0 0 0 0 0</FONT></P>KSPSetup
1 1.0 2.6400e-03 1.3 0.00e+00 0.0
0.0e+00 0.0e+00<BR>
<P><FONT color=#500050>0.0e+00 0 0 0 0 0 0 0 0 0 0 0</FONT></P>KSPSolve
1 1.0 1.5425e+01 1.0 8.57e+09 1.0
9.8e+03 8.0e+03<BR>4.9e+03 95100100 59 99 95100100 59100 2222<BR>
<P><FONT color=#500050>PCSetUp 1 1.0 0.0000e+00 0.0 0.00e+00 0.0 0.0e+00
0.0e+00<BR>0.0e+00 0 0 0 0 0 0 ...</FONT></P>PCApply
1634 1.0 1.0700e+00 1.3 0.00e+00 0.0 0.0e+00 0.0e+00<BR>
<P><FONT color=#500050>0.0e+00 5 0 0 0 0 5 0 0 0 0 0<BR><BR></FONT></P>For a
single core, I was getting 4.4828e+01 for KSPSolve.<BR><BR>I am correct to
assume that what is listed as "Event Stage 0: Main<BR>Stage" is common to each
core?<BR><BR>Finally, what is the meaning of "Event Stage 0: Main
Stage"<BR><BR>Cheers,<BR><FONT color=#888888><BR>
-Pierre.<BR></FONT>
<P><FONT
color=#500050><BR><BR><BR>********************************************************************<BR>This
email and any attachmen...</FONT></P></BLOCKQUOTE>
<P></P> <br>
********************************************************************<br>
This email and any attachments are confidential to the intended<br>
recipient and may also be privileged. If you are not the intended<br>
recipient please delete it from your system and notify the sender.<br>
You should not copy it or use it for any purpose nor disclose or<br>
distribute its contents to any other person.<br>
********************************************************************<br>
<br>
</body></HTML>