[petsc-users] Petsc CMake conf
Jed Brown
jedbrown at mcs.anl.gov
Fri Apr 13 17:49:36 CDT 2012
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120413/46ab8017/attachment.htm>
More information about the petsc-users
mailing list