<div dir="ltr"><div class="gmail_default" style="font-size:small">Problem solved!</div><div class="gmail_default" style="font-size:small">This is a baby step for me. I actually have a code project which works with petsc-3.1-p8, and configured with Cmake. As I attempted to update PETSc, my old configuration flag never works. I have to start it over. <br></div><div class="gmail_default" style="font-size:small"><br>Thanks a lot.</div><div class="gmail_extra"><div style="font-size:small" class="gmail_default">​Paul​</div><br clear="all"><div><div class="gmail_signature"><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(255,102,102)"><font size="1"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="font-family:Tahoma"><span style="font-family:Verdana"><font face="Helvetica"><span></span></font></span></span></span></span></span></span></span></font></div></div></div>
<br><div class="gmail_quote">On Mon, Dec 1, 2014 at 10:28 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">paul zhang <<a href="mailto:paulhuaizhang@gmail.com">paulhuaizhang@gmail.com</a>> writes:<br>
<br>
> Like this? still in trouble though...<br>
><br>
> CMAKE_MINIMUM_REQUIRED(VERSION 2.8)<br>
><br>
> set(PETSC_DIR /home/hzh225/LIB_CFD/nP/petsc-3.5.2)<br>
<br>
</span>If you're going to manually set local paths in your build files, then<br>
CMake is definitely a waste of time.  These are normally environment<br>
variables.<br>
<br>
> set(PETSC_ARCH /home/hzh225/LIB_CFD/nP/petsc-3.5.2/linux-gnu-intel)<br>
<br>
This is not how PETSC_ARCH works.  It should probably be<br>
"linux-gnu-intel".  Please read what PETSc's build prints or read the<br>
documentation.<br>
<br>
  <a href="http://www.mcs.anl.gov/petsc/documentation/installation.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/installation.html</a><br>
</blockquote></div><br></div></div>