Bug#855810: libhdf5-openmpi-100 doesn't work on arm64

Gilles Filippini pini at debian.org
Tue Feb 21 22:00:23 UTC 2017


Package: libhdf5-openmpi-100
Version: 1.10.0-patch1+docs-3
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The attached simple testcase fails on arm64 with:
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) MPI-process 0:
  #000: ../../../src/H5F.c line 491 in H5Fcreate(): unable to create file
    major: File accessibilty
    minor: Unable to open file
  #001: ../../../src/H5Fint.c line 1100 in H5F_open(): unable to open
file: time = Mon Feb 20 10:57:13 2017
, name = 'test.med', tent_flags = 13
    major: File accessibilty
    minor: Unable to open file
  #002: ../../../src/H5FD.c line 812 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #003: ../../../src/H5FDmpio.c line 997 in H5FD_mpio_open():
MPI_File_open failed
    major: Internal error (too specific to document in detail)
    minor: Some MPI function failed
  #004: ../../../src/H5FDmpio.c line 997 in H5FD_mpio_open():
MPI_ERR_OTHER: known error not in list
    major: Internal error (too specific to document in detail)
    minor: MPI Error String
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) MPI-process 0:
  #000: ../../../src/H5F.c line 749 in H5Fclose(): not a file ID
    major: Invalid arguments to routine
    minor: Inappropriate type

To build it:
$ h5pcc.openmpi -o h5_mpitest h5_mpitest.c

To run it:
$ OMPI_MCA_orte_rsh_agent=/bin/false mpirun.openmpi -np 1 ./h5_mpitest

_g.

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAlisuGoACgkQ7+hsbH/+
z4OlwAf/UP1ZVWtfDEkSiGiGz8ieeQ2gzmogBnd64WPKdKupv3ApyXwh33Of00pw
KtRxN6cDqYIxKkd5dbwERHf2+pV82kWLJmnV6gDhi83FjEPm6cxNhaKUAcgnexZz
QlNHjfQKXoYj8NAm7rtOyJSKyEVfupGzJNgYWdUat9xEnh1blbRNGKeod8y67HVC
lM2CEw+jPNpuFlHSVuNP3eJj4rym+KybYF6dSlQRrDrv9zSs7XREyvfiJ6MaHpzZ
Fzq/xlTR0nfQ0xBvec6aTzuOqdkFsYhNJ1hH+p+9oNnrkv9czIogU8avYe5snde0
H2HMZn5P02JhvfB6wAZy4IfHt/SXNg==
=a4uN
-----END PGP SIGNATURE-----
-------------- next part --------------
#include <mpi.h>
#include <hdf5.h>
#define FILE "test.med"

int main(int argc, char *argv[]) {

   hid_t       file_id;
   hid_t       fapl;
   int         mpi_size, mpi_rank, ret=0;

   MPI_Init(&argc, &argv);
   MPI_Comm_size(MPI_COMM_WORLD, &mpi_size);
   MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);

   /* Create a new file using default properties. */
   fapl = H5Pcreate (H5P_FILE_ACCESS);
   H5Pset_fapl_mpio(fapl, MPI_COMM_WORLD, MPI_INFO_NULL);
   file_id = H5Fcreate(FILE,H5F_ACC_TRUNC, H5P_DEFAULT,fapl);

   /* Close the file. */
   H5Fclose(file_id);
   H5Pclose(fapl);

   MPI_Finalize();
   return 0;
}



More information about the Pkg-grass-devel mailing list