Petsc configure error (cmake)
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, Eda
On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay <[email protected]> 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/>
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 <[email protected]> wrote:
On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay <[email protected] <mailto:[email protected]>> 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/>
Dear Barry, Thank you so much for answering. So, I downloaded the tar.gz file and now, should I configure this file with my previous options? I am using the following line: ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1 Thanks so much again! Eda Barry Smith <[email protected]>, 28 Tem 2020 Sal, 20:55 tarihinde şunu yazdı:
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 <[email protected]> wrote:
On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay <[email protected]> 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
It's better to use git than download tarballs. With tarballs it is not possible to access recent fixes or try branches. Here is what you can do, save the attachment as cmakemake.patch and do patch -p1 < cmakemake.patch in the PETSc directory Then run configure as before Barry
On Jul 28, 2020, at 3:28 PM, Eda Oktay <[email protected]> wrote:
Dear Barry,
Thank you so much for answering. So, I downloaded the tar.gz file and now, should I configure this file with my previous options? I am using the following line:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
Thanks so much again!
Eda
Barry Smith <[email protected]>, 28 Tem 2020 Sal, 20:55 tarihinde şunu yazdı:
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 <[email protected]> wrote:
On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay <[email protected]> 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
Dear Barry, I wrote the followings: $ patch -p1 < cmakemake.patch And it gave the following line: (Stripping trailing CRs from patch; use --binary to disable.) patching file config/BuildSystem/config/packages/cmake.py Then I configured as follows: ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1 But I am still getting the following error: ******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Error running configure on CMAKE ******************************************************************************* Am I doing something wrong? Thanks! Eda Barry Smith <[email protected]>, 29 Tem 2020 Çar, 00:10 tarihinde şunu yazdı:
It's better to use git than download tarballs. With tarballs it is not possible to access recent fixes or try branches.
Here is what you can do, save the attachment as cmakemake.patch and do
patch -p1 < cmakemake.patch
in the PETSc directory
Then run configure as before
Barry
On Jul 28, 2020, at 3:28 PM, Eda Oktay <[email protected]> wrote:
Dear Barry,
Thank you so much for answering. So, I downloaded the tar.gz file and now, should I configure this file with my previous options? I am using the following line:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
Thanks so much again!
Eda
Barry Smith <[email protected]>, 28 Tem 2020 Sal, 20:55 tarihinde şunu yazdı:
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 <[email protected]> wrote:
On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay <[email protected]> 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
Please try rm -rf /home/eda/petsc-3.13.2/arch-linux-c-debug and then run configure again. It lists the correct make to use Makefile processor on this system is: /home/eda/petsc-3.13.2/arch-linux-c-debug/bin/make So I am hoping the problem is from the crazy cmake caching nonsense and cleaning out the old files will resolve the problem. Barry
On Jul 29, 2020, at 5:51 AM, Eda Oktay <[email protected]> wrote:
Dear Barry,
I wrote the followings:
$ patch -p1 < cmakemake.patch
And it gave the following line:
(Stripping trailing CRs from patch; use --binary to disable.) patching file config/BuildSystem/config/packages/cmake.py
Then I configured as follows:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
But I am still getting the following error:
******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Error running configure on CMAKE *******************************************************************************
Am I doing something wrong?
Thanks!
Eda
Barry Smith <[email protected]>, 29 Tem 2020 Çar, 00:10 tarihinde şunu yazdı:
It's better to use git than download tarballs. With tarballs it is not possible to access recent fixes or try branches.
Here is what you can do, save the attachment as cmakemake.patch and do
patch -p1 < cmakemake.patch
in the PETSc directory
Then run configure as before
Barry
On Jul 28, 2020, at 3:28 PM, Eda Oktay <[email protected]> wrote:
Dear Barry,
Thank you so much for answering. So, I downloaded the tar.gz file and now, should I configure this file with my previous options? I am using the following line:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
Thanks so much again!
Eda
Barry Smith <[email protected]>, 28 Tem 2020 Sal, 20:55 tarihinde şunu yazdı:
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 <[email protected]> wrote:
On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay <[email protected]> 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
<configure.log>
Dear Barry, I am afraid I am still getting the same error. Thanks, Eda Barry Smith <[email protected]>, 29 Tem 2020 Çar, 18:51 tarihinde şunu yazdı:
Please try
rm -rf /home/eda/petsc-3.13.2/arch-linux-c-debug
and then run configure again.
It lists the correct make to use
Makefile processor on this system is: /home/eda/petsc-3.13.2/arch-linux-c-debug/bin/make
So I am hoping the problem is from the crazy cmake caching nonsense and cleaning out the old files will resolve the problem.
Barry
On Jul 29, 2020, at 5:51 AM, Eda Oktay <[email protected]> wrote:
Dear Barry,
I wrote the followings:
$ patch -p1 < cmakemake.patch
And it gave the following line:
(Stripping trailing CRs from patch; use --binary to disable.) patching file config/BuildSystem/config/packages/cmake.py
Then I configured as follows:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
But I am still getting the following error:
******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Error running configure on CMAKE *******************************************************************************
Am I doing something wrong?
Thanks!
Eda
Barry Smith <[email protected]>, 29 Tem 2020 Çar, 00:10 tarihinde şunu yazdı:
It's better to use git than download tarballs. With tarballs it is not possible to access recent fixes or try branches.
Here is what you can do, save the attachment as cmakemake.patch and do
patch -p1 < cmakemake.patch
in the PETSc directory
Then run configure as before
Barry
On Jul 28, 2020, at 3:28 PM, Eda Oktay <[email protected]> wrote:
Dear Barry,
Thank you so much for answering. So, I downloaded the tar.gz file and now, should I configure this file with my previous options? I am using the following line:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
Thanks so much again!
Eda
Barry Smith <[email protected]>, 28 Tem 2020 Sal, 20:55 tarihinde şunu yazdı:
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 <[email protected]> wrote:
On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay <[email protected]> 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
<configure.log>
I can reproduce this - by uninstalling system make. Will check. Satish On Wed, 29 Jul 2020, Eda Oktay wrote:
Dear Barry,
I am afraid I am still getting the same error.
Thanks,
Eda
Barry Smith <[email protected]>, 29 Tem 2020 Çar, 18:51 tarihinde şunu yazdı:
Please try
rm -rf /home/eda/petsc-3.13.2/arch-linux-c-debug
and then run configure again.
It lists the correct make to use
Makefile processor on this system is: /home/eda/petsc-3.13.2/arch-linux-c-debug/bin/make
So I am hoping the problem is from the crazy cmake caching nonsense and cleaning out the old files will resolve the problem.
Barry
On Jul 29, 2020, at 5:51 AM, Eda Oktay <[email protected]> wrote:
Dear Barry,
I wrote the followings:
$ patch -p1 < cmakemake.patch
And it gave the following line:
(Stripping trailing CRs from patch; use --binary to disable.) patching file config/BuildSystem/config/packages/cmake.py
Then I configured as follows:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
But I am still getting the following error:
******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Error running configure on CMAKE *******************************************************************************
Am I doing something wrong?
Thanks!
Eda
Barry Smith <[email protected]>, 29 Tem 2020 Çar, 00:10 tarihinde şunu yazdı:
It's better to use git than download tarballs. With tarballs it is not possible to access recent fixes or try branches.
Here is what you can do, save the attachment as cmakemake.patch and do
patch -p1 < cmakemake.patch
in the PETSc directory
Then run configure as before
Barry
On Jul 28, 2020, at 3:28 PM, Eda Oktay <[email protected]> wrote:
Dear Barry,
Thank you so much for answering. So, I downloaded the tar.gz file and now, should I configure this file with my previous options? I am using the following line:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
Thanks so much again!
Eda
Barry Smith <[email protected]>, 28 Tem 2020 Sal, 20:55 tarihinde şunu yazdı:
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 <[email protected]> wrote:
On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay <[email protected]> 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
<configure.log>
This is likely a cmake install bug. I submitted a report. https://gitlab.kitware.com/cmake/cmake/-/issues/21035 The workaround is to have make in PATH. Attaching this patch. And updating barry/2020-07-28/cmake-use-make-if-given/maint and https://gitlab.com/petsc/petsc/-/merge_requests/3004 with this change. Satish On Wed, 29 Jul 2020, Satish Balay via petsc-users wrote:
I can reproduce this - by uninstalling system make.
Will check.
Satish
On Wed, 29 Jul 2020, Eda Oktay wrote:
Dear Barry,
I am afraid I am still getting the same error.
Thanks,
Eda
Barry Smith <[email protected]>, 29 Tem 2020 Çar, 18:51 tarihinde şunu yazdı:
Please try
rm -rf /home/eda/petsc-3.13.2/arch-linux-c-debug
and then run configure again.
It lists the correct make to use
Makefile processor on this system is: /home/eda/petsc-3.13.2/arch-linux-c-debug/bin/make
So I am hoping the problem is from the crazy cmake caching nonsense and cleaning out the old files will resolve the problem.
Barry
On Jul 29, 2020, at 5:51 AM, Eda Oktay <[email protected]> wrote:
Dear Barry,
I wrote the followings:
$ patch -p1 < cmakemake.patch
And it gave the following line:
(Stripping trailing CRs from patch; use --binary to disable.) patching file config/BuildSystem/config/packages/cmake.py
Then I configured as follows:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
But I am still getting the following error:
******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Error running configure on CMAKE *******************************************************************************
Am I doing something wrong?
Thanks!
Eda
Barry Smith <[email protected]>, 29 Tem 2020 Çar, 00:10 tarihinde şunu yazdı:
It's better to use git than download tarballs. With tarballs it is not possible to access recent fixes or try branches.
Here is what you can do, save the attachment as cmakemake.patch and do
patch -p1 < cmakemake.patch
in the PETSc directory
Then run configure as before
Barry
On Jul 28, 2020, at 3:28 PM, Eda Oktay <[email protected]> wrote:
Dear Barry,
Thank you so much for answering. So, I downloaded the tar.gz file and now, should I configure this file with my previous options? I am using the following line:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
Thanks so much again!
Eda
Barry Smith <[email protected]>, 28 Tem 2020 Sal, 20:55 tarihinde şunu yazdı:
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 <[email protected]> wrote:
On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay <[email protected]> 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
<configure.log>
Dear all, I made administrator of the server download cmake and configured it again and it was successful. Thank you so much for your replies! Eda Satish Balay <[email protected]>, 29 Tem 2020 Çar, 20:20 tarihinde şunu yazdı:
This is likely a cmake install bug. I submitted a report.
https://gitlab.kitware.com/cmake/cmake/-/issues/21035
The workaround is to have make in PATH. Attaching this patch.
And updating barry/2020-07-28/cmake-use-make-if-given/maint and https://gitlab.com/petsc/petsc/-/merge_requests/3004 with this change.
Satish
On Wed, 29 Jul 2020, Satish Balay via petsc-users wrote:
I can reproduce this - by uninstalling system make.
Will check.
Satish
On Wed, 29 Jul 2020, Eda Oktay wrote:
Dear Barry,
I am afraid I am still getting the same error.
Thanks,
Eda
Barry Smith <[email protected]>, 29 Tem 2020 Çar, 18:51 tarihinde şunu yazdı:
Please try
rm -rf /home/eda/petsc-3.13.2/arch-linux-c-debug
and then run configure again.
It lists the correct make to use
Makefile processor on this system is: /home/eda/petsc-3.13.2/arch-linux-c-debug/bin/make
So I am hoping the problem is from the crazy cmake caching nonsense and cleaning out the old files will resolve the problem.
Barry
On Jul 29, 2020, at 5:51 AM, Eda Oktay <[email protected]> wrote:
Dear Barry,
I wrote the followings:
$ patch -p1 < cmakemake.patch
And it gave the following line:
(Stripping trailing CRs from patch; use --binary to disable.) patching file config/BuildSystem/config/packages/cmake.py
Then I configured as follows:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
But I am still getting the following error:
******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Error running configure on CMAKE *******************************************************************************
Am I doing something wrong?
Thanks!
Eda
Barry Smith <[email protected]>, 29 Tem 2020 Çar, 00:10 tarihinde şunu yazdı:
It's better to use git than download tarballs. With tarballs it is not possible to access recent fixes or try branches.
Here is what you can do, save the attachment as cmakemake.patch and do
patch -p1 < cmakemake.patch
in the PETSc directory
Then run configure as before
Barry
On Jul 28, 2020, at 3:28 PM, Eda Oktay <[email protected]> wrote:
Dear Barry,
Thank you so much for answering. So, I downloaded the tar.gz file and now, should I configure this file with my previous options? I am using the following line:
./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-make --download-mpich --download-openblas --download-metis --download-parmetis --download-chaco --download-slepc=/home/eda/slepc-v3.13.2.tar.gz --download-cmake --with-X=1
Thanks so much again!
Eda
Barry Smith <[email protected]>, 28 Tem 2020 Sal, 20:55 tarihinde şunu yazdı:
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 <[email protected]> wrote:
On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay <[email protected]> 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
<configure.log>
participants (4)
-
Barry Smith -
Eda Oktay -
Matthew Knepley -
Satish Balay