Re: [deal.II] Cannot find local compiled petsc library

2020-07-24 Thread yuesu jin
Dear all, This problem has been solved. I copied the petscversion.h file to the arch/include folder therefore cmake found all petsc files and finished compilation. Best regards On Fri, Jul 24, 2020 at 3:17 PM yuesu jin wrote: > Dear Daniel, > Thank you for the instruction! I gave the

Re: [deal.II] Cannot find local compiled petsc library

2020-07-24 Thread yuesu jin
Dear Daniel, Thank you for the instruction! I gave the architecture directory, which is a sub-directory : /home/yjin6/petsc/arch-linux-c-debug. It returns message like this: ***

Re: [deal.II] Cannot find local compiled petsc library

2020-07-24 Thread Daniel Arndt
Yuesun, Apparently, CMake was able to find the file petscvariables, but not the include directories or the library. Can you search for "libpetsc.so" yourself? Our CMake find module tries to find this library in {PETSC_DIR}/lib or {PETSC_DIR}/lib64. See if you can adjust PETSC_DIR accordingly.

[deal.II] Cannot find local compiled petsc library

2020-07-23 Thread yuesu jin
Dear all, I am installing deal.ii with petsc on a cluster. After I compiled the petsc library (The arch folder name is arch-linux-c-debug) and gave a cmake argument -DPETSC_DIR=/home/yjin6/petsc cmake cannot find the petsc library .so file(It is in the folder), but it founds the version is 3.13.