<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV><SPAN style="COLOR: #1f497d"><FONT size=3><FONT face=Calibri>Dear GetDP users,</FONT></FONT></SPAN></DIV>
<DIV><SPAN style="COLOR: #1f497d"><FONT size=3><FONT face=Calibri></FONT></FONT></SPAN> </DIV>
<DIV><SPAN style="COLOR: #1f497d"><FONT size=3><FONT face=Calibri>I’ve found out why the 32 bits compiled versions behaves strange related to the convergence: </FONT></FONT></SPAN><SPAN style="COLOR: #1f497d"><FONT size=3><FONT face=Calibri>It’s because the gcc compiler I used(gcc4.5.2), which is newer than the compiler used to generate the binnaries available on the GetDP site,(gcc4.1.2), behaves strange when I use -O2 optimization flag. </FONT></FONT></SPAN></DIV>
<DIV><SPAN style="COLOR: #1f497d"><FONT size=3 face=Calibri>My suposition was: the newer the gcc, the stranger behavior when using higher optimization level.</FONT></SPAN></DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv1915179548MsoNormal _yuid="yui_3_1_1_7_130133114980382"><SPAN style="COLOR: #1f497d" _yuid="yui_3_1_1_7_130133114980381"><FONT size=3 _yuid="yui_3_1_1_7_130133114980380"><FONT face=Calibri _yuid="yui_3_1_1_7_130133114980379">When using a smaller compiler optimization option (e.g: -O1) the issue is solved for the 32 bit situation – no convergence issue occurs. So I've solved my issue by compiling both petsc and getDP with the optimization flags "<SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; BACKGROUND: silver; FONT-SIZE: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-highlight: silver; mso-ansi-language: EN-US; mso-fareast-language: RO; mso-bidi-language: AR-SA" lang=EN-US><FONT color=#000000>-g –O1 </FONT></SPAN>".</FONT></FONT></SPAN></DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv1915179548MsoNormal _yuid="yui_3_1_1_7_130133114980382"><SPAN style="COLOR: #1f497d" _yuid="yui_3_1_1_7_130133114980381"><FONT size=3 face=Calibri></FONT></SPAN> </DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv1915179548MsoNormal _yuid="yui_3_1_1_7_130133114980382"><SPAN style="COLOR: #1f497d" _yuid="yui_3_1_1_7_130133114980381"><FONT size=3 face=Calibri>Cheers,</FONT></SPAN></DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv1915179548MsoNormal _yuid="yui_3_1_1_7_130133114980382"><SPAN style="COLOR: #1f497d" _yuid="yui_3_1_1_7_130133114980381"><FONT size=3 face=Calibri>Cris</FONT></SPAN></DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv1915179548MsoNormal _yuid="yui_3_1_1_7_130133114980382"><SPAN style="COLOR: #1f497d" _yuid="yui_3_1_1_7_130133114980381"><FONT size=3 face=Calibri></FONT></SPAN> </DIV><BR>--- On <B>Wed, 3/23/11, Cris <I><cristina.sorina@yahoo.com></I></B> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Cris <cristina.sorina@yahoo.com><BR>Subject: getDP has 2 totally different convergence behaviors for the same input<BR>To: getdp@geuz.org<BR>Date: Wednesday, March 23, 2011, 1:11 PM<BR><BR>
<DIV id=yiv2002256074>
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Dear GetDP users & developers, </SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Please, please, please help me get in touch with somebody <SPAN> </SPAN>who knows how the GetDP </SPAN><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d"><FONT size=3>Linux binaries were compiled!</FONT></SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d"><FONT size=3><U>My problem is:</U> w</FONT></SPAN><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d"><FONT size=3>ith the same GetDP input files I have 2 different behaviors for the GetDP tool:</FONT></SPAN>
<P style="MARGIN: 0cm 0cm 0pt 27pt" class=yiv2002256074MsoListParagraph><SPAN style="COLOR: #1f497d"><SPAN><FONT face="Times New Roman"><FONT size=3>-</FONT><SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></FONT></SPAN></SPAN><FONT size=3><B><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d">the GetDP versions compiled by me don’t converge</SPAN></B><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d"> (getdp-2.1.0-source.gz with: petsc-lite-3.1-p7.tar.gz, gsl-1.14, umfpack-5.4 on RedHat)</SPAN></FONT>
<P style="MARGIN: 0cm 0cm 0pt 27pt" class=yiv2002256074MsoListParagraph><SPAN style="COLOR: #1f497d"><SPAN><FONT face="Times New Roman"><FONT size=3>-</FONT><SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></FONT></SPAN></SPAN><FONT size=3><B><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d">the GetDP Linux binaries converge </SPAN></B><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d">(getdp-2.1.0-source.gz)<B></B></SPAN></FONT>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d"><FONT size=3>I’ve compiled GetDP with different petsc/gcc/compilation flags but the issue is always there – the </FONT></SPAN><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">iterations stop only when NL_NbrMaxIter is reached.</SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><U> Possible causes: (could anyone confirm any of them?)</U></SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">- maybe some uninitialized flags in the getDP code are to be blamed, or the getDP different svn revision number for the getDP binnaries and the getDP compiled by me;</SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">- the strongest hunch: the compilation - I think that petsc/umfpack/gsl code versions might differ and that’s why the convergence is not achieved;</SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">- the gcc newer version compiler might optimize & behave differently.</SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Please let me know if you could guide me towards someone who knows how the getDP </SPAN><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d"><FONT size=3>Linux binaries were compiled?</FONT></SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d"><FONT size=3>Did anyone </FONT></SPAN><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">have similar troubles?</SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Many, many thanks,</SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=yiv2002256074MsoNormal><SPAN style="FONT-FAMILY: 'sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Cris</SPAN>
<DIV> </DIV></TD></TR></TBODY></TABLE><BR></DIV></BLOCKQUOTE></td></tr></table>