<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Without knowing how your system is configured, this may not help. But on the Cray systems we use (they have the modules package installed), if we are using a compiler other than GNU (Intel, PGI, etc) but we want to use cmake, we still have to load the gcc module (not the programming environment, just the module). <br><br>On our machines, it means we may load the PrgEnv-Intel module (so cc points to icc, ftn points to ifort, etc) but we also have to load gcc/<version> to get cmake to work. <br><br>Tim<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Aron Ahmadia" <aron.ahmadia@kaust.edu.sa><br><b>To: </b>"For users of the development version of PETSc" <petsc-dev@mcs.anl.gov><br><b>Sent: </b>Wednesday, November 30, 2011 3:49:25 PM<br><b>Subject: </b>Re: [petsc-dev] metis config error on XT4<br><br><div dir="ltr">looks like a broken cmake...<div><br></div><div>What happens when you just run: cmake by itself?</div><div><br></div><div>A<br><br><div class="gmail_quote">On Wed, Nov 30, 2011 at 11:47 PM, Mark F. Adams <span dir="ltr"><<a href="mailto:mark.adams@columbia.edu" target="_blank">mark.adams@columbia.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm getting this error on Franklin at NERSC:<br>
*******************************************************************************<br>
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<br>
-------------------------------------------------------------------------------<br>
Error running configure on METIS: Could not execute "cd /global/u2/m/madams/petsc-dev/externalpackages/metis-5.0.2 && make distclean && make config prefix=/global/homes/m/madams/petsc-dev/arch-xt5-opt cc="cc" doubleprecision=1":<br>
rm -rf build/Linux-x86_64<br>
rm -rf build/Linux-x86_64<br>
mkdir -p build/Linux-x86_64<br>
cd build/Linux-x86_64 && cmake /global/u2/m/madams/petsc-dev/externalpackages/metis-5.0.2 -DCMAKE_VERBOSE_MAKEFILE=1 -DGKLIB_PATH= -DCMAKE_INSTALL_PREFIX=/global/homes/m/madams/petsc-dev/arch-xt5-opt -DCMAKE_C_COMPILER=cc -DMETIS_USE_DOUBLEPRECISION=1<br>
cmake: /opt/gcc/4.5.3/snos/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by cmake)<br>
make: *** [config] Error 1<br>
*******************************************************************************<br>
<br>
any ideas?<br>
<font color="#888888"><br>
Mark<br>
</font></blockquote></div><br></div></div>
</div><br></div></body></html>