Commit Graph

6352 Commits

Author SHA1 Message Date
Xuan Bai
3fe6ec1141 [svn-r9113] Purpose:
Update.

Description:
Make some minor change so that h5jamgentest.c is compatible with Windows.

Solution:
Change open() and write() functions to HDopen(), and HDwrite().

Platforms tested:
Windows 2000
Windows XP
eirene
(Note:  I talked with Bob and Kent about these changes before check-in)

Misc. update:
2004-08-18 17:10:11 -05:00
Xuan Bai
f18ae07925 [svn-r9112] Purpose:
Update.

Description:
Make some minor change so that tellub.c is compatible with Windows.

Solution:
1. unistd.h is not available in windows system.  Add a macro for this header file as:
   #ifdef H5_HAVE_UNISTD_H
   #include <unistd.h>
   #endif
2. Change open, read, write, lseek functions to HDopen, HDread, HDwrite, and HDlseek,
   as these HD functions are more comtatible with Windows system.
3. add #include H5private.h
4. remove #include <stdlib.h>

Platforms tested:
Windows 2000
Windows XP
eirene
(Note:  I talked with Bob and Kent about these changes before check-in)

Misc. update:
2004-08-18 17:06:02 -05:00
Xuan Bai
74f96681ce [svn-r9111] Purpose:
Update.

Description:
Make some minor change so that h5jam.c is compatible with Windows.

Solution:
1. unistd.h is not available in windows system.  Add a macro for this header file as:
   #ifdef H5_HAVE_UNISTD_H
   #include <unistd.h>
   #endif
2. Change open, read, write, lseek functions to HDopen, HDread, HDwrite, and HDlseek,
   as these HD functions are more comtatible with Windows system.
3. add #include H5private.h
4. remove #include <stdlib.h>

Platforms tested:
Windows 2000
Windows XP
eirene
(Note:  I talked with Bob and Kent about these changes before check-in)

Misc. update:
2004-08-18 17:04:26 -05:00
Xuan Bai
ee21dce85c [svn-r9110] Purpose:
Update.

Description:
Make some minor change so that h5jam.c is compatible with Windows.

Solution:
1. unistd.h is not available in windows system.  Add a macro for this header file as:
   #ifdef H5_HAVE_UNISTD_H
   #include <unistd.h>
   #endif
2. Change open, read, write, lseek functions to HDopen, HDread, HDwrite, and HDlseek,
   as these HD functions are more comtatible with Windows system.
3. add #include H5private.h
4. remove #include <stdlib.h>

Platforms tested:
Windows 2000
Windows XP
eirene
(Note:  I talked with Bob and Kent about these changes before check-in)


Misc. update:
2004-08-18 17:00:55 -05:00
Xuan Bai
3abcdf8e9c [svn-r9109] Purpose:
Update.

Description:
Add h5jam and h5unjam tools into Windows workspace.

Solution:
1. Add h5jam project in hdf5\tools\ directory, which includes hdf5\tools\h5jam\h5jam.c
2. Add h5unjam project in hdf5\tools\ directory, which includes hdf5\tools\h5jam\h5unjam.c
3. Add h5jamtst project in hdf5\tools\testfiles\ directory, which includes hdf5\tools\h5jam\h5jamgentest.c
4. Add getub project in hdf5\test\ directory, which includes hdf5\tools\h5jam\genub.c
5. Add tellub project in hdf5\test\ directory, which includes hdf5\tools\h5jam\tellub.c

Platforms tested:
Visual C++ 6.0 on Windows 2000/XP and .NET on XP.

Misc. update:
2004-08-18 16:50:54 -05:00
Raymond Lu
da6b493330 [svn-r9108] Purpose: Bug fix
Description: In H5O_fill_new_decode, it tries to read message size(-1) when
fill value is undefined for version 1.  During UINT32DECODE, if the machine is
64-bit, a value 0x00000000ffffffff is returned, which is like a valid value.

Solution: If fill value is undefined, don't read the message size, simply
assign -1 to it.

