[petsc-users] Building with CMAKE_GENERATOR set

Barry Smith bsmith at petsc.dev
Thu Mar 10 10:09:32 CST 2022


https://gitlab.com/petsc/petsc/-/merge_requests/4952 <https://gitlab.com/petsc/petsc/-/merge_requests/4952>


> On Mar 10, 2022, at 9:29 AM, Deij-van Rijswijk, Menno <M.Deij at marin.nl> wrote:
> 
> 
> Yes, I think that would work.
>  
> All the best,
> Menno
>  
> 
> dr. ir. Menno A. Deij-van Rijswijk | Researcher | Research & Development | Vrijdag vrij. 
> In het algemeen op maandag en woensdag vanuit huis werkend, en op dinsdag en donderdag op kantoor. Actuele beschikbaarheid staat in mijn agenda.
> MARIN | T +31 317 49 35 06 | M.Deij at marin.nl <mailto:M.Deij at marin.nl> | www.marin.nl <http://www.marin.nl/>
> 
> <image58ada6.PNG> <https://www.linkedin.com/company/marin> <image8693ea.PNG> <http://www.youtube.com/marinmultimedia> <image11d6c4.PNG> <https://twitter.com/MARIN_nieuws> <imagef67c7d.PNG> <https://www.facebook.com/marin.wageningen>
> MARIN news:
> 
> 
> 
> From: Barry Smith <bsmith at petsc.dev <mailto:bsmith at petsc.dev>> 
> Sent: Thursday, March 10, 2022 3:25 PM
> To: Deij-van Rijswijk, Menno <M.Deij at marin.nl <mailto:M.Deij at marin.nl>>
> Cc: petsc-users at mcs.anl.gov <mailto:petsc-users at mcs.anl.gov>
> Subject: Re: [petsc-users] Building with CMAKE_GENERATOR set
>  
>  
>   Would it be enough that PETSc's ./configure build of external packages that use cmake temporarily turns off the value of CMAKE_GENERATOR  when it runs cmake for the external packages? 
>  
>   Barry
>  
> 
> 
> On Mar 10, 2022, at 6:50 AM, Deij-van Rijswijk, Menno <M.Deij at marin.nl <mailto:M.Deij at marin.nl>> wrote:
>  
>  
> Good morning,
>  
> I find that when I set the environment variable CMAKE_GENERATOR to something that is not "Unix Makefiles" (e.g. Ninja) that building of subprojects like METIS fails. METIS gets configured with CMake, and writes out ninja.build build instructions. Then PETSc calls make/gmake to build and it can't find the makefiles because they're not generated. It would be nice if PETSc could handle other build tools supported by CMake, like for example Ninja.
>  
> Best regards,
>  
>  
> Menno Deij - van Rijswijk
>  
> 
> dr. ir. Menno A. Deij-van Rijswijk | Researcher | Research & Development | Vrijdag vrij. 
> In het algemeen op maandag en woensdag vanuit huis werkend, en op dinsdag en donderdag op kantoor. Actuele beschikbaarheid staat in mijn agenda.
> MARIN | T +31 317 49 35 06 | M.Deij at marin.nl <mailto:M.Deij at marin.nl> | www.marin.nl <http://www.marin.nl/>
> 
> <image1150b9.PNG> <https://www.linkedin.com/company/marin> <image5b3f56.PNG> <http://www.youtube.com/marinmultimedia> <image401cc0.PNG> <https://twitter.com/MARIN_nieuws> <image87ad97.PNG> <https://www.facebook.com/marin.wageningen>
> MARIN news:
>  
>  
> 
> Help us improve the spam filter. If this message contains SPAM, click here <https://www.mailcontrol.com/sr/o5c7UvMrbnXGX2PQPOmvUr11KAWLA5a3ktYgc6JbAdv0ydXaABFXFMIFxi3fyJhOyXCp1Q_VWH-hqfUB1i-uFQ==> to report. Thank you, MARIN Digital Services
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220310/e22ee7a1/attachment-0001.html>


More information about the petsc-users mailing list