[petsc-users] FindPETSc.cmake expects petscvariables in wrong location

Satish Balay balay at mcs.anl.gov
Tue Apr 11 11:11:26 CDT 2017


you need to give me details on how you installed petsc. [say make.log]

Satish

On Tue, 11 Apr 2017, Joachim Wuttke wrote:

> Satish, thank you very much for your prompt answers.
> Your last one, however, does not solve my problem.
> 
> PETSC_ARCH='' is not the solution.
> 
> Line 115 of FindPETSc.cmake,
> 
>   if (EXISTS "${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/petscvariables") # >
> 3.5
> 
> would then search for
> 
>    ${PETSC_DIR}//lib/petsc/conf/petscvariables
> 
> which obviously fails.
> 
> 



More information about the petsc-users mailing list