Platforms tested:  fuss - did h5committest for v1.6 already.
2004-08-18 14:05:40 -05:00
Pedro Vicente Nunes
8c0f8b1a95 [svn-r9106] Purpose:
bug fix

Description:

the option CHUNK:NONE (remove chunking )  was not setting the layout to contiguous

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-08-17 14:54:42 -05:00
MuQun Yang
ad655bf083 [svn-r9104]
Purpose:
bug fix

Description:
1. The IF-block of skipping collective chunk IO tests when the number of
processes is greater than some number essentially skipped all parallel tests.
2.  John tested at copper with the number of processor = 64 and collective
     chunk IO tests passed, so we increase the number of precessor =24 to 64 for
    skipping the test.


Solution:
1. change the IF block flow so that it only skips collective chunk IO tests when
   the number of process is greater than 64.



Platforms tested:
copper(only change a bit of parallel test code, no needs to test on other platforms).


Misc. update:
2004-08-17 13:44:26 -05:00
Quincey Koziol
2d3c6215f2 [svn-r9101] Purpose:
Bug fix

Description:
    1 - Dataset contiguous storage cache information had a bug where it was
possible to try to access invalid cache information if the cache wasn't filled
the first time it attempted to loop through the list of offset/length vectors.

    2 - Additionally, the contiguous storage cache information was being used
in certain circumstances from the chunked dataset I/O code path, which was
generally fatal since the chunk storage and contiguous storage information
were stored together in a union.


Solution:
    1 - Avoid special case of first trip through loop over offset/length
I/O vectors and always check for the contiguous storage sieve buffer buffer
being NULL.

    2 - Change the union containing the chunk and contiguous storage cache
information into a struct, allowing both to be used at the same time.


Platforms tested:
    FreeBSD 4.10 (sleipnir)
    h5committested
2004-08-17 02:30:18 -05:00
Albert Cheng
3646a3f83d [svn-r9100] Purpose:
Bug fix

Description:
The examples would compile even if some header file were not
installed.  That was because the CPPFLAGS has -I... components
that included the src directories.

Solution:
The h5cc or h5pcc commands should have all the necessarily
library include directories covered.  Changed CPPFLAGS to
search only the examples source directory for local header
files.

Platforms tested:
No h5committest tests which do not check examples.
Hand tested it in sol.
2004-08-16 17:49:03 -05:00
Xuan Bai
3710e39396 [svn-r9097] Purpose:
New Feature.

Description:
Add two new batch files for HDF5 building and testing on Windows.

Solution:
1. Add hdf5build.bat: build hdf5 from command line, which has four opitions:
       hdf5build                       build c library and tools only
       hdf5build enablecpp             build c/c++ libraries and tools
       hdf5build enablefortran         build c/fortran libraries and tools
       hdf5build enableall             build c/c++/fortran libraries and tools
2. Add hdf5bt.bat: this batch file calls hdf5build.bat and hdf5check.bat to
   build and test hdf5 from command line.  It also has four options:
       hdf5bt                       build and test c library and tools only
       hdf5bt enablecpp             build and test c/c++ libraries and tools
       hdf5bt enablefortran         build and test c/fortran libraries and tools
       hdf5bt enableall             build and test c/c++/fortran libraries and tools

Platforms tested:
Windows 2000/XP.

Misc. update:
2004-08-16 17:24:06 -05:00
Xuan Bai
739e7f21ce [svn-r9095] Purpose:
New Feature.

Description:
Add several new batch files for hdf5 windows tests.

Solution:
1. Add install_dll.bat: copy hdf5 dlls to windows system directory.
2. Add install_cppdll.bat: copy hdf5 cpp dlls to windows system directory.
3. Add install_f90dll.bat: copy hdf5 fortran dlls to windows system directory.
4. Add hdf5check.bat: test hdf5 from command line, which has four opitions:
       hdf5check                       test c library and tools only
       hdf5check enablecpp             test c/c++ libraries and tools
       hdf5check enablefortran         test c/fortran libraries and tools
       hdf5check enableall             test c/c++/fortran libraries and tools
5. Update testhdf5tools, dumptest, difftest, lstest, importest, repacktest.

