On Tue, 11 Apr 2017, Satish Balay wrote: > On Tue, 11 Apr 2017, Joachim Wuttke wrote: > > > > you need to give me details on how you installed petsc. [say make.log] > > > > tar zxvf petsc-3.7.5.tar.gz > > > > cd petsc-3.7.5 > > > > ./configure --with-shared-libraries PETSC_DIR=/usr/local/src/petsc-3.7.5 > > PETSC_ARCH=linux-amd64 --with-mpi-dir=/usr/lib/x86_64-linux-gnu/openmpi > > > > make MAKE_NP=7 PETSC_DIR=/usr/local/src/petsc-3.7.5 PETSC_ARCH=linux-amd64 > > all > > So you are not using prefix install - so would require to use > 'PETSC_DIR=/usr/local/src/petsc-3.7.5 PETSC_ARCH=linux-amd64' with > FindPETSc.cmake > > Wrt your previous note: > > >>> > However, in the current source archive, it is located in > ${PETSC_DIR}/lib/petsc/conf/petscvariables, > and the default install procedure does not copy it to ${PETSC_ARCH}. > > <<<< > > Thre is also be > ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/petscvariables - that > FindPETSc.cmake should find > > If it doesn't work - send the relavent cmake logs - and Jed might > provide better debug instructions.
Also - please confirm if 'make test' was successful for your build. > > Satish >