[petsc-dev] Compiling error with Hypre-2.11.2

Antonio anto.trande at gmail.com
Thu Aug 2 11:52:58 CDT 2018


Thank you.

Unfortunately, we still have old Hypre-2.11.2 available on EPEL7
repositories.

On 02/08/2018 18:50, Satish Balay wrote:
> https://bitbucket.org/petsc/petsc/commits/e6de09342ce9c4562cc062ff2c1bac4bd956bda0
> 
> It is compatible with Hypre-2.14. For Hypre-2.11 - you would have to revert the above change.
> 
> Satish
> 
> On Thu, 2 Aug 2018, Antonio Trande wrote:
> 
>> Hi all.
>>
>> Petsc-3.9.3 does not compile against Hypre-2.11.2:
>>
>> mpicc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
>>   -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
>> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
>> -grecord-gcc-switches   -m64 -mtune=generic -O3 -Wl,-z,now -fPIC
>> -I/builddir/build/BUILD/petsc-3.9.3/buildopenmpi_dir/include
>> -I/builddir/build/BUILD/petsc-3.9.3/buildopenmpi_dir/x86_64/include
>> -I/usr/include/openmpi-x86_64 -I/usr/include/openmpi-x86_64/hypre
>> -MMD -MP
>> /builddir/build/BUILD/petsc-3.9.3/buildopenmpi_dir/src/mat/impls/composite/mcomposite.c
>> -o x86_64/obj/mat/impls/composite/mcomposite.o
>> /builddir/build/BUILD/petsc-3.9.3/buildopenmpi_dir/src/mat/impls/hypre/mhypre.c:
>> In function 'hypre_array_destroy':
>> /builddir/build/BUILD/petsc-3.9.3/buildopenmpi_dir/src/mat/impls/hypre/mhypre.c:1453:37:
>> error: macro "hypre_TFree" passed 2 arguments, but takes just 1
>>     hypre_TFree(ptr,HYPRE_MEMORY_HOST);
>>                                      ^
>> /builddir/build/BUILD/petsc-3.9.3/buildopenmpi_dir/src/mat/impls/hypre/mhypre.c:1453:4:
>> error: 'hypre_TFree' undeclared (first use in this function)
>>     hypre_TFree(ptr,HYPRE_MEMORY_HOST);
>>     ^
>> /builddir/build/BUILD/petsc-3.9.3/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]: *** [x86_64/obj/mat/impls/hypre/mhypre.o] Error 1
>> gmake[2]: *** Waiting for unfinished jobs....
>> gmake[2]: Leaving directory
>> `/builddir/build/BUILD/petsc-3.9.3/buildopenmpi_dir'
>>
>> Full build log:
>> https://koji.fedoraproject.org/koji/getfile?taskID=28789567&volume=DEFAULT&name=build.log
>>
>> Dependencies list:
>> https://kojipkgs.fedoraproject.org//work/tasks/9567/28789567/root.log
>>
> 

-- 
---
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/20180802/0932d3ba/attachment.sig>


More information about the petsc-dev mailing list