Commit Graph

6734 Commits

Author SHA1 Message Date
MuQun Yang
1702d75b3a [svn-r9519] Purpose:
Adding codes for the general MPI derived datatype in order to
better incorporate new fixes of HDF5 library.

Description:
Note: These codes have not been tested for general use.
Don't call these functions in your developments of the HDF5 library.
Also these codes are stand-alone codes, they should not affect
other library codes.

Solution:

Platforms tested:
Heping(C and Parallel linux 2.4, mpich 1.2.6)
Arabica(C,C++,Fortran, Solaris 2.7)
Copper(C,c++,Fortran, AIX 5.1, NOTE: c++ FAILED, seems not due to the recent check-in)

Misc. update:
2004-11-11 16:00:01 -05:00
Leon Arber
091fbb49e0 [svn-r9518] Purpose:
New tests

Description:
Added tests for chunked reads/writes.

Platforms tested:
eirene + sol + copper

Misc. update:
2004-11-11 12:15:33 -05:00
Quincey Koziol
d60e16be79 [svn-r9516] Purpose:
Bug fix

Description:
    Fix code to allow --debug-enable=all option to work correctly.

Solution:
    Update some ifdef'ed code with recent changes.

Platforms tested:
    Linux 2.4 (heping) w/--enable-debug=all
    Too minor to require h5committest
2004-11-10 14:36:28 -05:00
Raymond Lu
d28d9e24e9 [svn-r9515] Purpose: Bug fix
Description:  For Intel 8.1 compiler, C99 standard has to be enabled to define macro ULLONG_MAX in its own header file limits.h.

Solution: Add flag -std=c99 to Intel compiler if the version is 8.1.

Platforms tested:  Tested v1.6 because this is a very simple change.
2004-11-08 12:59:59 -05:00
HDF Admin
ce64c13409 [svn-r9513] Snapshot version 1.7 release 41 2004-11-07 05:19:55 -05:00
MuQun Yang
65b26e02b7 [svn-r9512] Purpose:
Adding new names for windows installation docs,
remove old names

Description:

Solution:

Platforms tested:

Misc. update:
2004-11-05 15:14:25 -05:00
Xuan Bai
a63d60992b [svn-r9510] Purpose:
Update.

Description:
Correct some errors in the documentation.

Solution:

Platforms tested:
Not necessary.

Misc. update:
2004-11-05 13:47:28 -05:00
Xuan Bai
ef6cb98102 [svn-r9508] Purpose:
Bug Fix.

Description:
Correct some typos in the installation documentation.

Solution:

Platforms tested:
Not necessary.

Misc. update:
2004-11-04 21:47:58 -05:00
Xuan Bai
52c93de379 [svn-r9507] Purpose:
New feature and update.

Description:
New feature: Implement run-time detection of the Szip encoder.
Update: Fix bug in hdf5 library installation file hdf5\installhdf5lib.bat.

Solution:
1. Add two new projects, testh5repack_detect_szip and testh5repack_detect_szipdll under hdf5\tools\testfiles directory, into HDF5 Windows workspace, and add them to the dependencies of "all" dummy project.

The first one will generate an executable file testh5repack_detect_szip.exe, which can detect which Szip library (with or without encoder) was used when the HDF5 binaries were generated, and the detection output can be used with repacktest.bat to determine whether some HDF5 static dump tests need to be skipped.

The second one will generate an executable file testh5repack_detest_szipdll.exe, which can detect which Szip library (with or without encoder) is used when running HDF5 tools tests, and the detection output can be used with repacktest.bat to dynamically skipped some HDF5 DLL dump tests.

So in the future, we still need two sets of static binaries, one for Szip with encoder, and another one for without encoder.  We can share the same DLL binaries for Szip with/without encoder.

2. hdf5\tools\repacktest.bat is updated accordingly to implement this new feature of dynamic discovery of encoder.

3. hdf5\src\H5pubconf.h is updated accordingly by removing "#define H5_SZIP_CAN_ENCODE 1", the previous Szip encoder macro.

