<div dir="ltr"><p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">Hello, </span></p>

<p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">Happy new year!!</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US"> </span></p>

<p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">I have some questions about “Hint for
performance tuning” in user guide of petsc.</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US"> </span></p>

<p class="gmail-MsoListParagraph" style="margin:0cm 0cm 8pt 38pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">1.<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman"">    
</span></span><span lang="EN-US">In the “Performance Pitfalls
and Advice” section, there are 2 modes “debug” and “optimized builds. My
current setup is debug mode. So I want to change for test the performance the
optimized build mode. However, if I configure again, does the existing debug
mode disappear? Is there any way to coexist the 2 modes and use them in the run
the application?</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US"> </span></p>

<p class="gmail-MsoListParagraph" style="margin:0cm 0cm 8pt 38pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">2.<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman"">    
</span></span><span lang="EN-US">In the guide, there are some
paragraphs about optimization level of compiler. To control the optimization
level of compiler, I put the ‘-O3’ as below. Is this right??</span></p>

<table class="gmail-MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="margin-left:38pt;border-collapse:collapse;border:none">
 <tbody><tr>
  <td width="601" valign="top" style="width:450.8pt;border:1pt solid windowtext;padding:0cm 5.4pt">
  <p class="gmail-MsoListParagraph" style="margin:0cm 0cm 0.0001pt 38pt;line-height:normal;text-align:justify;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">CFLAGS       = -O3</span></p>
  <p class="gmail-MsoListParagraph" style="margin:0cm 0cm 0.0001pt 38pt;line-height:normal;text-align:justify;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">FFLAGS       =</span></p>
  <p class="gmail-MsoListParagraph" style="margin:0cm 0cm 0.0001pt 38pt;line-height:normal;text-align:justify;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">CPPFLAGS         =</span></p>
  <p class="gmail-MsoListParagraph" style="margin:0cm 0cm 0.0001pt 38pt;line-height:normal;text-align:justify;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">FPPFLAGS         =</span></p>
  <p class="gmail-MsoListParagraph" style="margin:0cm 0cm 0.0001pt 38pt;line-height:normal;text-align:justify;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US"> </span></p>
  <p class="gmail-MsoListParagraph" style="margin:0cm 0cm 0.0001pt 38pt;line-height:normal;text-align:justify;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">app :
  a1.o a2.o a3.o a4.o</span></p>
  <p class="gmail-MsoListParagraph" style="margin:0cm 0cm 0.0001pt 38pt;line-height:normal;text-align:justify;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">   $(LINK.C) -o $@ $^ $(LDLIBS)</span></p>
  <p class="gmail-MsoListParagraph" style="margin:0cm 0cm 0.0001pt 38pt;line-height:normal;text-align:justify;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US"> </span></p>
  <p class="gmail-MsoListParagraph" style="margin:0cm 0cm 0.0001pt 38pt;line-height:normal;text-align:justify;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">include
  ${PETSC_DIR}/lib/petsc/conf/rules</span></p>
  <p class="gmail-MsoListParagraph" style="margin:0cm 0cm 0.0001pt 38pt;line-height:normal;text-align:justify;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">include
  ${PETSC_DIR}/lib/petsc/conf/test</span></p>
  </td>
 </tr>
</tbody></table>

<p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US"> </span></p>

<p class="gmail-MsoListParagraph" style="margin:0cm 0cm 8pt 38pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">3.<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman"">    
</span></span><span lang="EN-US">In the guide, user should put ‘-march=native’
for using AVX2 or AVX-512. Where should I put the ‘-march=native’ for using AVX?</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US"> </span></p>

<p class="gmail-MsoListParagraph" style="margin:0cm 0cm 8pt 38pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">4.<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman"">    
</span></span><span lang="EN-US">After read the “Hint for
performance tuning” I understood that for good performance and scalability user
should use the multiple node and multiple socket . However, before composing
cluster system, many users just can use desktop system. <br>
In that case, between intel 13th i9 and amd ryzen 7950x, can the 7950x, which
has an arichitecture similar to the server processor, be more suitable for
petsc? (Because the architecture of intel desktop cpu is big.little.)</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US"> </span></p>

<p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US"> </span></p>

<p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">Thanks,</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 8pt;text-align:justify;line-height:107%;font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><span lang="EN-US">Hyung Kim</span></p></div>