[svn-r19959] Bug: the VRFY macro, for some reason, called MPI_Finalize() when it encountered error and wanted to exit the test program. This was not good since if only a subset of processes called MPI_Finalize(), the other processes will likely hang. That happened in AIX that it would waited till the alarm signal to kill the processes. Definitely a waste of time. Solution: Changed it to call M...That showed another problem. HDF5 has setup atexit post-process to try to close
unclose objects, release resources, etc. But if the MPI processes have
encountered an error and has been aborted, it is not likely any more MPI calls
can function properly. E.g., it would attempt to free some communicators in
the HDF5 MPIO file handle. It would again hang.
Solution: need to call H5dont_atexit() to ...
[svn-r19947] Bug fix: testph5.in failed to run the 't_shapesame -p' by claiming it could not find t_shapesame in daily test. Turned out the mpiexec launcher is working like real shell and the daily test signon (hdftest) does not have "." in its $PATH. So, it could not automatically look for executables in the current directory.Solution:
Change the executable to an explicit ./t_shapesame. Now mpiexec can "find"
it.
Tested by hand in Amani.
[svn-r19941] Purpose: Moved the two shape same tests from testphdf5 to a separated executables, named t_shapesame. The shape same tests runs too long for testphdf5. In a separated executalbe, it will be easier to separate any errors in testphdf5 sub-tests from the shape same tests.t_shapesame.c:
Contains the shape same tests (cloned from t_rank_projection.c) plus
a duplicate of "testphdf5.c" for now. After verifying it is correct, more
cleanup is needed.
testphdf5.c:
Removed the two shape same tests (chsssdrpio & cbhsssdrpio).
Makefile.am:
Makefile.in:
Added t_shapesame as a new test executable.
Removed t_rank_projections.c from part of testphdf5.
testp...
[svn-r19938] Update config.sub to the latest available version (timestamp='2008-01-16', Rev. 1.361) from http://cvs.savannah.gnu.org/viewvc/config/config/.Tested with h5committest on amani, heiwa, and jam and on linew.
[svn-r19924] Windows VS10 complains about private STL members needing to be exported, because it is of type std::string this warning can be suppressed.Tested: windows XP with VS10
[svn-r19923] BZ 1165: Implemented declaration change; A static std::basic_string constructed in the Exception class. This static isn't one that can be be destructed by H5Library::close(), but rather gets cleaned up as part of the STL std::basic_string static destructor when the HDF5 DLL is detached (WINDOWS). Looking at the rest of the Exception code, the DEFAULT_MSG doesn't really need to ...Tested: local linux - will wait for Nightly Dailies before bringing to 1.8
[svn-r19918] Add hh modifier to signed char printf format string. Added h5dump test to verify that signed/unsigned datasets print correctly.Bring solution from 1.8 packed bits fix which solved problem on heiwa with Signed char of 8 bits
Tested: local linux
[svn-r19895] Remove use of /MT compile flag for building static libs and programs.Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries.
[svn-r19892] Purpose: Bug 2089 - GMQS: h5diff segfault on a compound dataset with fixed length + vlen string type orderDescription:
This is fix for the segfault when h5diff compares a compound dataset with
combination of fixed length string types and vlen string types in certain
orders. Optimized vlariable length string handling codes. The fix is
referred from h5dump handling vlen strings.
For testing, several compound datasets were added with various combinations.
Previous failed ca...
[svn-r19850] Problem: AIX prints some error messages when MPI_Abort is called. That caused the output matching some problems.Solution: Add stderr filtering for AIX ERROR: messages.
Tested: NCSA BP.
[svn-r19841] Correct external library packing for install/cpack.On windows using shared libs, dlls still needed to be put in the runtime folder for tests.
[svn-r19833] Bug fix - In the code of N-bit filter, one line (the last line of H5Znbit.c in H5Z_nbit_compress - "*buffer_size = j + 1;" was mistakenly taken out by someone. It is necessary to update the new size. I put it back and made 2 test cases for integer and float to verify the correct dataset size.I'm bringing the fix from 1.8 branch. The changes to configure.in, tools/misc, config, Makefile.am are only property changes.
Tested on jam. But I tested 1.8 on jam, heiwa, and amani.
[svn-r19830] Fixed the name of the windows linkage define in the header. This corrects the inconsistent dll linkage warning when used with CMake. Changed hdf5_f90Ctest_EXPORTS to hdf5_test_f90ctub_EXPORTS. Tested: windows
[svn-r19829] Fixed the name of the windows linkage define in the test header. This corrects the inconsistent dll linkage warning and matches the other linkage defines. Changed H5_DLLVAR to H5TEST_DLLVAR. Tested: windows
[svn-r19828] Fixed the name of the windows linkage define in the hl/fortran cstub library header. This corrects the inconsistent dll linkage warning on every function. Changed H5_DLL to HDF5_HL_F90CSTUBDLL. Tested: windows
[svn-r19825] Checked in fix for failure in shape same tests that appeared after Quincy's recent massage of the test code. The problem was a race condition created when Quincey re-worked the code selecting either collective or independant I/O.Previously, when independant I/O was selected in the test, I had
used H5Pset_dxpl_mpio() and H5Pset_dxpl_mpio_collective_opt() to
select collective semantics with independant I/O going on under
the hood. Quincey modified this to call H5Pset_dxpl_mpio() when
collective I/O was selected, and do nothing in the independant I/O
case. As a result, processes were able to race ahead and
modify the in...
[svn-r19823] BZ2013: Remove use of WIN32 defines. These two files were dependent on the winsock2.h header so changed WIN32 to H5_HAVE_WINSOCK_H.Tested: windows
[svn-r19818] Purpose: Change to skip copying when a dataset is not allocated.Tested:
jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE)
[svn-r19817] Bug 1917: Big.c test.Changed the test to run Huge Dataset (tens of GB), Xtra large dataset(4GB big),
Large dataset (2GB big), or merely 1GB big, depending on if the file system
supports sparse file or if it supports larger than 32bigs I/O.
Tested: h5committest, jam (serial), Windows (Bangan which is Windows 7, 32bits).
[svn-r19813] 1. Correct mistake for previous checkin rev #19781: file name listed for DISTCLEANFILES should be testlinks_env.sh
2. Add comments to test_4() in test/external.c about the link name "/ link".
3. Fix memory leak as reported by valgrind in src/H5Lexternal.c:
free memory pointed to by tmp_env_prefix for HDF5_EXT_PREFIX case.