4. Several Fortran DLL related files were not installed by hdf5\installhdf5lib.bat file.  Without these files, there will be some trouble to link with Fortran DLL when using HDF5 binary distributions.  Missed files include Module files for hdf5_fortrandll project and DLL outputs for hdf5_f90cstubdll project.

Scripts were added in installhdf5lib.bat to copy these missed Fortran DLL related files to hdf5\hdf5lib directory.

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

Misc. update:
2004-11-04 18:57:57 -05:00
MuQun Yang
077a95ea25 [svn-r9505] Purpose:
remove old installation file on windows.

Description:

Solution:

Platforms tested:

Misc. update:
2004-11-03 15:16:44 -05:00
MuQun Yang
57243993ee [svn-r9504] Purpose:
remove old installation file for C++ interface.

Description:

Solution:

Platforms tested:

Misc. update:
2004-11-03 14:58:34 -05:00
MuQun Yang
70982501ef [svn-r9503] Purpose:
Update windows installation document on 1.7 branch.

Description:

Solution:

Platforms tested:

Misc. update:
2004-11-03 14:57:49 -05:00
Leon Arber
9268be2d0d [svn-r9501] Purpose:
Code clean-up

Description:
Rewrote code to make it simpler.

Added more data type tests

Solution:
Simplified code a lot in preparation for addition of new test cases.


Platforms tested:
heping + sol + copper
2004-11-03 12:28:26 -05:00
Robert E. McGrath
5d7f95d996 [svn-r9497] Purpose:
updating RELEASE.txt

Description:

Solution:

Platforms tested:

Misc. update:
2004-11-02 14:21:20 -05:00
Robert E. McGrath
25c1e28ffd [svn-r9496] Purpose:
Fix SZIP filter to dynmically detect encoder.

Description:

Solution:
See:
http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf

Changes to h5repack tests, contingent on detecting SZIP encoder.


Note new program:
	testh5repack_detect_szip

Checks fo rencoder, prints out "yes" or "no".  Used by hrepack.sh
to detect encoder.  Can also be used for windows tests.  This is
only used as part of the tests.

Had to modify Makefile to build and clean this program.
2004-11-02 14:14:14 -05:00
Robert E. McGrath
8c0c4f945d [svn-r9495] Purpose:
Fix SZIP filter to dynmically detect encoder.

Description:

Solution:
See:
http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf

Changes to h5dump tests, contingent on detecting SZIP encoder.
2004-11-02 14:12:18 -05:00
Robert E. McGrath
3f0abcc71f [svn-r9494] Purpose:
Fix SZIP filter to dynmically detect encoder.

Description:

Solution:
See:
http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf

Changes to library tests, contingent on detecting SZIP encoder.
2004-11-02 14:12:06 -05:00
Robert E. McGrath
f7c4277bbb [svn-r9493] Purpose:
Fix SZIP filter to dynmically detect encoder.

Description:

Solution:
See:
http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf

Platforms tested:
verbena, arabica, cobalt.

Note RE testing:
All automatic tests work as before.

The feature is a configuration thing, so the tests are manual.
Tested with the following configs:
  pre-release version of SZIP, with dynamic library,
   1. no SZIP
   2. SZIP, decoder only
   3. SZIP, encoder+decoder
  released (static lib) SZIP
   4. no SZIP
   5. SZIP, decoder only
   6. SZIP, encoder+decoder

  after build, switch szip in LD_LIBRARY_PATH at run time
   7. SZIP decoder
   8. SZIP encoder

Misc. update:
Manifest updated
2004-11-02 14:10:24 -05:00
Quincey Koziol
c9874681a6 [svn-r9491] Purpose:
Bug fix

Description:
    "Teach" the configure scripts about Intel 7.1 compilers, which don't have
_quite_ the same compiler flags

Platforms tested:
    Linux 2.4 (eirene)
2004-10-30 23:59:57 -05:00
Xuan Bai
eec27da1df [svn-r9489] Purpose:
Update.

