[svn-r15165] Purpose: Create new HDpthread_self and HDpthread_self_ulong macrosDescription:
On Windows, the pthread_self function cannot be used to print the returned thread ID for debugging. Instead, we need a separate function, GetCurrentThreadId. To eliminate some Windows ifdef's in the code, we create two new function macros which can be used by all platforms. It is conditionally defined in H5win32defs.h, and globally in H5private.h.
Tested:
VS2005 w/ pthreads on ...
[svn-r15158] - h5dump: when doing binary output (-b), the stdout printing of attributes was done incorrectly. Removed printing of attributes when doing binary
output. PVN - 2008/06/05
[svn-r15156] Purpose: Update H5private.h with new file nameDescription:
Forgot to change the filename reference in H5private.h. This update fixes it.
Tested:
kagiso
[svn-r15154] Purpose: Rename new source file from win32defs.h to H5win32defs.h.Description:
To follow the naming convention for source files, we simply rename the new header to H5win32defs.h
Tested:
None, simple name change.
[svn-r15153] Purpose: Add testhdf5_1_8fortran[dll] Windows projects as dependencies to all_fortranDescription:
The projects testhdf5_1_8fortran[dll] which test the new fortran features in HDF5 1.8 were not registered as dependencies to the "all_fortran" pseudo-project. As a result, the projects would not be built if you simply build all_fortran in Visual Studio, rather than "Build Solution". This is a very minor cleanup, but is neccessary to be consistent in our projects.
Tested:
VS2005 ...
[svn-r15150] Purpose: Separate Windows function macro definitions to win32defs.hDescription:
In library code, we try not to use system calls directly, but instead use the HD{function} macro instead. This way, we can map special versions of the call on particular systems. Previously, it was all done in H5private.h. However, in an effort to clean up platform-specific definitions, we move all of the Windows macros into a separate file, win32defs.h. This way, we can use th...
[svn-r15149] Purpose: Bug FixDescription: Changing h5perf installation so only h5perf is installed when
parallel is enabled, while only h5perf_serial is installed when
parallel is disabled.
Tested: kagiso
[svn-r15146] Description: Correct the definition of the 'nbytes' variable in the in-memory version of the B-tree key for chunks from 'size_t' to 'uint32_t', to match the definitions everywhere else.Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.6 (co...
[svn-r15145] Purpose: Add new h5ls test to WindowsDescription:
A new test case was added to the general testh5ls script. This update adds the test to Windows as well.
Tested:
VS2005 on WinXP
[svn-r15143] Fix for #1169 http://bugzilla.hdfgroup.uiuc.edu/show_bug.cgi?id=1169don't print attributes to stdout when doing binary output
added an attribute to the file run on the binary output test
tested: windows, linux
[svn-r15131] Description: Finish omnibus chunked dataset I/O refactoring, to separate general actions on chunked datasets from actions that are specific to using the v1 B-tree index. Cleaned up a few bugs and added some additional tests also.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
...
[svn-r15128] Purpose: Make Windows threadsafe debug message more usefulDescription:
On Linux-like systems, we can get the ID of the current thread through a pthread_self. However on Windows, the return cannot be cast as a threadID, so we simply couldn't get the ID. Previously we simply gave up and printed a message that we couldn't get an ID. Instead, though, we can use the Windows-specific call to GetCurrentThreadId(), which achieves the same goal. This way w...
[svn-r15126] Purpose: Cleanup unneeded Windows sourceDescription:
Previously, we maintained some source files that are commonly generated dynamically on other systems. Now, we also generate them on Windows as well. We should remove them from the repository so old versions are not accidentally used.
Also, clean up the project files to organize generator programs.
Tested:
VS2005 on WinXP
VS2005 on WinXP x64
VS.NET on WinXP
[svn-r15124] Purpose: bug fixes.Description:
Added code to create an empty hdf5 (named h5diff_empty.h5) in order to test
if h5diff compares correctly an empty hdf5 vs. a non-empty one.
Tested:
Tested in kagiso of h5diffgentest itself.
Verified by h5dump that h5diff_empty.h5 was indeed empty.
Then "h5diff h5diff_empty.h5 h5diff_basic1.h5" returned 0 (should have
returned non-zero).
[svn-r15112] Purpose: Bug fixDescription: While '-Wl,-rpath' information was being removed from compile
lines when using --disable-sharedlib-rpath, some information
was still hidden in another variable tht never got reset and
thus snuck into the executables. This fix should take care of
that issue.
Tested: kagiso, smirom
[svn-r15110] Description:Changed the error output formatting so that the
test status writes to standard out looks correct when using the
sun compiler (it did not correctly tab the output).
[svn-r15104] Purpose: Work around Windows FC bug in h5dump xml test scriptDescription:
In some rare instances, FC (diff equivalent) command on Windows will fail when comparing ASCII files with opposite line-ending formats (Unix uses LF, while Windows uses CRLF). This was an issue for one test case in our test script. It only came up when testing from a release tarball, because the expected output was not converted to Windows-style. In this situation, FC was report...
[svn-r15096] Purpose: Windows Project Cleanup-- Unify Windows h5tinitDescription:
Previously, there was Windows-dependent code inside H5detect.c, because not all projects could access the gethostname() function. However, we standardize our project-files to link with WS2_32.lib, so now this function is available. Thus, the Windows-specific code has been removed from H5detect.c.
Tested:
VS2005 on WinXP
VS.NET on WinXP
no need to test other platforms, Windows-sp...
[svn-r15094] Purpose: Cleanup Windows project files-- standardize program debug informationDescription:
In our debug project configurations, many of the projects were generating debug information for "Program Database and Edit & Continue". Other projects were using different settings, or none at all. We standardize to use "Program Database" setting, because it generates much smaller .obj files and cuts out unnecessary debug information.
This is another project cleanup and enhanceme...
[svn-r15093] Purpose: Cleanup Windows project files-- remove ignored system libraryDescription:
In many of our project files on Windows, we have our linker setting set to ignore old link libraries-- either libc.lib or libcd.lib. This is a relic from converting project files from old versions of Visual Studio to newer ones, and is unnecessary. Per a user's suggestion, we remove the ignored library from the project files. This actually makes no difference in the output binar...
[svn-r15089] Purpose: Support Visual Studio .NET builds from command-lineDescription:
In our Windows command-line build script, we now support building with Visual Studio .NET, although VS2005 is still the default. Building with VS.NET still imposes the same feature restrictions as through the IDE:
-- 64-bit builds are unsupported
-- Fortran is unsupported
Tested:
VS.NET on WinXP
VS2005 on WinXP
[svn-r15074] Maintenance: This check-in should fix daily tests failures: Uninstall target had non-existant file to remove; error_handler module triggered a race condition for parallel make with Intel and PGI compilers, therefore we removed the module and created a subroutine instead.Platforms tested: kagiso with GNU, Intel and PGI compilers.
[svn-r15069] Purpose: Added code to remove module files when make cleanDescription:
The module files were not being removed when make clean
and caused compiling errors. fixed.
[svn-r15067] Maintenance: Daily tests failed on several platforms due to the broken dependencies when srcdir and parallel make are used; fixed (I hope)
Platforms tested: kagiso with srcdir and parallel make; pgcc and pgf90 -i8 compilers
[svn-r15064] Description:Removed extra MPI calls in subroutine by just passing
MPI variables into subroutines.
Added checks for MPI errors.
Cleaned-up formatting.
[svn-r15057] Purpose: Fix Windows project libtestdll module pathDescription:
The source file tf.f90 now produces a module error_handler.mod, which was being created in a wrong directory. As a result, Visual Studio couldn't find it, and building failed. This corrects the module path of libtestdll project.
Tested:
VS2005 on WinXP
[svn-r15056] Purpose: Update Windows h5repack test scriptDescription:
Merge changes from 1.8 branch into trunk. New syntax and test added for "old syntax"
Tested:
VS2005 on WinXP
[svn-r15054] Purpose: Made reporting of the test status global by handling the output via a module. Cleaned-up output to the terminal.
Description:
Put writing the test status as a call to a subroutine
instead of on a per account basis.
Added the dependency of compiling in the correct order
in the Makefiles for use of the Module.
[svn-r15044] backward compatibility for old -i infile -o outfile options
if these are detected this syntax is used, otherwise the one in usage is used
there was another -i option for
-i L2, --indexed=L2 Minimum number of links in the indexed format
That was changed to -d
-d L2, --indexed=L2 Minimum number of links in the indexed format
Tested: windows, linux
[svn-r15043] Bug fix.Description:
perf would crash at the end as it complained it was doing MPI calls after
MPI_Finalize() is called. I suspect the HDF5 library is making MPI calls
in the at_exit area. This should not happened.
Solution:
Added the H5exit() right before MPI_Finalize() fixed the problem.
But it needs to find out why HDF5 library is making MPI calls in
the at_exit() area. It should not.
Also, chan...
[svn-r15041] Purpose: Configure FixDescription: Removing make target "check-perform". The extra target is unneeded
because the perform tests don't take as long to run as initially
anticipated, and can be lumped in with 'make check'.
Tested: kagiso
[svn-r15036] Bug fix.Description:
The fortran Makefile.am used HDF_FORTRAN to indicate it is part of the
Fortran API source so that conclude.am will give fortran api prefix in the
test output. The symbox HDF_FORTRAN is also used in configure for a different
purpose (indicated --enable-fortran). They conflicted.
Similar problem for the symbol HDF_CXX.
Solution:
Changed all the involved Makefile.am to use "FORTRAN_...
[svn-r15034] Description: Correct another case of using 'size_t' for chunk sizes where 'uint32_t' was necessary.Tested on:
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN
[svn-r15026] Maintenance: Fixed a typo in the fortran h5tget(set)_fields_f subroutines.Platfomrs tested: kagiso with GNU compilers (this is bug 1046, I am not closing it since there is
no tests for those routines yet)