<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Hi Satish,<BR>
<BR>
I did as you suggested and I was able to install successfully.<BR>
I attached the configure script and log.<BR>
<BR>
Thanks!<BR>
Michele<BR>
<BR>
On Thu, 2015-09-03 at 13:08 -0500, Satish Balay wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hm - this is weird.

<FONT COLOR="#737373">>>>>>>>>>>></FONT>

TESTING: checkMath from config.libraries(config/BuildSystem/config/libraries.py:251)
  Check for sin() in libm, the math library

Executing: mpicc  -o /tmp/petsc-AXFj8c/config.libraries/conftest    -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O3 -ffast-math -march=native -mtune=native /tmp/petsc-AXFj8c/config.libraries/conftest.o   -L/usr/lib/x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/x86_64-linux-gnu -L/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -ldl -lmpich -lopa -lmpl -lrt -lcr -lpthread -lgcc_s -ldl
              Popping language C
          Math functions are linked in by default


Executing: mpicc  -o /tmp/petsc-AXFj8c/config.libraries/conftest    -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O3 -ffast-math -march=native -mtune=native /tmp/petsc-AXFj8c/config.libraries/conftest.o  -Wl,-rpath,/opt/petsc/petscfork/gnu-opt-32idx/lib -L/opt/petsc/petscfork/gnu-opt-32idx/lib -lmetis -L/usr/lib/x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/x86_64-linux-gnu -L/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -ldl -lmpich -lopa -lmpl -lrt -lcr -lpthread -lgcc_s -ldl
Possible ERROR while running linker: exit code 256
stderr:
/opt/petsc/petscfork/gnu-opt-32idx/lib/libmetis.a(kmetis.c.o): In function `libmetis__InitKWayPartitioning':
/opt/petsc/petscfork/gnu-opt-32idx/externalpackages/metis-5.1.0-p1/libmetis/kmetis.c:187: undefined reference to `__log_finite'
/opt/petsc/petscfork/gnu-opt-32idx/externalpackages/metis-5.1.0-p1/libmetis/kmetis.c:187: undefined reference to `__pow_finite'
/opt/petsc/petscfork/gnu-opt-32idx/lib/libmetis.a(util.c.o): In function `gk_flog2':
/opt/petsc/petscfork/gnu-opt-32idx/externalpackages/metis-5.1.0-p1/GKlib/util.c:106: undefined reference to `__log_finite'
<<<<<<<<<<

Can you rerun configure with the additional option "LIBS=-lm" - and see if it makes a difference?

Satish


On Thu, 3 Sep 2015, Michele Rosso wrote:

<FONT COLOR="#737373">> Hi,</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> I am trying to install METIS via the development version of petsc, but I</FONT>
<FONT COLOR="#737373">> encountered the following error:</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log</FONT>
<FONT COLOR="#737373">> for details):</FONT>
<FONT COLOR="#737373">> -------------------------------------------------------------------------------</FONT>
<FONT COLOR="#737373">> Downloaded metis could not be used. Please check install</FONT>
<FONT COLOR="#737373">> in /opt/petsc/petscfork/gnu-opt-32idx</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> I attached the install script and the configure.log file.</FONT>
<FONT COLOR="#737373">> Any idea?</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Thanks,</FONT>
<FONT COLOR="#737373">> Michele</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> </FONT>

</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>