Description:
Since several new features have been added into HDF5 this week, such as Fortran DLL and several new HDF5 tools, related testing and installation batch files should be updated.

Solution:
1. Update hdf5check.bat file, so HDF5 Fortran DLL will be tested. Kent updated enableall option for hdf5check. enablefortran option is updated now.
2. Update installhdf5lib.bat file, so HDF5 Fortran DLLs and DLL exported libraries will be installed under hdf5\hdf5lib directory. gif2h5, h52gif, h5jam, and h5unjam tools will also be installed.

Platforms tested:
Windows 2000/XP.

Misc. update:
2004-10-29 00:03:06 -05:00
Xuan Bai
9d9c66be1e [svn-r9487] Purpose:
Update.

Description:
Some DLL projects "Code Generation" settings were set as "Single-Threaded", should be set as "Multithreaded DLL or Debug Multithreaded DLL".  Although "Single-Threaded" did not bring any trouble for some projects, "Multithreaded DLL or Debug Multithreaded DLL" will be safer.

Update HDF5build batch file.

Solution:
1. Check all DLL projects settings for C/C++->Code Generation, and set all release versions code generation as ""Multithreaded DLL" and debug versions code generations as "Debug Multithreaded DLL".
2. Update HDF5build.bat file so that HDF5 Fortran DLL projects will be built.

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

Misc. update:
2004-10-28 23:04:50 -05:00
Quincey Koziol
17fec21284 [svn-r9486] Purpose:
Code cleanup

Description:
    Change loops for comparing results to use 2-D array lookups, since that's
what we've really got and the older 1-D array lookups was making the PGI C
compiler whine about array bounds issues.

Platforms tested:
    Linux 2.4 (heping) w/PGI C
    Not relevent to other platforms, no h5committest
2004-10-28 22:32:24 -05:00
Xuan Bai
dfd19d6b6d [svn-r9485] Purpose:
New feature.

Description:
Add a simple HDF5 Fortran DLL example.

Solution:
1. Add a simple HDF5 Fortran DLL example to test HDF5 Fortran DLL under hdf5\fortran\examples\ directory.
2. Updated installf90examples.bat under hdf5\directory to install Fortran DLL examples' executable files.
(Note: HDF5 Fortran example test batch file will be added later as there is no Fortran example tests on Unix now.)

Platforms tested:
Visual C++ 6.0 and DEC Fortran 6.6 on Windows XP.
Visual C++ 6.0 and DEC Fortran 6.0 on Windows 2000.
(Yes, HDF5 Fortran DLL can work with DEC Fortran 6.0 now.  Thanks to Kent!)

Misc. update:
2004-10-28 17:54:30 -05:00
Xuan Bai
bc34b31f3f [svn-r9483] Purpose:
New feature.

Description:
Add HDF5 C++ examples DLL test projects.
Add new HDF5 tools projects.

Solution:
1. Add the following 7 HDF5 C++ examples DLL projects into hdf5\c++\examples directory:
       chunkstestdll
       compoundtestdll
       createtestdll
       extend_dstestdll
       h5grouptestdll
       readdatatestdll
       writedatatestdll
2. Add the above 7 projects to the dependencies of hdf5\c++\examples\allcppexamples project.
3. Update HDF5 C++ examples installation batch file hdf5\InstallcppExamples.bat.
4. Update HDF5 C++ examples testing batch file hdf5\examples\testcppExamples.bat to include C++ example DLL tests.
5. Add HDF5 hdf/gif DLL conversion tools gif2h5dll and h52gifdll projects under hdf5\tools\gifconvdll directory.

Platforms tested:
Visual C++ 6.0 on WIndows 2000/XP.

Misc. update:
2004-10-28 15:45:55 -05:00
Xuan Bai
a8023f025d [svn-r9477] Purpose:
New feature.

Description:
Add HDF5 C examples DLL tests.

Solution:
1. Add the following 8 HDF5 C examples DLL projects into hdf5\examples directory:
       attributetestdll
       chunkreaddll
       compoundtestdll
       extendwritetestdll
       grouptestdll
       readtestdll
       selectestdll
       writetestdll
