Getting a verbose listing as the METIS libraries are built

I notice that when building ParMETIS 4.0.3, I see lines such as

/usr/bin/ar cr libmetis.a (object files)


/usr/bin/ar cr libparmetis.a (object files)

Does anyone know how to get a verbose listing, as in "ar crv" where the "v" option calls for a line-by-line listing as each object file is added to the library? It would be nice to see if there was a problem during the compilation of a particular source file, resulting in the "ar" command not finding the object file. I'm unfamiliar with "cmake" and cannot find where the options to the "ar" command are specified.

On a separate issue, it seems that building ParMETIS and METIS on a Cray system (e.g., Cray XE6, XC30, or XC40) fails when the Intel programming environment is used (i.e, the module "PrgEnv-intel" is loaded). The problem appears with the following messages:

rm -rf build/Linux-x86_64
mkdir -p build/Linux-x86_64
cd build/Linux-x86_64 && cmake /lustre/work1/oppe/ABTP/app/avus/src/parmetis-4.0.3/metis -DCMAKE_VERBOSE_MAKEFILE=1 -DGKLIB_PATH=/lustre/work1/oppe/ABTP/app/avus/src/parmetis-4.0.3/metis/GKlib -DCMAKE_INSTALL_PREFIX=/lustre/work1/oppe/ABTP/app/avus/src/parmetis-4.0.3/installed -DCMAKE_C_COMPILER=cc
-- The C compiler identification is Intel
-- The CXX compiler identification is Intel
-- Check for working C compiler: /opt/cray/xt-asyncpe/5.28/bin/cc
-- Check for working C compiler: /opt/cray/xt-asyncpe/5.28/bin/cc -- broken
CMake Error at /lustre/home1/u/oppe/share/cmake-3.3/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/opt/cray/xt-asyncpe/5.28/bin/cc" is not able to compile a
simple test program.

It fails with the following output:

Change Dir: /lustre/work1/oppe/ABTP/app/avus/src/parmetis-4.0.3/metis/build/Linux-x86_64/CMakeFiles/CMakeTmp

Has anyone encountered this problem and has a fix? Thank you for any information.

Tom Oppe