Karl, I was not able to reproduce the issue, could you please let me know which version of Visual Studio Express 2013 you are using? I don’t think that it is necessary that you turn optimization off. Compiling in RelWithDebInfo should be enough, then when/if one the test crashes, visual studio should be able to tell you where it failed.
You don’t need to use the scripts for that, just open the HDF5 solution with visual studio, choose one of the modes (e.g., RelWithDebInfo), then hit F7, then open a terminal and from the build directory, do: ctest -C RelWithDebInfo This will run the test suite. Thanks Jerome > On Mar 30, 2015, at 6:58 PM, karl hoover <[email protected]> wrote: > > I see exactly the same "UNEXEXPECTED RETURN from H5Fopen" error on a > coreI7 64 bit Windows 7 machine, in both 32 bit and 64 bit builds. Again, > the failure is in testhd5.exe or testhdf5dll.exe The built-in test scripts > built into the cmake are also reporting errors, seemingly unrelated. > > The 64 bit build reports: > 99% tests passed, 1 tests failed out of 1975 > Total Test time (real) = 523.72 sec > The following tests FAILED: > 1461 - H5DUMP-N-thlink-5 (Failed) > > on 32 bit Windows 7 > 99% tests passed, 1 tests failed out of 1975 > Total Test time (real) = 558.62 sec > The following tests FAILED: > 13 - H5TEST-dt_arith (Failed) > > On my 64 bit (AMDFX9550) Debian 8 box, the build and test succeed without > error. So at least I know I'm able to download the code and read English > instructions. > > I did find reference in this forum to an analogous problem (UNEXPECTED > RETURN) on Scientific Linux with the Intel C++ compiler, which was > worked-around by turning off optimization. I would like to try to turn off > optimization for my Visual Studio / Windows 7 build > HOWEVER, I found that the options in the "build-VS201X-YZ.bat" scripts > don't necessarily over-ride the options in "HDF518CMake.cmake" Could > somebody please explain how to turn off optimization for MSVC 2013 c++ in > an HDF5 cmake/ctest build? > > My product is 'pure' C++ based on Qt GUI and boost multi-dimensional array > libraries, so, in principle, the project is compiler-agnostic. Is it > possible I would have better luck with the gcc compiler? > > My application is crashing in HD5open, but only in release mode, I suspect > that problem could be related to this test failure. > > I have reasonably extensive experience with HDF5, as this is the second > product in which I've used it as the numerical data store. > > Best regards (and thanks in advance...) > Karl Hoover > Senior Software Engineer > Geometrics, Inc. > > > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org > Twitter: https://twitter.com/hdf5 _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