2. Add the above 8 projects to the dependencies of hdf5\examples\allexamples project.
3. Update HDF5 C examples installation batch file hdf5\InstallExamples.bat.
4. Update HDF5 examples testing batch file hdf5\examples\testExamples.bat to include C example DLL tests.

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

Misc. update:
2004-10-27 21:31:09 -05:00
MuQun Yang
ffb40e10d4 [svn-r9476] Purpose:
Make talign work on windows.
Description:
msvc++ uses _unlink instead of unlink.


Solution:
change the code to use HDunlink and include H5private.h(Not good?).


Platforms tested:
windows, Linux 2.4

Misc. update:
2004-10-27 17:50:15 -05:00
MuQun Yang
a457cd03e7 [svn-r9475] Purpose:
New feature: support fortran DLL on windows.
small bug fix.

Description:
1. Need to add macro for some functions in order to make fortran DLL work.
2. One routine(verify) missed the special macro DEC FORTRAN needs. Added.

Solution:

Platforms tested:
windows XP with MC VC6.0+Dec 6.6c.
Linux 2.4
and h5committest not finished yet.

Misc. update:
2004-10-27 17:46:14 -05:00
MuQun Yang
babfbc2f9d [svn-r9474] Purpose:
Updating H5api_adpt.h to help the implementation of Fortran DLL on windows.


Description:
1. More functions need to be added prefix macro for exporting and importing
   fortran DLL on Windows.
2. unlink was _unlink on windows and use HDunlink to specify this.

Solution:

Platforms tested:
linux 2.4(h5committest not finished yet, but should work since the change is minor and it is passed with pgi compiler)

Misc. update:
2004-10-27 17:41:57 -05:00
MuQun Yang
84745471a2 [svn-r9473] Purpose:
1.Support Fortran DLL for Decfortran 6.6c.
2. misc. small bug fixes.

Description:
1. No HDF5 fortran DLL is provided in the recent HDF5 release because of
     1) the difficulties to build fortran DLL based on C DLL.
     2) the difficulties to separate fortran DLL from C DLL in hdf5 test suite.
     3) DEC Fortran 6.0 was old and we don't have new DEC fortran 6.6 compiler.


Solution:
0. Updating DEC Fortran 6.6A compiler to 6.6c since there was a bug in 6.6A to fail export variable within module procedure.
1. Using a C stub dll to separate fortran and C codes, previously they were mixed.
2. Using a C stub dll for test suite.
3. Carefully passing the token between export and import DLLs.
4. Now Fortran tests still failed with 1.7 branch, however,
the failure is due to bugs inside HDF5 library because both static and DLL experienced the same failure.
The failure occurred for routine h5premove_f. According to the failure message, it may be due to the invalid array bound.
Anyway, Fortran DLL can be treated as the same as the static library for 1.7 branch with DEC visual 6.6c.


Platforms tested:
windows xp with DEC fortran 6.6c and VS 6.0.

Misc. update:
update some batch files and project file related to this change.
2004-10-27 17:34:04 -05:00
Quincey Koziol
0db364390b [svn-r9469] Purpose:
Code cleanup

Description:
    Clear up some inconsistencies, inefficiencies and possible errors between
the release and development branch.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Linux 2.4 (heping) w/C++ & FORTRAN
2004-10-27 12:07:41 -05:00
Quincey Koziol
c274ffe1c9 [svn-r9466] Purpose:
Bug fix

Description:
    Clean up potential buffer overflow in strncpy()

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-10-26 21:12:02 -05:00
Xuan Bai
a75d43be95 [svn-r9465] Purpose:
New feature.

Description:
Added several library and tools tests project and updated testing batch file.

Solution:
1. Add dangle, dangledll, dtransform, dtransformdll, filename, filenamedll projects under hdf5\test directory.
2. Add talign and taligndll projects under hdf5\tools directory.
3. Add the above 6 projects to the dependencies of "all" project.
4. Update hdf5test.bat under hdf5\test directory to include the above tests.

