[petsc-dev] Error while compiling PETSC from git repo

Matthew Knepley knepley at gmail.com
Wed May 23 16:30:03 CDT 2018


On Wed, May 23, 2018 at 5:26 PM, Hector E Barrios Molano <hectorb at utexas.edu
> wrote:

> Hi PETSc Experts!
>
> I am compiling PETSc from git repository and I am getting the following
> error, attached you will find make.log:
>

The release 3.9.2 uses Hypre 2.14.0 (so does master)


https://bitbucket.org/petsc/petsc/src/v3.9.2/config/BuildSystem/config/packages/hypre.py

This looks like a version mismatch for Hypre.

  Thanks,

    Matt


>           CC linux-intel-debug/obj/mat/impls/hypre/mhypre.o
> /home/hector/dwnld_prog/petsc/src/mat/impls/hypre/mhypre.c(1453): error
> #55: too many arguments in invocation of macro"hypre_TFree"
>      hypre_TFree(ptr,HYPRE_MEMORY_HOST);
>                      ^
>
> compilation aborted for /home/hector/dwnld_prog/petsc/src/mat/impls/hypre/mhypre.c
> (code 2)
> gmakefile:150: recipe for target 'linux-intel-debug/obj/mat/impls/hypre/mhypre.o'
> failed
> make[2]: *** [linux-intel-debug/obj/mat/impls/hypre/mhypre.o] Error 2
> make[2]: *** Waiting for unfinished jobs....
>           CC linux-intel-debug/obj/mat/impls/composite/mcomposite.o
>           CC linux-intel-debug/obj/mat/impls/nest/ftn-auto/matnestf.o
>           CC linux-intel-debug/obj/mat/impls/nest/matnest.o
> make[2]: Leaving directory '/home/hector/dwnld_prog/petsc'
> /home/hector/dwnld_prog/petsc/lib/petsc/conf/rules:81: recipe for target
> 'gnumake' failed
> make[1]: *** [gnumake] Error 2
> make[1]: Leaving directory '/home/hector/dwnld_prog/petsc'
> **************************ERROR*************************************
>   Error during compile, check linux-intel-debug/lib/petsc/conf/make.log
>   Send it and linux-intel-debug/lib/petsc/conf/configure.log to
> petsc-maint at mcs.anl.gov
> ********************************************************************
> makefile:30: recipe for target 'all' failed
>
> 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?
>
> Here is the configure command I am using:
>
> ./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"
>
>
> What could be the problem?
>
> Thanks for your help!
>
> Hector
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180523/31dbd773/attachment.html>


More information about the petsc-dev mailing list