[petsc-users] status of "make install" ?

2017-04-11 Thread Joachim Wuttke
Does PETSc support the usual installation command sequence configure; make; make install? The installation web page does not mention "make install". The Makefile generated by configure does contain a target "install". However, "make install" does not work; it yields the error message

[petsc-users] status of PETSc installation via CMake?

2017-04-11 Thread Joachim Wuttke
The current source archive petsc-3.7.5.tar.gz comes with files - configure for Autotools based installation - CMakeLists.txt for CMake based installation However, the installation web page https://www.mcs.anl.gov/petsc/documentation/installation.html only mentions "./configure". So what is

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

2017-04-11 Thread Joachim Wuttke
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-users] FindPETSc.cmake expects petscvariables in wrong location

2017-04-11 Thread Joachim Wuttke
The PETSc FAQ recommends to use the FindPETSc.cmake module from the repository https://github.com/jedbrown/cmake-modules. This doesn't work for me. CMake fails with the following message: CMake Error at cmake/modules/FindPETSc.cmake:125 (message): The pair

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

2017-04-11 Thread Joachim Wuttke
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

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

2017-04-11 Thread Joachim Wuttke
'make test' was successful. And indeed, ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/petscvariables exists. There was a mistake in my PETSC_DIR. Now FindPETSc.cmake does find petscvariables ... ... and I am at the next error: CMake Error at cmake/modules/FindPETSc.cmake:164 (include): include

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

2017-04-11 Thread Joachim Wuttke
... and I am at the next error: CMake Error at cmake/modules/FindPETSc.cmake:164 (include): include could not find load file: ResolveCompilerPaths which is easily solved by copying that file from the external repository https://github.com/jedbrown/cmake-modules/ smime.p7s Description:

[petsc-users] -log_summary: User Manual outdated

2017-04-12 Thread Joachim Wuttke
pp. 174, 183 in the current User Manual describe option -log_summary. Running code with this option yields WARNING: -log_summary is being deprecated; switch to -log_view Btw either form of the option is missing in the Index. smime.p7s Description: S/MIME Cryptographic Signature

[petsc-users] Manual mistaken about VecSetValues

2017-04-11 Thread Joachim Wuttke
The PETSc User Manual [ANL-95/11 Rev 3.7 ] says on p. 44: Example usage of VecSetValues() may be found in ${PETSC_DIR}/src/vec/vec/examples/tutorials/ex2.c However, that example [pp. 32-35 in the User Manual] does not contain "VecSetValues". smime.p7s Description: S/MIME Cryptographic