Platforms tested:
Microsoft Visual C++ 6.0 on Windows 2000/XP.
(Note: As hdf5\tools\lib\talign.c file includes a header file unistd.h, which does not exist in Windows system, we need to update this file to include a Windows Macro to exclude this header file in Windows.)

Misc. update:
Updated hdf5\src\H5Tinit.c
2004-10-26 20:49:33 -05:00
Leon Arber
22696535f5 [svn-r9464] Purpose:
Bug fix.

Description:
dtransform test still failed on windows because it was attempting to create a
ullong dataset.

Solution:
Removed creation of ullong dataset as well if H5_ULLONG_TO_FP_CAST_WORKS was
not defined.

Platforms tested:
windows
2004-10-26 16:48:15 -05:00
Leon Arber
1a869e39dc [svn-r9463] Purpose:
Bug fix.

Description:
unsigned long long test fails on windows because windows cannot convert from
ullong to double

Solution:
Skip unsigned long long test if H5_ULLONG_TO_FP_CAST_WORKS is not defined.

Platforms tested:
eirene and will do windows test asap.
2004-10-26 16:04:31 -05:00
Leon Arber
4c8429e3d2 [svn-r9462] Purpose:
Added tests
Code cleanup

Description:
New tests added for new version of H5Pget_data_transform and additional tests
to make sure that error conditions are handled properly by both
H5Pset_data_transform and H5Pget_data_transform.

Also cleaned up code to make it more compact.

Platforms tested:
sol + eirene + copper

Misc. update:
2004-10-26 15:47:22 -05:00
Leon Arber
74d574632f [svn-r9461] Purpose:
Changed functionality of H5Pget_data_transform

Description:
H5Pget_data_transform no longer allocates memory for the transform string...it
is the user's responsbility to do so.

Solution:
Made H5Pget_data_transform be more in line with other functions that do
similiar things:

User now has to allocate memory for the string themselves and specify how much
of the string should be copied into the buffer.  There is also support for
querying the length of the transform string.

Platforms tested:
sol + eirene + copper

Misc. update:
2004-10-26 15:45:52 -05:00
Quincey Koziol
3b63db5f7f [svn-r9459] Purpose:
Code cleanup

Description:
    Clean up minor warnings and align with release branch.


Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel & FPH5
    Solaris 2.7 (arabica) w/production mode
    Linux 2.4 (heping) w/C++ and FORTRAN
2004-10-26 15:07:10 -05:00
HDF Admin
b232f57b9b [svn-r9457] Purpose:
Bug fix.

Description:
The previous H5_ULLONG_TO_FP_CAST_WORKS fix does not quite work
since the problem was an error during compiling while the fix
was trying to check for the error condition during runtime.
The MS-Compiler still complains about not supporting ULLONG
to Float.

Solution:
A temperary patch is to have two #define of H5Z_XFORM_TYPE_OP
according to if H5_ULLONG_TO_FP_CAST_WORKS is defined.  This
works but a better solution is needed.

Platforms tested:
Windows (by Kent) and heping (Linux by me).
2004-10-25 18:01:30 -05:00
HDF Admin
39f4b8d0c3 [svn-r9455] Snapshot version 1.7 release 40 2004-10-24 05:22:24 -05:00
Albert Cheng
63a3195fac [svn-r9453] Purpose:
Improvement.

Description:
Made all processes print hostname() by default so that it is easier
to spot problems.

Platforms tested:
Tested in copper only.  It is a trivial small change.

Misc. update:
2004-10-22 17:42:05 -05:00
Albert Cheng
4a6f857a04 [svn-r9452] Updated. 2004-10-22 16:16:49 -05:00
Albert Cheng
06a81051f0 [svn-r9450] Purpose:
"Improvement"?

Description:
Long double is a standard C89 type.  Promoted it from
a conditional tested type to an assumed supported type.

Platforms tested:
H5committested.

Misc. update:
2004-10-22 16:11:16 -05:00
Quincey Koziol
b4d39e7adb [svn-r9447] Purpose:
Bug fix