Platforms tested:
Windows 2000/XP.

Misc. update:
2004-08-16 11:53:49 -05:00
HDF Admin
02ae88e353 [svn-r9089] Snapshot version 1.7 release 34 2004-08-15 04:05:47 -05:00
Albert Cheng
f6632edfd6 [svn-r9088] Purpose:
Feature

Description:
Added --private option which is for individuals making a private
release version.  It sets the SubRelease string to the date of
release.   This should be sufficient to distinguish releases
provided one does not make two private releases on the same
day.

Platforms tested:
No h5committest since it does not test this feature.
Hand tested it in Eirene.
2004-08-14 19:18:30 -05:00
Albert Cheng
46cd0e0838 [svn-r9086] Purpose:
Bug fix

Description:
Updated it to use the new TestParseCmdLine() syntax.

Platforms tested:
"h5committested" and in eirene with threadsafe enabled.
2004-08-14 16:03:49 -05:00
Binh-Minh Ribler
c517d82c97 [svn-r9083] Purpose: Fix minor problem
Description:
    Added an argument to the call to TestParseCmdLine because its
    prototype has just been changed.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)


Misc. update:
2004-08-14 00:08:10 -05:00
Albert Cheng
d1110d4055 [svn-r9081] Purpose:
Feature

Description:
Updated to use the new syntax of TestParseCmdLine().

Platforms tested:
On eirene both serial and parallel.
2004-08-13 17:06:42 -05:00
Albert Cheng
60412f524d [svn-r9079] Purpose:
Feature

Description:
Changed TestParseCmdLine to accept an optional extra_parse()
function provided by indidivual test application.  Extra_parse()
can handle extra options special to that test application.

Updated testhdf5.c to use the new syntax of TestParseCmdLine().

Platforms tested:
On eirene both serial and parallel.
2004-08-13 16:53:26 -05:00
MuQun Yang
188a2cfdc7 [svn-r9077] Purpose:
Correction of the previous check.

Description:
forget moving "debug #if macro" out of this file.

Solution:
remove that "#if 0 #endif" macro block.

Platforms tested:
Compile at eirene
Too trivial to test
Misc. update:
2004-08-13 08:50:30 -05:00
MuQun Yang
092105b2a3 [svn-r9076] Purpose:
Better collective chunk IO test arrangements

Description:
collective chunk IO tests have been verified with the number of process greater than 24 and
the test is very slow with big number of process.

That may cause confusions to users who run collective chunk IO tests.

Solution:
To avoid possible confusions, A if-block will be used to check whether the number of process
is greater than 24. If yes, the collective chunk tests will be skipped and a message will be printed out.


Platforms tested:
linux 2.4
(too trivial to use h5committest)


Misc. update:
2004-08-13 08:29:43 -05:00
Raymond Lu
08fde753d9 [svn-r9073] Purpose: bug fix
Description:  The test tried to read a dataset of H5T_STD_I32LE type and verify with the size
of H5T_NATIVE_INT in function test_misc20().  This will fail on some machines like Crays where the
size of H5T_NATIVE_INT is 8 bytes.

Solution:  Changed from H5T_NATIVE_INT to H5T_STD_I32LE.

Platforms tested:  Crays - very simple change.
2004-08-12 10:24:46 -05:00
MuQun Yang
2a866e549f [svn-r9071] Purpose:
Make collective chunk IO test more general

Description:
Previously collective chunk IO test is only fit for processor =4 with
the dimension size to be set small; sometimes people would like to test
with more than 4 processors(5,6 or more), the test therefore failed.
Solution:
To make the test case more general, dimensional size of the data is set to be large(right now 288 for each dimension), the disjoint hyperslab selection is re-calculated. Now the test cases should pass with 5,6 or 12 processors. Note, there is nothing wrong with the implementation of the library, it is the test case that causes the failure with the number of processor greater than 4.

Platforms tested:
Only at eirene, since only the test code is modified a little and it is very slow to test the parallel case.

Misc. update:
2004-08-11 22:45:50 -05:00
Xuan Bai
c221205410 [svn-r9069] Purpose:
Update.

