<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Droid Serif">Hi PETSc Experts!<br>
      <br>
      I am compiling PETSc from git repository and I am getting the
      following error, attached you will find make.log:<br>
      <br>
                CC linux-intel-debug/obj/mat/impls/hypre/mhypre.o<br>
      /home/hector/dwnld_prog/petsc/src/mat/impls/hypre/mhypre.c(1453):
      error #55: too many arguments in invocation of macro"hypre_TFree"<br>
           hypre_TFree(ptr,HYPRE_MEMORY_HOST);<br>
                           ^<br>
      <br>
      compilation aborted for
      /home/hector/dwnld_prog/petsc/src/mat/impls/hypre/mhypre.c (code
      2)<br>
      gmakefile:150: recipe for target
      'linux-intel-debug/obj/mat/impls/hypre/mhypre.o' failed<br>
      make[2]: *** [linux-intel-debug/obj/mat/impls/hypre/mhypre.o]
      Error 2<br>
      make[2]: *** Waiting for unfinished jobs....<br>
                CC
      linux-intel-debug/obj/mat/impls/composite/mcomposite.o<br>
                CC
      linux-intel-debug/obj/mat/impls/nest/ftn-auto/matnestf.o<br>
                CC linux-intel-debug/obj/mat/impls/nest/matnest.o<br>
      make[2]: Leaving directory '/home/hector/dwnld_prog/petsc'<br>
      /home/hector/dwnld_prog/petsc/lib/petsc/conf/rules:81: recipe for
      target 'gnumake' failed<br>
      make[1]: *** [gnumake] Error 2<br>
      make[1]: Leaving directory '/home/hector/dwnld_prog/petsc'<br>
**************************ERROR*************************************<br>
        Error during compile, check
      linux-intel-debug/lib/petsc/conf/make.log<br>
        Send it and linux-intel-debug/lib/petsc/conf/configure.log to
      <a class="moz-txt-link-abbreviated" href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a><br>
********************************************************************<br>
      makefile:30: recipe for target 'all' failed<br>
      <br>
      Configure.log is about 14.4 MB and in tar.gz form is 1.2MB is it
      ok to send it to the mail list?<br>
      <br>
      Here is the configure command I am using:<br>
      <br>
      ./configure --prefix=/home/hector/installed/petsc_git-intel-debug
      --PETSC_DIR=/home/hector/dwnld_prog/petsc
      --PETSC_ARCH=linux-intel-debug --CC=mpiicc --FC=mpiifort
      --CXX=mpiicpc --with-openmp=1 --with-valgrind=1
      --with-valgrind-dir=/home/hector/installed
      --with-parmetis-dir=/home/hector/installed/parmetis/
      --with-metis-dir=/home/hector/installed/parmetis/
      --with-zoltan-dir=/home/hector/installed/zoltan/
      --with-hypre-dir=/home/hector/installed/hypre --download-ptscotch
--with-blas-lapack-lib=\[${MKLROOT}/lib/intel64/libmkl_intel_lp64.a,${MKLROOT}/lib/intel64/libmkl_core.a,${MKLROOT}/lib/intel64/libmkl_intel_thread.a\]
      --with-scalapack-include=${MKLROOT}/include
--with-scalapack-lib=\[${MKLROOT}/lib/intel64/libmkl_scalapack_lp64.a,${MKLROOT}/lib/intel64/libmkl_blacs_intelmpi_lp64.a\]
      --with-shared-libraries=0 --FC_LINKER_FLAGS="-qopenmp
      -qopenmp-link static" --FFLAGS="-qopenmp -qopenmp-link static"
      --LIBS="-Wl,--start-group
      ${MKLROOT}/lib/intel64/libmkl_intel_lp64.a
      ${MKLROOT}/lib/intel64/libmkl_core.a
      ${MKLROOT}/lib/intel64/libmkl_intel_thread.a -Wl,--end-group
      -liomp5 -ldl -lpthread -lm"<br>
      <br>
      <br>
      What could be the problem?<br>
      <br>
      Thanks for your help!<br>
      <br>
      Hector<br>
    </font>
  </body>
</html>