All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Running hdf5 on ARM target
@ 2015-03-23 10:05 Arthur Lambert
  2018-02-01  9:56 ` Punith
  0 siblings, 1 reply; 2+ messages in thread
From: Arthur Lambert @ 2015-03-23 10:05 UTC (permalink / raw)
  To: buildroot

Hi,

I found some patches which allow to cross compile and install hdf5
with buildroot on ARM target. I found patches here :
https://patchwork.ozlabs.org/patch/425217/
I am able to compile hdf5 but I am not able to run software which
using hdf5 with success.

simple test :
**************************************************
# include <hdf5.h>
# include <hdf5_hl.h>

int main(void)
{
hid_t file = H5Fcreate("/tmp/test.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
H5Fclose (file);

return 0;
}
**************************************************

Result :

***********************************************
HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
  #000: H5T.c line 4492 in H5T_path_find(): unable to initialize
conversion function
    major: Datatype
    minor: Unable to initialize object
  #001: H5Tconv.c line 7726 in H5T__conv_long_float(): disagreement
about datatype size
    major: Datatype
    minor: Unable to initialize object
  #002: H5T.c line 2337 in H5T_register(): unable to locate/allocate
conversion path
    major: Datatype
    minor: Unable to initialize object
  #003: H5T.c line 4492 in H5T_path_find(): unable to initialize
conversion function
    major: Datatype
    minor: Unable to initialize object
  #004: H5Tconv.c line 7700 in H5T__conv_uint_ldouble(): disagreement
about datatype size
    major: Datatype
    minor: Unable to initialize object
  #005: H5T.c line 2337 in H5T_register(): unable to locate/allocate
conversion path
    major: Datatype
    minor: Unable to initialize object
  #006: H5T.c line 4492 in H5T_path_find(): unable to initialize
conversion function
    major: Datatype
    minor: Unable to initialize object
  #007: H5Tconv.c line 7623 in H5T__conv_int_ldouble(): disagreement
about datatype size
    major: Datatype
    minor: Unable to initialize object
  #008: H5T.c line 2337 in H5T_register(): unable to locate/allocate
conversion path
    major: Datatype
    minor: Unable to initialize object
  #009: H5T.c line 4492 in H5T_path_find(): unable to initialize
conversion function
    major: Datatype
    minor: Unable to initialize object
  #010: H5Tconv.c line 7546 in H5T__conv_ushort_ldouble():
disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #011: H5T.c line 2337 in H5T_register(): unable to locate/allocate
conversion path
    major: Datatype
    minor: Unable to initialize object
  #012: H5T.c line 4492 in H5T_path_find(): unable to initialize
conversion function
    major: Datatype
    minor: Unable to initialize object
  #013: H5Tconv.c line 7469 in H5T__conv_short_ldouble(): disagreement
about datatype size
    major: Datatype
    minor: Unable to initialize object
  #014: H5T.c line 2337 in H5T_register(): unable to locate/allocate
conversion path
    major: Datatype
    minor: Unable to initialize object
  #015: H5T.c line 4492 in H5T_path_find(): unable to initialize
conversion function
    major: Datatype
    minor: Unable to initialize object
  #016: H5Tconv.c line 7392 in H5T__conv_uchar_ldouble(): disagreement
about datatype size
    major: Datatype
    minor: Unable to initialize object
  #017: H5T.c line 2337 in H5T_register(): unable to locate/allocate
conversion path
    major: Datatype
    minor: Unable to initialize object
  #018: H5T.c line 4492 in H5T_path_find(): unable to initialize
conversion function
    major: Datatype
    minor: Unable to initialize object
  #019: H5Tconv.c line 7315 in H5T__conv_schar_ldouble(): disagreement
about datatype size
    major: Datatype
    minor: Unable to initialize object
  #020: H5T.c line 2337 in H5T_register(): unable to locate/allocate
conversion path
    major: Datatype
    minor: Unable to initialize object
  #021: H5T.c line 4492 in H5T_path_find(): unable to initialize
conversion function
    major: Datatype
    minor: Unable to initialize object
  #022: H5Tconv.c line 7238 in H5T__conv_ldouble_double():
disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #023: H5T.c line 2337 in H5T_register(): unable to locate/allocate
conversion path
    major: Datatype
    minor: Unable to initialize object
  #024: H5T.c line 4492 in H5T_path_find(): unable to initialize
conversion function
    major: Datatype
    minor: Unable to initialize object
  #025: H5Tconv.c line 7211 in H5T__conv_ldouble_float(): disagreement
about datatype size
    major: Datatype
    minor: Unable to initialize object
  #026: H5T.c line 2337 in H5T_register(): unable to locate/allocate
conversion path
    major: Datatype
    minor: Unable to initialize object
  #027: H5T.c line 4492 in H5T_path_find(): unable to initialize
conversion function
    major: Datatype
    minor: Unable to initialize object
  #028: H5Tconv.c line 7184 in H5T__conv_double_ldouble():
disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #029: H5T.c line 2337 in H5T_register(): unable to locate/allocate
conversion path
    major: Datatype
    minor: Unable to initialize object
  #030: H5T.c line 4492 in H5T_path_find(): unable to initialize
conversion function
    major: Datatype
    minor: Unable to initialize object
  #031: H5Tconv.c line 7123 in H5T__conv_float_ldouble(): disagreement
about datatype size
    major: Datatype
    minor: Unable to initialize object
test2
HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
  #000: H5F.c line 774 in H5Fclose(): not a file ID
    major: Invalid arguments to routine
    minor: Inappropriate type
test3
./test_h5: H5Eint.c: 719: H5E_printf_stack: Assertion `cls_id > 0' failed.
Aborted
***********************************************

Someone here was able to run hdf5  on ARM target thanks to these patches ?

Thanks,
Arthur.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Running hdf5 on ARM target
  2015-03-23 10:05 [Buildroot] Running hdf5 on ARM target Arthur Lambert
@ 2018-02-01  9:56 ` Punith
  0 siblings, 0 replies; 2+ messages in thread
From: Punith @ 2018-02-01  9:56 UTC (permalink / raw)
  To: buildroot

Dear Arthur,

I used the same patch to cross compile and i am also getting the same
runtime error on the target. Please suggest me if you found the solution.

Thanks and Regards,
Punith



--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-01  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-23 10:05 [Buildroot] Running hdf5 on ARM target Arthur Lambert
2018-02-01  9:56 ` Punith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.