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. > >