[petsc-dev] configure fails
Satish Balay
balay at mcs.anl.gov
Tue Jan 10 09:55:21 CST 2012
On Tue, 10 Jan 2012, Thomas Witkowski wrote:
> I failed to configure petsc-dev with the following configuration:
>
> ./configure --prefix=/fastfs/witkowsk/petsc/install/petsc-dev-dbg
> --download-blacs --download-parmetis --download-scalapack --download-umfpack
> --with-blas-lapack-dir=/work/licsoft/libraries/mkl/9.1.023/lib/em64t
> --with-c++-support --download-mumps --download-superlu --download-parmetis
> --download-superlu_dist --download-hypre --with-clanguage=cxx --download-metis
>
> When Metis is configured, the following error occurs:
>
> *******************************************************************************
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for
> details):
> -------------------------------------------------------------------------------
> Error running configure on METIS: Could not execute "cd
> /fastfs/witkowsk/petsc/build/petsc-dev/externalpackages/metis-5.0.2 && make
> distclean && make config
> prefix=/fastfs/witkowsk/petsc/build/petsc-dev/arch-linux2-cxx-debug cc="mpicc"
> debug=1 doubleprecision=1":
> rm -rf build/Linux-x86_64
> rm -rf build/Linux-x86_64
> mkdir -p build/Linux-x86_64
> cd build/Linux-x86_64 && cmake
> /fastfs/witkowsk/petsc/build/petsc-dev/externalpackages/metis-5.0.2
> -DCMAKE_VERBOSE_MAKEFILE=1 -DGKLIB_PATH= -DDEBUG=1
> -DCMAKE_INSTALL_PREFIX=/fastfs/witkowsk/petsc/build/petsc-dev/arch-linux2-cxx-debug
> -DCMAKE_C_COMPILER=mpicc -DMETIS_USE_DOUBLEPRECISION=1
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler:
> /licsoft/libraries/openmpi/1.2.6/64bit/bin/mpicc
> -- Check for working C compiler:
> /licsoft/libraries/openmpi/1.2.6/64bit/bin/mpicc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Configuring incomplete, errors occurred!
> CMake Error at CMakeLists.txt:21 (include):
> include could not find load file:
>
> /GKlibSystem.cmake
>
>
> What happens here?
For one - you should send such issues with the relavent logs to petsc-maint.
Most common issues with metis/parmetis:
- latest cmake is not in PATH [check 'which cmake; cmake --version']
- latest gnumake is not in PATH [check 'make --version']
> By the way, why petsc-dev forces to make use of metis when I want to use
> parmetis? The release version works fine without this.
Well - parmetis/metis distribution is a bit wierd. Metis is
distributed separately - and then parmetis tarball also bundles metis
sources.
And with petsc-3.2 --downlod-parmetis installed both metis and
parmeits [from the parmetis tarball]. However there was also a
separeate metis.py for *metis only* requirements in PETSc Buildsystem
[Don't know who uses this requirement]. To remove this inconsistancy -
Sean updated petsc-dev to treat metis and parmetis as separate
pacakges.
Satish
More information about the petsc-dev
mailing list