<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Apr 13, 2012 at 3:49 PM, Jed Brown <span dir="ltr">&lt;<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><div class="gmail_quote">On Fri, Apr 13, 2012 at 17:47, Mohammad Mirzadeh <span dir="ltr">&lt;<a href="mailto:mirzadeh@gmail.com" target="_blank">mirzadeh@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>ust a question though. When I run cmake in the build directory I get:</div><div><br></div><div><div>-- Performing Test MULTIPASS_TEST_1_petsc_works_minimal</div><div>

-- Performing Test MULTIPASS_TEST_1_petsc_works_minimal - Failed</div><div>-- Performing Test MULTIPASS_TEST_2_petsc_works_allincludes</div><div>-- Performing Test MULTIPASS_TEST_2_petsc_works_allincludes - Failed</div><div>




-- Performing Test MULTIPASS_TEST_3_petsc_works_alllibraries</div><div>-- Performing Test MULTIPASS_TEST_3_petsc_works_alllibraries - Failed</div><div>-- Performing Test MULTIPASS_TEST_4_petsc_works_all</div><div>-- Performing Test MULTIPASS_TEST_4_petsc_works_all - Failed</div>




<div>-- PETSc could not be used, maybe the install is broken.</div><div>-- PETSc could not be found.  Be sure to set PETSC_DIR and PETSC_ARCH.  (missing:  PETSC_EXECUTABLE_RUNS)</div><div>-- PETSc could not be found.  Be sure to set PETSC_DIR and PETSC_ARCH.  (missing:  PETSC_EXECUTABLE_RUNS)</div>




<div><br></div><div><br></div><div>But actually I can make and run the binary without any problem! should I ignore this? I do set PETSC_DIR and PETSC_ARCH in my CMakeLists.txt.</div></div></blockquote></div><br></div><div>

Which binary runs? Check the CMake error files and use cmake --trace or --debug-output.</div>
</blockquote></div><br><div><br></div><div>my code -- I&#39;m experimenting with CMake to manage my project and link it to petsc. right now, it seems to link to petsc correctly and I can run the code just fine. It just produces those messages when generating the makefile. </div>

</div>