[petsc-dev] [PETSc-3.8.4] src/mat/impls/hypre/mhypre.c compilation failed
Antonio Trande
anto.trande at gmail.com
Fri Mar 30 04:49:38 CDT 2018
Hello everyone.
'src/mat/impls/hypre/mhypre.c' file compilation is failed (full log [1])
with this error:
mpicc -c -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -mcet
-fcf-protection -O3 -Wl,-z,now -fPIC
-I/builddir/build/BUILD/petsc-3.8.4/buildopenmpi_dir/include
-I/builddir/build/BUILD/petsc-3.8.4/buildopenmpi_dir/x86_64/include
-I/usr/include/openmpi-x86_64/hypre -I/usr/include/openmpi-x86_64
-MMD -MP
/builddir/build/BUILD/petsc-3.8.4/buildopenmpi_dir/src/mat/impls/hypre/mhypre.c
-o x86_64/obj/src/mat/impls/hypre/mhypre.o
/builddir/build/BUILD/petsc-3.8.4/buildopenmpi_dir/src/mat/impls/hypre/mhypre.c:
In function 'hypre_array_destroy':
/builddir/build/BUILD/petsc-3.8.4/buildopenmpi_dir/src/mat/impls/hypre/mhypre.c:1453:19:
error: macro "hypre_TFree" requires 2 arguments, but only 1 given
hypre_TFree(ptr);
^
/builddir/build/BUILD/petsc-3.8.4/buildopenmpi_dir/src/mat/impls/hypre/mhypre.c:1453:4:
error: 'hypre_TFree' undeclared (first use in this function); did you
mean 'hypre_Free'?
hypre_TFree(ptr);
^~~~~~~~~~~
hypre_Free
/builddir/build/BUILD/petsc-3.8.4/buildopenmpi_dir/src/mat/impls/hypre/mhypre.c:1453:4:
note: each undeclared identifier is reported only once for each function
it appears in
gmake[2]: *** [gmakefile:227: x86_64/obj/src/mat/impls/hypre/mhypre.o]
Error 1
Please, take a look.
[1] https://kojipkgs.fedoraproject.org//work/tasks/6330/26056330/build.log
System: Fedora 29 (devel branch)
GCC 8.0.1
OpenMPI 2.1.1
Hypre 2.14.0
--
---
Antonio Trande
Fedora Project
mailto 'sagitter at fedoraproject dot org'
GPG key: 0x5E212EE1D35568BE
GPG key server: https://keys.fedoraproject.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180330/c608d5d2/attachment.sig>
More information about the petsc-dev
mailing list