Description:
Binh-Minh checked in two new c++ source codes and two new head files.
Add these files to Windows projects.

Solution:
Add H5VarlenType.cpp, H5VarlenType.h, H5ArrayType.cpp, and H5ArrayType.h
to hdf5_cpp and hdf5_cppdll projects in Windows.

Platforms tested:
Visual C++ 6.0 on Windows XP/2000.
(will test with .NET on XP after this check-in).

Misc. update:
2004-08-11 20:36:47 -05:00
Albert Cheng
83fb67b922 [svn-r9068] Purpose:
Cleanup and bug fix.

Description:
Bug fix:
the checking of dobig test was done in the wrong place
such that tests added after it would be run even for the -b option.
Moved the dobig test checking to AFTER all tests are added.

Cleanup:
Removed old code now that the new way is working fine.

Platforms tested:
Tested in Eirene parallel only.

Misc. update:
2004-08-11 13:12:07 -05:00
Robert E. McGrath
c58e0caeba [svn-r9066] Purpose:
Bug.  See other checkin.

Description:

Solution:

Platforms tested:

Misc. update:
2004-08-11 12:48:19 -05:00
Albert Cheng
bd19d3c8b1 [svn-r9064] Purpose:
Improvement and fix.

Description:
Improvement: allow user defined RUNSERIAL and RUNPARALLEL settings.
Added hdf5_cv_gettimeofday_tz cached value.

Platforms tested:
Janus (Tflops).
2004-08-11 12:24:42 -05:00
MuQun Yang
5edaf42d36 [svn-r9059] Purpose:
remove the line with all_withf90.zip.

Description:

Solution:

Platforms tested:

Misc. update:
2004-08-10 19:32:46 -05:00
MuQun Yang
a8c59014ca [svn-r9058] Purpose:
windows fortran projects are merged to all.zip. all_withf90.zip is no longer needed.

Description:

Solution:

Platforms tested:

Misc. update:
2004-08-10 19:31:34 -05:00
James Laird
a23f1c800d [svn-r9056]
Purpose:
Bug fix

Description:
Fixed gettimeofday configure test to use cache values

Platforms tested:
copper, arabica, verbena, sleipnir

Misc. update:
2004-08-10 11:53:26 -05:00
Quincey Koziol
6ae26dba82 [svn-r9053] Purpose:
Bug fix

Description:
    Correct possible core dump when a datatype conversion function is
registered with the library after a compound datatype has been converted
(having it's type conversion information cached by the library).  The compound
datatype must have been created by inserting the fields in non-increasing
offset order to see the bug.

Solution:
    Re-sort the fields in the compound datatypes before recalculating the
cached information when performing the conversion on them.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    h5committested
2004-08-08 17:12:18 -05:00
HDF Admin
51bdf6c34d [svn-r9052] Snapshot version 1.7 release 33 2004-08-08 04:47:51 -05:00
Albert Cheng
7464e1fb1d [svn-r9050] Purpose:
Feature

Description:
Added a feature such that if the test name starts with '-', do not run it
by default.

Platforms tested:
Eirene both serial and parallel.

Misc. update:
2004-08-07 21:26:44 -05:00
Binh-Minh Ribler
e6266dd7a1 [svn-r9049] Purpose: Clean up code
Description:
    Removed private functions p_close, that were left over from the
    removal of the reference counting mechanism.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)

Misc. update:
    release_docs/RELEASE will be updated soon.
2004-08-07 01:30:15 -05:00
Binh-Minh Ribler
3ff3720c02 [svn-r9048] Purpose:
Add new files

Description:
    Added H5VarLenType.cpp and H5ArrayType.cpp to LIB_SRC
    Added H5CppDoc.h, H5VarLenType.h, and H5ArrayType.h to PUB_HDR

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-08-07 00:55:46 -05:00
Binh-Minh Ribler
f5a65a7f1e [svn-r9047] Purpose: Adding file
Description
    Added file c++/src/H5CppDoc.h.
2004-08-07 00:51:19 -05:00
Binh-Minh Ribler
47dd278b15 [svn-r9046] Purpose:
Code cleanup

