[petsc-dev] CMake version
Alexander Grayver
agrayver at gfz-potsdam.de
Fri Dec 9 03:43:16 CST 2011
I installed cmake 2.8.6 in my local directory and petsc sees it there,
but still gives same error:
Defined make macro "CMAKE " to "/home/bin/cmake/bin/cmake"
Pushing language C
================================================================================
TEST configureLibrary from
PETSc.packages.metis(/home/lib/petsc-dev/config/BuildSystem/config/package.py:417)
TESTING: configureLibrary from
PETSc.packages.metis(config/BuildSystem/config/package.py:417)
Find an installation and check if it can work with PETSc
==================================================================================
Checking for a functional metis
Looking for METIS in directory starting with metis
Found a copy of METIS in metis-5.0.2
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log
for details):
-------------------------------------------------------------------------------
CMake > 2.8.5 is needed to build METIS
*******************************************************************************
File "/home/lib/petsc-dev/config/configure.py", line 287, in
petsc_configure
framework.configure(out = sys.stdout)
File "/home/lib/petsc-dev/config/BuildSystem/config/framework.py",
line 929, in configure
child.configure()
File "/home/lib/petsc-dev/config/BuildSystem/config/package.py", line
506, in configure
self.executeTest(self.configureLibrary)
File "/home/lib/petsc-dev/config/BuildSystem/config/base.py", line
115, in executeTest
ret = apply(test, args,kargs)
File "/home/lib/petsc-dev/config/BuildSystem/config/package.py", line
433, in configureLibrary
for location, directory, lib, incl in self.generateGuesses():
File "/home/lib/petsc-dev/config/BuildSystem/config/package.py", line
228, in generateGuesses
d = self.checkDownload(1)
File "/home/lib/petsc-dev/config/BuildSystem/config/package.py", line
313, in checkDownload
return self.getInstallDir()
File "/home/lib/petsc-dev/config/BuildSystem/config/package.py", line
183, in getInstallDir
return os.path.abspath(self.Install())
File "/home/lib/petsc-dev/config/PETSc/packages/metis.py", line 30,
in Install
raise RuntimeError('CMake > 2.8.5 is needed to build METIS')
lib/petsc-dev> cmake -version
cmake version 2.8.6
On 09.12.2011 09:56, Alexander Grayver wrote:
> Hi dev-team,
>
> Yesterday I duilt petsc-dev successfully, today I updated it and tried
> to reconfigure:
>
> -------------------------------------------------------------------------------
>
> CMake > 2.8.5 is needed to build METIS
> *******************************************************************************
>
>
> lib/petsc-dev> cmake
> cmake version 2.8.4
>
> Just tell me, something has been changed in petsc or it's rather my
> machine?
>
> Regards,
> Alexander
>
More information about the petsc-dev
mailing list