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 , 29 Tem 2020 Çar, 20:20 tarihinde şunu yazdı:
>
> This is likely a cmake install bug. I submitted a report.
>
>
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
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 , 29 Tem 2020 Çar, 18:51 tarihinde şunu yazdı:
> >
> >
> > Please try
> >
> >
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
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
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
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 wrote:
>
> On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay
On Tue, Jul 28, 2020 at 10:45 AM Eda Oktay 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