<html><head><base href="x-msg://1308/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div>Run with -help | grep shift to see what the exact name of the prefix/option is<div><br></div><div>&nbsp;&nbsp; Barry</div><div><br></div><div><br><div><div>On Jul 27, 2010, at 2:34 PM, SUN Chun wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-US" link="blue" vlink="purple" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div class="Section1" style="page: Section1; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">Hi Petsc dev,<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">I couldn't figure out this preconditioner setting... I want to do BJACOBI + ILU on each block with shifting, but before ILU I want to apply a diagonal scaling to my LHS. What I've been trying to do is:<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">-pc_type bjacobi<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">-sub_pc_type composite<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">-sub_pc_composite_type multiplicative<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">-sub_pc_composite_pcs jacobi,ilu<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">then I don't know where to add -pc_factor_shift_positive_definite I've tried adding "sub_", "sub_pc_composite_" prefixes to that but non worked.<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">I wonder if the whole idea of using composite is wrong. Where should I scale it? Where should I specify shifting?<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">Thanks,<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">Chun<o:p></o:p></span></div></div><div style="font-size: 9pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 35.4pt; color: rgb(31, 73, 125); font-style: italic; font-family: Arial, Helvetica, sans-serif; ">This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.</div><div style="font-size: 9pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 35.4pt; color: rgb(31, 73, 125); font-style: italic; font-family: Arial, Helvetica, sans-serif; ">If you are not one of the named recipients or have received this email in error,</div><div style="font-size: 9pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 35.4pt; color: rgb(31, 73, 125); font-style: italic; font-family: Arial, Helvetica, sans-serif; ">(i) you should not read, disclose, or copy it,</div><div style="font-size: 9pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 35.4pt; color: rgb(31, 73, 125); font-style: italic; font-family: Arial, Helvetica, sans-serif; ">(ii) please notify sender of your receipt by reply email and delete this email and all attachments,</div><div style="font-size: 9pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 35.4pt; color: rgb(31, 73, 125); font-style: italic; font-family: Arial, Helvetica, sans-serif; ">(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.</div><p style="font-style: italic; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 35.4pt; font-family: Arial, Helvetica, sans-serif; color: rgb(31, 73, 125); font-size: 9pt; "></p><div style="font-size: 9pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 35.4pt; color: rgb(31, 73, 125); font-style: italic; font-family: Arial, Helvetica, sans-serif; ">For other languages,<span class="Apple-converted-space">&nbsp;</span><a href="http://www.3ds.com/terms/email-disclaimer" style="color: blue; text-decoration: underline; ">Click Here</a></div></div></span></blockquote></div><br></div></body></html>