[petsc-dev] CMake: make, install, find_package ?

Matthew Knepley knepley at gmail.com
Sun Nov 5 09:02:20 CST 2017


On Sun, Nov 5, 2017 at 9:37 AM, Franck Houssen <franck.houssen at inria.fr>
wrote:

> ------------------------------
>
> *De: *"Matthew Knepley" <knepley at gmail.com>
> *À: *"Franck Houssen" <franck.houssen at inria.fr>
> *Cc: *"For users of the development version of PETSc" <
> petsc-dev at mcs.anl.gov>
> *Envoyé: *Dimanche 5 Novembre 2017 15:09:30
> *Objet: *Re: [petsc-dev] CMake: make, install, find_package ?
>
> On Sun, Nov 5, 2017 at 8:57 AM, Franck Houssen <franck.houssen at inria.fr>
> wrote:
>
>> Hello,
>>
>> Does PETSc provide support for CMake ? I would say this is an on-going
>> feature that is not yet fully working, right ?
>>
>> My understanding is that "./configure" generates the CMakeLists.txt. But
>> then, when using cmake, make fails.
>> Is this supposed to work yet ? Or is this on-going dev ? (google is
>> misleading about that, and, not seen anything in the doc)
>>
>
> We supported this a few years ago, but the obscene brokeness of CMake
> makes this impossible, so it is no longer supported.
>
>
> Obscene brokeness ?! What do you mean !?
>

There is a lot of CMake discussion on the list. Searching will turn it up.


> Reminds me Travis-CI when I struggled to upgrade from ubuntu-12, and, had
> to rebuild everything during 45 mins out of the 49 mins slot available !...
> :D
>
> I believe this is a shame (as lots of people use cmake)... But I
> understand 100% the obscene part of the "dark side" ! (I escaped the
> Travis-CI "death star")
> I got that to work in 30-45 minutes (with find_package support): looks
> nice and stable...
> Personal opinion: either you decide to have a fresh look at this (things
> may be better now), or, you should unplug the generation of CMakeLists.txt
> (misleading).
>

We do not suggest this in either the manual or the generated help. People
are free to use it at their own risk.

   Matt


> Franck
>
>
>   Thanks,
>
>     Matt
>
>> Franck
>>
>> PS : I got it to work (partially - for petsc, not external packages) on
>> my laptop (debian). I may (?) push I somebody is interested to have a look
>> (on going dev ?).
>>
>
>
>
> --
> 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
>
> https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
>
>
>


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

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171105/004e4f5c/attachment.html>


More information about the petsc-dev mailing list