<div class="gmail_quote">On Fri, Apr 13, 2012 at 17:47, Mohammad Mirzadeh <span dir="ltr"><<a href="mailto:mirzadeh@gmail.com">mirzadeh@gmail.com</a>></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>Which binary runs? Check the CMake error files and use cmake --trace or --debug-output.</div>