Description:
    DataType::commit had incorrect parameter, H5Object.  Changed
    it to CommonFG, for H5File and Group.
    The change caused additional header files needed for several
    other cpp files.

    Moved some functions from Group into the base class CommonFG for
        H5File too.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)

Misc. update:
2004-08-07 00:46:10 -05:00
Binh-Minh Ribler
4b3ebf1646 [svn-r9045] Purpose: Updated documentation
Description:
    Added mainpage to the RM via the new file H5CppDoc.h.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (verbena)
    This new file will be added to windows project soon.

Misc. update:
2004-08-07 00:41:24 -05:00
Quincey Koziol
f16e814f51 [svn-r9039] Purpose:
Code cleanup

Description:
    At user's suggestion, convert some "naked" standard library calls to use
the HD*() macros.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-08-06 14:29:57 -05:00
Quincey Koziol
e3c46f3eef [svn-r9037] Purpose:
Code cleanup/bug fix

Description:
    Check for _O_BINARY being defined instead of O_BINARY, since we actually use
_O_BINARY.  (Note that this only affects Windows)

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Not tested w/h5committest
2004-08-06 14:05:20 -05:00
Quincey Koziol
e599638365 [svn-r9036] Purpose:
Bug fix

Description:
    Correct compilation errors w/--enable-hdf5_v1_6 and using the C++ compiler
as a C compiler

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/above flags
    Not tested with h5committest
2004-08-06 12:52:06 -05:00
Quincey Koziol
ed4db7ec9d [svn-r9035] Purpose:
Update dependencies

Description:
    Update this with real values.


Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-08-06 10:32:11 -05:00
Quincey Koziol
5aaeeb6c5f [svn-r9034] Purpose:
Update manifest with missing h5jam Dependencies file.
2004-08-06 10:23:09 -05:00
Albert Cheng
f54f7102d1 [svn-r9032] Purpose:
Updated.
2004-08-05 18:03:41 -05:00
Albert Cheng
095a6977f4 [svn-r9031] Purpose:
Improvement.

Description:
setup default setting for C++ API. Default to use the ecc compiler.

Platforms tested:
Tested in TG-ncsa which is the IA64 platform.  None of the standard committest
platforms would have tested this change.

Misc. update:
2004-08-05 18:02:26 -05:00
Robert E. McGrath
6c517b7558 [svn-r9026] Purpose:
and one last test file.

Description:

Solution:

Platforms tested:

Misc. update:
2004-08-05 14:18:21 -05:00
Quincey Koziol
14cc705352 [svn-r9024] Purpose:
Bug fix

Description:
    Correct buffer overrun in "multi" VFL driver that was writing past the
end of the "driver name" buffer when encoding the driver info block for the
file's superblock.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-08-05 13:44:27 -05:00
John Mainzer
5d05a022f9 [svn-r9023] *** empty log message *** 2004-08-05 13:14:21 -05:00
John Mainzer
8265779dc0 [svn-r9022] Purpose: Optimization of the cache code in H5C.
Description: Cache was running too slowly.

Solution: Added a hash table for indexing.  Retained the tree, but
	  only for dirty entries.  As we need to flush dirty entries
	  in increasing address order, this is sufficient.

          Updated statistics collection code for the above.

	  Converted a number of local functions into macros to avoid
	  the function call overhead.

	  Added code to disable the clean and dirty LRU lists in serial
	  mode.

	  Updated test code to account for the above changes.


Platforms tested: h5committested + serial, parallel, and fp on Eirene.

Misc. update:
2004-08-05 13:13:49 -05:00
Robert E. McGrath
19ecb5486a [svn-r9021] Purpose:
test files omitted from earlier checkin

Description:

Solution:

Platforms tested:

Misc. update:
2004-08-05 12:22:56 -05:00
Robert E. McGrath
d184c4ee8b [svn-r9020] Purpose:
Updating for jam utility

Description:
See previous checkin

Solution:

Platforms tested:

Misc. update:
2004-08-05 10:14:14 -05:00