[petsc-users] HDF5 errors

Boyce Griffith boyceg at gmail.com
Fri Mar 20 13:46:04 CDT 2020


That’s OK for me. I can grab an older HDF5.

> On Mar 20, 2020, at 2:45 PM, Jed Brown <jed at jedbrown.org> wrote:
> 
> HDF5-1.12 changed some interfaces.  This works in 'master' and we have a
> release coming this week.  Is that okay for you or do you need the fixes
> backported?
> 
> Boyce Griffith <boyceg at gmail.com> writes:
> 
>> Homebrew just updated my hdf5, and now I am getting some errors from the HDF5 viewer in maint:
>> 
>> /Users/boyceg/sfw/petsc/petsc-maint/src/sys/classes/viewer/impls/hdf5/hdf5v.c:1064:73: error: too few arguments to function call, expected 5, have 4
>>    PetscStackCallHDF5(H5Oget_info_by_name,(h5, name, &info, H5P_DEFAULT));
>>                       ~~~~~~~~~~~~~~~~~~~                              ^
>> /Users/boyceg/sfw/petsc/petsc-maint/include/petsc/private/viewerhdf5impl.h:11:42: note: expanded from macro 'PetscStackCallHDF5'
>>    PetscStackPush(#func);_status = func args;PetscStackPop; if (_status) SETERRQ2(PETSC_COMM_SELF,PETSC_ERR_LIB,"Error in HDF5 call %s() Status %d",#func,(int)_status); \
>>                                    ~~~~ ^
>> /usr/local/include/H5Opublic.h:188:8: note: 'H5Oget_info_by_name3' declared here
>> H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo,
>>       ^
>> 1 error generated.
>> gmake[2]: *** [gmakefile:156: darwin-dbg/obj/sys/classes/viewer/impls/hdf5/hdf5v.o] Error 1



More information about the petsc-users mailing list