[petsc-users] Building PETSc with cmake

Matthew Knepley knepley at gmail.com
Tue Sep 13 08:59:27 CDT 2011


On Tue, Sep 13, 2011 at 8:55 AM, John Fettig <john.fettig at gmail.com> wrote:

> What are the requirements for building PETSc with cmake?  I have cmake
> version 2.8.1 installed, and configure finds it, but it does nothing
> with it.  Is it because my python version is too old?  This is on
> CentOS 5, I get these messages about cmake in the configure.log (with
> 3.2-p0):
>
> Checking for program /usr/local/bin/cmake...found
>            Defined make macro "CMAKE" to "/usr/local/bin/cmake"
>
> ...
>
>      Skipping cmakegen due to old python version: (2, 4, 3, 'final', 0)
>      Skipping cmakeboot due to old python version: (2, 4, 3, 'final', 0)
>
> At the end of the configure, I'm not offered a way to build with
> cmake.  I presume that cmake is the only way to do a parallel build?


Yes, and it is because your Python version is too old. I believe it needs
2.6. I would
install 2.7 if you are upgrading.

   Matt


>
> John

-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110913/70137259/attachment.htm>


More information about the petsc-users mailing list