On Fri, Apr 13, 2012 at 3:49 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> On Fri, Apr 13, 2012 at 17:47, Mohammad Mirzadeh <mirzadeh at gmail.com>wrote: > >> ust a question though. When I run cmake in the build directory I get: >> >> -- Performing Test MULTIPASS_TEST_1_petsc_works_minimal >> -- Performing Test MULTIPASS_TEST_1_petsc_works_minimal - Failed >> -- Performing Test MULTIPASS_TEST_2_petsc_works_allincludes >> -- Performing Test MULTIPASS_TEST_2_petsc_works_allincludes - Failed >> -- Performing Test MULTIPASS_TEST_3_petsc_works_alllibraries >> -- Performing Test MULTIPASS_TEST_3_petsc_works_alllibraries - Failed >> -- Performing Test MULTIPASS_TEST_4_petsc_works_all >> -- Performing Test MULTIPASS_TEST_4_petsc_works_all - Failed >> -- PETSc could not be used, maybe the install is broken. >> -- PETSc could not be found. Be sure to set PETSC_DIR and PETSC_ARCH. >> (missing: PETSC_EXECUTABLE_RUNS) >> -- PETSc could not be found. Be sure to set PETSC_DIR and PETSC_ARCH. >> (missing: PETSC_EXECUTABLE_RUNS) >> >> >> 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. >> > > Which binary runs? Check the CMake error files and use cmake --trace or > --debug-output. > my code -- I'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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120413/0b41ce9b/attachment-0001.htm>