Description:
    Correct values used in "space utilization" equation: the 'used' and
'total' values were backwards.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-10-22 16:03:50 -05:00
Raymond Lu
cacc8fa4c6 [svn-r9445] Purpose: Bug fix
Description:  "char" was considered as always "signed char" in data type conversion.  However, ISO C leaves
the definition of "char" to individual implementation.  i.e. for IBM AIX C compiler, it's treated as "unsigned
char".

Solution: Changed all "char" to "signed char".  Don't even do "char" anymore because its definition is up
to each vendor.

Platforms tested:  h5committest
2004-10-21 11:04:08 -05:00
Xuan Bai
229d19bc72 [svn-r9444] Purpose:
New feature.

Description:
Add a simple HDF5 C++ example and a simple HDF5 Fortran example.

Solution:
1. Add a simple HDF5 C++ example to test HDF5 library and tools under hdf5\c++\examples\ directory.
2. Add a simple HDF5 Fortran example to test HDF5 library and tools under hdf5\fortran\examples\ directory.
3. Add an HDF5 C++ example installation batch file installcppexamples.bat under hdf5\ directory.
4. Add an HDF5 C++ example test batch file testcppexamples.bat under hdf5\c++\examples\ directory.
5. Add an HDF5 Fortran example installation batch file installf90examples.bat under hdf5\directory.
(Note: HDF5 Fortran example test batch file will be added later as there is no Fortran example tests on Unix now.)

Platforms tested:
Microsoft Visual Studio 6.0 on Windows 2000/XP.
Microsoft Visual Studio .NET 2003 on Windows XP (C example only).

Misc. update:
2004-10-20 17:25:20 -05:00
Leon Arber
b7a3a55b77 [svn-r9442] Purpose:
Add code more code to test H5Pget_data_transform and H5Pset_data_transform

Description:
Added a test to verify that H5Pset_data_transform will correctly replace a
data transform with a new one and properly use the new transform on the data.

Added a test to verify that H5Pget_data_transform properly returns the
transform string.

Platforms tested:
sol + eirene + copper

Misc. update:
2004-10-20 16:09:54 -05:00
Leon Arber
5ec05c10e8 [svn-r9441] Purpose:
Code refactor
Changed functionality of H5Pget_data_transform

Description:
Rewrote much of H5Ztrans.c to use macros, which cut down on the amount of code
significantly.

H5Pget_data_transform now allocates memory for the data transform string,
copies the string into this memory, and
returns this pointer to the user, instead of returning a pointer to the
internal transform string stored by hdf.  It is the user's responsibility to free
this memory when they are done with it.

Platforms tested:
sol + eirene + copper

Misc. update:
2004-10-20 16:08:35 -05:00
Leon Arber
b6c9d2afa7 [svn-r9440] Purpose:
Bug fix

Description:
Fix typo in #ifdef for unsigned long long to double conversion.
Changed WIN32 check to H5_ULLONG_TO_FP_CAST_WORKS
This check-in (and the one before it) also includes a large code-refactoring
that is still in progress.

Solution:
the ifdef for the plus case was checking unsigned long instead of unsigned
long long.  Moved the check to the right location.

Platforms tested:
sol+eirene

Misc. update:
2004-10-19 19:21:52 -05:00
Xuan Bai
cc168abb1e [svn-r9439] Purpose:
Update.

Description:
h5repack_layout.c was removed from hdf5/tools/h5repack directory.  HDF5 windows projects using this file should be updated.

Solution:
Delete h5repack_layout.c from h5repack, h5repackdll, and h5repacktst projects.

Platforms tested:
Visual Studio 6.0 on Windows 2000/XP.

Misc. update:
2004-10-19 16:25:33 -05:00
Pedro Vicente Nunes
8ef059b4f7 [svn-r9436] Purpose:
bug fix

Description:

Description:
one case was not handled in the combination of input options (layout and filters)


Solution:
redo the algorythm that handles all cases


Solution:

Platforms tested:
linux

Misc. update:
2004-10-19 11:11:16 -05:00