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

Satish Balay balay at mcs.anl.gov
Wed May 23 16:30:34 CDT 2018


you must be using an incompatible version of hypre.

'maint' branch is compatible with: [from config/BuildSystem/config/packages/hypre.py]

    self.gitcommit = 'v2.14.0'
    self.download  = ['git://https://github.com/LLNL/hypre','https://github.com/LLNL/hypre/archive/'+self.gitcommit+'.tar.gz']

Satish

On Wed, 23 May 2018, Hector E Barrios Molano wrote:

> Hi PETSc Experts!
> 
> I am compiling PETSc from git repository and I am getting the following error,
> attached you will find make.log:
> 
>           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
> 


More information about the petsc-dev mailing list