<div dir="ltr"><div class="gmail_default" style="font-size:small"><div class="gmail_default" style="font-family:arial,sans-serif;font-size:12.666666984558105px"><div class="gmail_default">Like this? still in trouble though...</div><div class="gmail_default"><br></div><div class="gmail_default">CMAKE_MINIMUM_REQUIRED(VERSION 2.8)</div><div class="gmail_default"><br></div><div class="gmail_default">set(PETSC_DIR /home/hzh225/LIB_CFD/nP/petsc-3.5.2)</div><div class="gmail_default">set(PETSC_ARCH /home/hzh225/LIB_CFD/nP/petsc-3.5.2/linux-gnu-intel)</div><div class="gmail_default"><br></div><div class="gmail_default">SET(CMAKE_MODULE_PATH "./cmake-modules-master")</div><div class="gmail_default">FIND_PACKAGE(PETSc REQUIRED)</div><div style="font-size:small"><br></div></div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:12.666666984558105px"><div class="gmail_default">CMake Error at cmake-modules-master/FindPETSc.cmake:122 (message):</div><div class="gmail_default"> The pair PETSC_DIR=/home/hzh225/LIB_CFD/nP/petsc-3.5.2</div><div class="gmail_default"> PETSC_ARCH=/home/hzh225/LIB_CFD/nP/petsc-3.5.2/linux-gnu-intel do not</div><div class="gmail_default"> specify a valid PETSc installation</div><span class="im"><div class="gmail_default">Call Stack (most recent call first):</div></span><div class="gmail_default"> CMakeLists.txt:15 (FIND_PACKAGE)</div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div style="color:rgb(0,0,0)"><font size="1">Huaibao (Paul) Zhang<br><b><i>Gas Surface Interactions Lab</i></b><br></font></div>
<div style="color:rgb(0,0,0)"><font size="1">Department of Mechanical Engineering</font></div>
<div style="color:rgb(0,0,0)"><font size="1">University of Kentucky,</font></div>
<div style="color:rgb(0,0,0)"><font size="1">Lexington,</font></div>
<div style="margin:0px;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;font-size-adjust:none;font-stretch:normal"><font size="1">KY, 40506-0503<b><br>Office</b>: 216 Ralph G. Anderson Building<br><b>Web</b>:<a href="http://gsil.engineering.uky.edu" target="_blank"><span style="color:rgb(0,0,153)">gsil.engineering.uky.edu</span></a></font><span style="color:rgb(0,0,0)"><span style="color:rgb(0,0,153)"></span></span></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:01 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">paul zhang <<a href="mailto:paulhuaizhang@gmail.com">paulhuaizhang@gmail.com</a>> writes:<br>
<br>
> Some error messages attached.<br>
><br>
> -- Detecting CXX compiler ABI info - done<br>
> CMake Error at<br>
> /share/cluster/RHEL5.4/x86_64/apps/cmake/2.8.4/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91<br>
> (MESSAGE):<br>
> PETSc could not be found. Be sure to set PETSC_DIR and PETSC_ARCH.<br>
<br>
</span>Please heed the line above.<br>
</blockquote></div><br></div>