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.  

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?



Reply via email to