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

Joachim Wuttke j.wuttke at fz-juelich.de
Tue Apr 11 10:19:23 CDT 2017


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 the status of support for CMake based installation?

The following attempt failed:
   cd petsc-3.7.5 [the unpacked source archive]
   mkdir build
   cd build
   cmake ..
Result:
   [...]
   CMake Error at CMakeLists.txt:4 (include):
     include could not find load file:
       /lib/petsc/conf/PETScBuildInternal.cmake
   -- Configuring incomplete, errors occurred!

In-place build (which of course is disadvised)
results in the same error.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5110 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170411/44950126/attachment.bin>


More information about the petsc-users mailing list