Pre-release of HDF5 1.8.5 is available for testing

--- Mer 2/6/10, Elena Pourmal ha scritto:

Marco,

We tested Cygwin 1.7.5 on Windows XP 32-bit (worked fine).
We used default C, C++ and Fortran compilers that come with
the system.

Could you please try to configure and test just HDF5 C
library
./configure
....

and if this works, try your shared library patches. If this
works, then let's try gcc-4 compiler (what is an exact
version?)

Thank you!

Elena

Elena,

I built and tested 4 cases:

1) standard static build using just
./configure

2) dynamic lib with no thread using
./configure --with-zlib --enable-shared LDFLAGS=-no-undefined
plus patching Makefile.am's to allow shared libs

3) dynamic lib with pthread using
./configure --with-zlib --enable-shared --with-pthread LDFLAGS=-no-undefined
   plus patching Makefile.am's to allow shared libs

4) dynamic lib with pthread and threadsafe using
./configure --with-zlib --enable-shared --with-pthread --enable-threadsafe LDFLAGS=-no-undefined
   plus patching Makefile.am's to allow shared libs

All the 4 buils have 4 UNEXPECTED VALUE errors at

Testing -- Low-Level File I/O (file)
Testing -- Shared Object Header Messages (sohm)

On case 1, static build as your, all the other tests are PASSED
or skipped; fheap test is also completed in a reasonable time.

Cases 2,3,4 look similar as outcome; the fpheap
test never completes in a reasonable time and
the only failures reported are:

<eventually a wrong test on cygwin>
Testing MDC/FILE related API calls *FAILED*
check_file_mdc_api_calls(): failure_mssg = "Unexpected internal config #3.".

Testing query functions of compiler conversion *FAILED*
Can't query conversion function

< These seems false failures>
Testing err_compat *FAILED*
    ! All error API tests passed.
Testing error_test *FAILED*
    ! All error API tests passed.

< This is clearly a wrong test on cygwin>
Check file ../src/.libs/libhdf5.so No such file FAILED

After checking in details the "make check" output, I feel
that the dynamic lib is working as good as the static lib
also with thread enabled.

Regards
Marco

Marco,

We also confirmed that 1.8.5-pre2 doesn't work with the latest Cygwin snapshot from 2010-06-02. Since it is not an official release of Cygwin (and according to the Cygwin web site http://cygwin.com/snapshots/ the snapshots have not been tested!), we will not take any action now and will address the HDF5 problems on Cygwin (if any) when 1.7.6 will be out.

Thanks again for bringing the problem to our attention.

Elena

···

On Jun 2, 2010, at 2:43 PM, Marco Atzeri wrote:

--- Mer 2/6/10, Elena Pourmal ha scritto:

Marco,

We tested Cygwin 1.7.5 on Windows XP 32-bit (worked fine).
We used default C, C++ and Fortran compilers that come with
the system.

Could you please try to configure and test just HDF5 C
library
./configure
....

and if this works, try your shared library patches. If this
works, then let's try gcc-4 compiler (what is an exact
version?)

Thank you!

Elena

Elena,

I built and tested 4 cases:

1) standard static build using just
   ./configure

2) dynamic lib with no thread using
   ./configure --with-zlib --enable-shared LDFLAGS=-no-undefined
   plus patching Makefile.am's to allow shared libs

3) dynamic lib with pthread using
   ./configure --with-zlib --enable-shared --with-pthread LDFLAGS=-no-undefined
  plus patching Makefile.am's to allow shared libs

4) dynamic lib with pthread and threadsafe using
   ./configure --with-zlib --enable-shared --with-pthread --enable-threadsafe LDFLAGS=-no-undefined
  plus patching Makefile.am's to allow shared libs

All the 4 buils have 4 UNEXPECTED VALUE errors at

Testing -- Low-Level File I/O (file)
Testing -- Shared Object Header Messages (sohm)

On case 1, static build as your, all the other tests are PASSED
or skipped; fheap test is also completed in a reasonable time.

Cases 2,3,4 look similar as outcome; the fpheap
test never completes in a reasonable time and
the only failures reported are:

<eventually a wrong test on cygwin>
Testing MDC/FILE related API calls *FAILED*
check_file_mdc_api_calls(): failure_mssg = "Unexpected internal config #3.".

Testing query functions of compiler conversion *FAILED*
Can't query conversion function

< These seems false failures>
Testing err_compat *FAILED*
   ! All error API tests passed.
Testing error_test *FAILED*
   ! All error API tests passed.

< This is clearly a wrong test on cygwin>
Check file ../src/.libs/libhdf5.so No such file FAILED

After checking in details the "make check" output, I feel
that the dynamic lib is working as good as the static lib
also with thread enabled.

Regards
Marco

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

--- Gio 3/6/10, Elena Pourmal ha scritto:

Marco,

We also confirmed that 1.8.5-pre2 doesn't work with the
latest Cygwin snapshot from 2010-06-02. Since it is not an
official release of Cygwin (and according to the Cygwin web
site http://cygwin.com/snapshots/ the snapshots have not
been tested!), we will not take any action now and will
address the HDF5 problems on Cygwin (if any) when 1.7.6 will
be out.

Thanks again for bringing the problem to our attention.

Elena

Hi Elena,
your message was not so clear at first glance,
so I decided to repeate a portion of the test with 1.7.5

Only 2 cases this time:

B1) standard static build using just
    ./configure

B3) dynamic lib with pthread using
    ./configure --with-zlib --enable-shared
    --with-pthread LDFLAGS=-no-undefined
   plus patching Makefile.am's to allow shared libs

in both the cases no UNEXPECTED ERROR anymore.
So I guess you were referring to it, for the difference
between cygwin 1.7.5 and snapshots.
I presume the UNEXPECTED ERROR are due to a change in the
way of working of cygwin. I will investigate if it
is an error in the snapshots or in hdf5 expectation.
Until now I am not aware of any major fault in
the latest snapshots.

On case B1, static build as your, all the tests
are PASSED or skipped; fheap test is also completed in a
reasonable time.

Case B3 (like previous 2,3,4 on the snapshots)
looks similar as outcome; the fpheap test never
completes in a reasonable time and the only failures
reported are:

<eventually a wrong test on cygwin>
Testing MDC/FILE related API calls *FAILED*
  check_file_mdc_api_calls(): failure_mssg = "Unexpected
  internal config #3.".

Testing query functions of compiler conversion *FAILED*
Can't query conversion function

< These seems false failures>
Testing err_compat *FAILED*
! All error API tests passed.
Testing error_test *FAILED*
! All error API tests passed.

< This is clearly a wrong test on cygwin>
Check file ../src/.libs/libhdf5.so No such file FAILED

So no other difference from the test on the snapshot.

Let me know if you are interested to receive a copy
of the patch and of the build instruction I am using
for building the dynamic lib.

Regards
Marco