[petsc-dev] Error while compiling PETSC from git repo
Hector E Barrios Molano
hectorb at utexas.edu
Wed May 23 16:26:09 CDT 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180523/ed74a7cd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 53812 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180523/ed74a7cd/attachment-0001.bin>
More information about the petsc-dev
mailing list