Commit Graph

6441 Commits

Author SHA1 Message Date
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
Robert E. McGrath
f53299c0b3 [svn-r9019] Purpose:
Adding new 'jam' utility

Description:
New utility, plus changes to makefiles

Solution:
See http://hdf.ncsa.uiuc.edu/RFC/Jam

Platforms tested:
verbena (fortran,C++), arabica, hirdls (SGI Irix64)

Misc. update:
Manifest will be done in next checkin.
2004-08-05 10:10:39 -05:00
Albert Cheng
5390a63a77 [svn-r9018] Purpose:
Bug fix (Failures when dataset size >= 1 GB, reported by Bill Loewe.)

Description:
In the IBM AIX system using 32bit mode, if a dataset size was 1GB or
larger, when the "end" of the dataset was selected, MPI would complain
it could not keep the Upper bound of a datatype within the range of
MPI_Aint.  This was because the old algorithm would derive the selection
with extent of each row first.  After all dimensions were processed,
it then calculate the start position and just displace the whole
MPI derived type.  So, the final MPI type was actually the start
position plus the whole dataset.  Since the start can be as big as
the whole dataset, this made the final derived twice as big as 1GB.
That would hit the 2GB MPI_Aint range limit in the 32 bit mode.

Solution:
Use a different algorithm to include the start position in the
defining of MPI type for each dimension.  When all dimensions
are processed, the MPI type represents the selection exactly.

Platforms tested:
h5committested

Misc. update:
2004-08-05 00:15:08 -05:00
Quincey Koziol
a5bd3e42ea [svn-r9016] Purpose:
Code cleanup

Description:
    Clean up ifdef's and close leaked ID.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-08-05 00:01:50 -05:00
Elena Pourmal
7de13f9663 [svn-r9014]
Purpose: Small bug fix

Description: When SZIP filter is present but encoding is not enabled
             test_misc21 and h5repack tests failed.

Solution: Those tests should not run in this situation at all.
          Used conditonal compilation to disable the tests.

Platforms tested: sol (today I will enable the daily tests with the szip library
                  that doesn't have encoder for few other platforms)


Misc. update:
2004-08-04 15:27:28 -05:00
Xuan Bai
acd568da0d [svn-r9012] Purpose:
New feature.

Description:
Before this update, windows tool testing batch file outputs 2 files.
One shows whether each test passed or failed.  Another file includes the
information from FC command about the difference between the expected output
and actual output.

Now the two output files are merged into one.  When a test passes, the
output file will just show that the test passes.  When a test fails, the
output file will show that the test fails and the difference between the
expected output and actual output from FC command will be included right
below the failed test.

Solution:
Updated dumptest, difftest, lstest, importtest, and repacktest batch files
so that when a test fails, the output from FC command will be redirected to
the file that shows whether a test passes or fails.

Platforms tested:
Windows 2000 and XP.

Misc. update:
2004-08-04 14:45:53 -05:00
Robert E. McGrath
7138ca34a6 [svn-r9010] Purpose:
Tests for SzIP n-bit precision (and other dt's)

Description:
See earlier checkins

Solution:

Platforms tested:

Misc. update:
2004-08-04 11:01:52 -05:00
Robert E. McGrath
2491ee240d [svn-r9009] Purpose:
Update Szip to accept 'n-bit' data

Description:
See earlier checkins.

Solution:

Platforms tested:

Misc. update:
2004-08-04 10:59:02 -05:00
Frank Baker
5585cbae21 [svn-r9006]
Purpose:
    In "Intro to HDF5" Example #5, corrected the anticipated output listed in
        a code comment.
    Fixes Bugzilla entry #112.
Platforms tested:
    Mozilla
2004-08-03 17:56:22 -05:00
Xuan Bai
fa6aa12ff0 [svn-r9003] Purpose:
Update.

Description:
Since hdf5 fortran dll does not work at current time, it is not
necessary to install hdf5 fortran dlls.

Solution:
Comment out those scripts used to install hdf5 fortran dlls
in installhdf5lib.bat.

Platforms tested:
Windows 2000 and XP.

Misc. update:
2004-08-03 16:28:04 -05:00
Xuan Bai
2f5d2a51bd [svn-r9001] Purpose:
Update.

Description:
Before this update, hdf5_fortran release and debug libraries
share the same name hdf5_fortran.lib;
hdf5_f90cstub release and debug libraries share the same name
hdf5_f90stub.lib;
libtest_fortran release and debug libraries share the same name
libtest_fortran.lib.
Rename the debug libraries for the above three projects to distinguish
the release and debug libraries.
hdf5 library installation batch file installhdf5lib.bat does not
install hdf5 fortran libraries and dlls.

Solution:
1. Rename the hdf5_fortran debug library as hdf5_fortrand.lib.
2. Rename the hdf5_f90cstub debug library as hdf5_f90cstubd.lib.
3. Rename the libtest_fortran debug library as libtest_fortrand.lib.
4. Update installhdf5lib.bat so that hdf5 fortran libraries and dlls
   will also be installed.

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

Misc. update:
2004-08-03 16:02:38 -05:00
Xuan Bai
6c3c99bdf3 [svn-r8999] Purpose:
New feature.

Description:
Add two new windows projects and one testing batch file.
Update two testing batch files.

Solution:
1. Add a new project h5diffdll, which will generate h5diff dll tool.
2. Add a new windows project h5repackdll, which will generate h5repack dll tool.
3. Add a new hdf5 tool testing batch file -- testhdf5tools.bat, which
   calls h5dump, h5diff, h5ls, h5import, and h5repack tools.  Now all the available
   hdf5 tools can be tested with one batch file.
4. Updated difftest.bat and repacktest.bat testing batch files.

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

Misc. update:
2004-08-03 12:07:07 -05:00