[petsc-users] Petsc configure error (cmake)

Barry Smith bsmith at petsc.dev
Tue Jul 28 12:55:50 CDT 2020


   Eda,

     The branch barry/2020-07-28/cmake-use-make-if-given/maint should resolve the problem. It will force the cmake build to use the make obtained with --download-make

   Barry


> On Jul 28, 2020, at 9:48 AM, Matthew Knepley <knepley at gmail.com> wrote:
> 
> On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay <eda.oktay at metu.edu.tr <mailto:eda.oktay at metu.edu.tr>> wrote:
> I am trying to download Petsc with slepc,openblas,mpich,meti,parmetis
> and chaco to a linux computer (probably
> ubuntu, I don't know because I am using it via ssh).
> 
> Due to an error, for metis, I needed to download cmake, so I added
> this option, too. However, I got an error telling me that "Error
> running configure on cmake". I attached configure.log.
> 
> What should I do? Where is the problem and how can ı fix it?
> 
> Thank you so much for answering,
> 
> It looks like you do not have 'make' in your path, and CMake is feaking out:
> 
> CMAKE was just downloaded, forcing a rebuild because cannot determine if package has changed
>                         ===============================================================================
>                               Running configure on CMAKE; this may take several minutes
>                         ===============================================================================
>                       
> Running Executable WITHOUT threads to time it out
> Executing: ./configure --prefix=/home/eda/petsc-3.13.2/arch-linux-c-debug --parallel=40
> stdout:
> ---------------------------------------------
> CMake 3.15.6, Copyright 2000-2019 Kitware, Inc. and Contributors
> Found GNU toolchain
> C compiler on this system is: gcc       
> C++ compiler on this system is: g++          
> ---------------------------------------------
> Error when bootstrapping CMake:
> Cannot find appropriate Makefile processor on this system.
> Please specify one using environment variable MAKE.
> ---------------------------------------------
> Log of errors: /home/eda/petsc-3.13.2/arch-linux-c-debug/externalpackages/cmake-3.15.6/Bootstrap.cmk/cmake_bootstrap.log
> ---------------------------------------------
> 
>   Thanks,
> 
>     Matt
>  
> Eda
> 
> 
> -- 
> 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.cse.buffalo.edu/~knepley/>

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


More information about the petsc-users mailing list