[petsc-users] cmake METIS problem
Matthew Knepley
knepley at gmail.com
Mon Dec 5 05:49:22 CST 2011
2011/12/5 Gong Ding <gdiso at ustc.edu>
> Hi,
> I try to install petsc-dev on AIX/PPC cluster.
> I'd like to use xlc, however, there is a dead gcc/g++ installed in
> /usr/bin.
> Since I am not the administrator, I can't do anything to remove/update it.
>
Specify the compilers using --with-cc --with-cxx --with-fc. I suggest you
specify the MPI
compiler wrappers for this machine.
Matt
> The cmake configure file for metis tries to find c++ compiler, and
> reported error with that g++.
>
> Error running configure on METIS: Could not execute "cd
> /gpfs1/cogenda/cogenda/packages/petsc-dev/externalpackages/metis-5.0.2 &&
> make distclean && make config
> prefix=/gpfs1/cogenda/cogenda/packages/petsc-dev/IBM-XLCPP cc="mpcc_r"
> doubleprecision=1":
> rm -rf build/AIX-000092FAD400
> rm -rf build/AIX-000092FAD400
> mkdir -p build/AIX-000092FAD400
> cd build/AIX-000092FAD400 && cmake
> /gpfs1/cogenda/cogenda/packages/petsc-dev/externalpackages/metis-5.0.2
> -DCMAKE_VERBOSE_MAKEFILE=1 -DGKLIB_PATH=
> -DCMAKE_INSTALL_PREFIX=/gpfs1/cogenda/cogenda/packages/petsc-dev/IBM-XLCPP
> -DCMAKE_C_COMPILER=mpcc_r -DMETIS_USE_DOUBLEPRECISION=1
> -- The C compiler identification is XL
> -- The CXX compiler identification is unknown
> -- Check for working C compiler: /usr/bin/mpcc_r
> -- Check for working C compiler: /usr/bin/mpcc_r -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/g++
> -- Check for working CXX compiler: /usr/bin/g++ -- broken
> -- Configuring incomplete, errors occurred!
>
> I think the testing for c++ compiler can be removed here?
>
>
>
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111205/1b73bf51/attachment.htm>
More information about the petsc-users
mailing list