Hello Sudip,
If i may answer, i'm compiling petsc apart of dealii, and when compiling
dealii, i'm using those kind of cmake options :
-DHDF5_DIR=$PETSC_DIR -DPETSC_DIR=$PETSC_DIR -DPETSC_ARCH=""
-DSLEPC_DIR=$PETSC_DIR -DP4EST_DIR=$PETSC_DIR -DDEAL_II_WITH_P4EST=ON
-DMETIS_DIR=$PETSC_DIR -DDEAL_II_WITH_METIS=ON -DDEAL_II_WITH_SLEPC=ON
-DDEAL_II_WITH_PETSC=ON
You have to put the right value in the environment variable PETSC_DIR.
Then, you have a summary.log file inside the building directory.
Personally i have :
[...]
# DEAL_II_WITH_HDF5 set up with external dependencies
# DEAL_II_WITH_METIS set up with external dependencies
# DEAL_II_WITH_MPI set up with external dependencies
# DEAL_II_WITH_P4EST set up with external dependencies
# DEAL_II_WITH_PETSC set up with external dependencies
[...]
Meaning that it has found the right libs. Moreover, i'm using a lot the
tests directory. You have some very small programs with one testing
purpose. I learned a lot there.
Hope this help,
Best regards,
Yann
> --
> The deal.II project is located at
http://www.dealii.org/ <http://
>
www.dealii.org/>
> For mailing list/forum options, see
https://groups.google.com/d/forum/
> dealii?hl=en <
https://groups.google.com/d/forum/dealii?hl=en>
> ---
> You received this message because you are subscribed to the Google
> Groups "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
dealii+un...@googlegroups.com
> <mailto:
dealii+un...@googlegroups.com>.
> To view this discussion visit
https://groups.google.com/d/msgid/
> dealii/7ffe864f-824c-48d5-9189-d739d44daba9n%
40googlegroups.com
> <
https://groups.google.com/d/msgid/dealii/7ffe864f-824c-48d5-9189-
> d739d44daba9n%
40googlegroups.com?utm_medium=email&utm_source=footer>.