summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9491] Purpose:Quincey Koziol2004-10-313-15/+23
| | | | | | | | | | | 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)
* [svn-r9489] Purpose:Xuan Bai2004-10-291-0/+0
| | | | | | | | | | | | | | | | 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:
* [svn-r9487] Purpose:Xuan Bai2004-10-291-0/+0
| | | | | | | | | | | | | | | | | | 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:
* [svn-r9486] Purpose:Quincey Koziol2004-10-291-26/+28
| | | | | | | | | | | | | 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
* [svn-r9485] Purpose:Xuan Bai2004-10-281-0/+0
| | | | | | | | | | | | | | | | | | | 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:
* [svn-r9483] Purpose:Xuan Bai2004-10-281-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r9477] Purpose:Xuan Bai2004-10-281-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r9476] Purpose:MuQun Yang2004-10-271-2/+3
| | | | | | | | | | | | | | | | 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:
* [svn-r9475] Purpose:MuQun Yang2004-10-272-2/+7
| | | | | | | | | | | | | | | | | | 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:
* [svn-r9474] Purpose:MuQun Yang2004-10-272-3/+23
| | | | | | | | | | | | | | | | | 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:
* [svn-r9473] Purpose:MuQun Yang2004-10-271-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [svn-r9469] Purpose:Quincey Koziol2004-10-277-26/+15
| | | | | | | | | | | | | 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
* [svn-r9466] Purpose:Quincey Koziol2004-10-273-15/+10
| | | | | | | | | | | Bug fix Description: Clean up potential buffer overflow in strncpy() Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9465] Purpose:Xuan Bai2004-10-271-0/+0
| | | | | | | | | | | | | | | | | | | | 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
* [svn-r9464] Purpose:Leon Arber2004-10-261-2/+6
| | | | | | | | | | | | | | | 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
* [svn-r9463] Purpose:Leon Arber2004-10-261-1/+5
| | | | | | | | | | | | | | 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.
* [svn-r9462] Purpose:Leon Arber2004-10-261-325/+193
| | | | | | | | | | | | | | | | | 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:
* [svn-r9461] Purpose:Leon Arber2004-10-263-19/+41
| | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r9459] Purpose:Quincey Koziol2004-10-267-149/+102
| | | | | | | | | | | | | 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
* [svn-r9457] Purpose:HDF Admin2004-10-251-13/+43
| | | | | | | | | | | | | | | | | | | 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).
* [svn-r9455] Snapshot version 1.7 release 40HDF Admin2004-10-246-28/+40
|
* [svn-r9453] Purpose:Albert Cheng2004-10-221-1/+1
| | | | | | | | | | | | | 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:
* [svn-r9452] Updated.Albert Cheng2004-10-221-0/+2
|
* [svn-r9450] Purpose:Albert Cheng2004-10-221-4/+1
| | | | | | | | | | | | | "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:
* [svn-r9447] Purpose:Quincey Koziol2004-10-222-13/+10
| | | | | | | | | | | | 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
* [svn-r9445] Purpose: Bug fixRaymond Lu2004-10-214-78/+78
| | | | | | | | | | | 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
* [svn-r9444] Purpose:Xuan Bai2004-10-201-0/+0
| | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r9442] Purpose:Leon Arber2004-10-201-1/+71
| | | | | | | | | | | | | | | | 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:
* [svn-r9441] Purpose:Leon Arber2004-10-202-327/+86
| | | | | | | | | | | | | | | | | | | | 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:
* [svn-r9440] Purpose:Leon Arber2004-10-201-18/+19
| | | | | | | | | | | | | | | | | | | 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:
* [svn-r9439] Purpose:Xuan Bai2004-10-191-0/+0
| | | | | | | | | | | | | | | 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:
* [svn-r9436] Purpose:Pedro Vicente Nunes2004-10-196-297/+209
| | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r9433] Purpose:Quincey Koziol2004-10-193-1/+73
| | | | | | | | | | | | | | | | Bug fix Description: Fix core dump when flushing a file with a newly created attribute which hasn't had a value written to it still open. Solution: Write the attribute fill value when appropriate. Platforms tested: FreeBSd 4.10 (sleipnir) Linux 2.4 (verbena) Solaris 2.7 (arabica)
* [svn-r9432] Purpose:Leon Arber2004-10-181-4/+9
| | | | | | | | | | | | | Skip test. Description: Known failure in char and schar types for dtransform test on AIX and SGI. Solution: Temporary skip this test until bug is fixed. Platforms tested: copper (minor change)
* [svn-r9431] Purpose:Leon Arber2004-10-181-14/+24
| | | | | | | | | | | | | | Bug fix. Description: If a subtest failed, the error would not propogate properly to the main function, thereby resulting in a succesful run, even though the test failed. Solution: Fixed error return values. The dtransform test will now fail for real. Platforms tested: sol + eirene + copper
* [svn-r9430] Purpose:Leon Arber2004-10-181-1684/+272
| | | | | | | | | | | | | | | | Bug fix. Description: The windows compiler apparently cannot convert from unsigned long long to double. This conversion is necessary for the data transform to work properly in some cases. Solution: Added #ifdef to check for windows and issue error when user attempts to do a data transform on a long long type. Platforms tested: sol + eirene
* [svn-r9428] Purpose:Pedro Vicente Nunes2004-10-183-11/+24
| | | | | | | | | | | | | | | | | bug fix Description: when specifying both an input object e.g -f mydset:GZIP=1 and a defined chunk -l CHUNK=20x20 the filter used a defined default chunk instead Solution: add a check for the input chunk Platforms tested: linux (small change) Misc. update:
* [svn-r9427] Purpose:Albert Cheng2004-10-141-1/+7
| | | | | | | | | | | | | | Bug fix. Description: AIX defines different sizes of the signed and unsigned int_fast8_t. Changed the code to check each type individually and do not verify they must be the same size. Platforms tested: Tested in copper only since the change is trivial. Misc. update:
* [svn-r9425] Purpose:Albert Cheng2004-10-141-6/+2
| | | | | | | | | | | | | Bug fix Description: Removed the cache values of sizeof signed and unsigned int_fast8_t and int_fast16_t since the vendor changes them often. Platforms tested: Tested in Copper only since it affected it only. Misc. update:
* [svn-r9423] Purpose:Leon Arber2004-10-141-122/+469
| | | | | | | | | | Description: Make the test check transforms on all types, and expanded testing for unsigned types. Solution: Platforms tested: sol + eirene
* [svn-r9422] Purpose:Leon Arber2004-10-141-528/+1379
| | | | | | | | | | | | | Description: Code optimization and refactoring. Added support for llong, ullong, and ldouble Solution: Significantly cut down on the amount of code required to do the transform, while making the operations more efficient. Platforms tested: sol + eirene
* [svn-r9420] Bug fix.Albert Cheng2004-10-141-1/+1
| | | | | | | | | | | | | | tconfig.c: Verified only the unsigned int types and did not detect inconsistencies on signed type such as int_fast16_t. Changed code to verify both signed and unsigned int types wherever applicable. It also depends on signed and unsigned forms of an int type must be of the same sizes. testhdf5.c: Shorten the configure test name to 'config'--easier to type. Tested on LLNL Frost and Snow. Will test in Copper after commit.
* [svn-r9419] Bug fix.Albert Cheng2004-10-141-40/+57
| | | | | | | | | | | | | | tconfig.c: Verified only the unsigned int types and did not detect inconsistencies on signed type such as int_fast16_t. Changed code to verify both signed and unsigned int types wherever applicable. It also depends on signed and unsigned forms of an int type must be of the same sizes. testhdf5.c: Shorten the configure test name to 'config'--easier to type. Tested on LLNL Frost and Snow. Will test in Copper after commit.
* [svn-r9418] Bug fix (bug 205).Albert Cheng2004-10-141-3/+3
| | | | | | | | | The script does not use $RUNSERIAL to execute programs. This failed badly in parallel systems like Tflops. Patched $RUNSERIAL in to make it work. Tested in tflops only.
* [svn-r9413] Purpose:Quincey Koziol2004-10-121-2/+2
| | | | | | | | | | | Code cleanup Description: Fix a couple of return values from NULL -> FAIL. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9412] Purpose:Quincey Koziol2004-10-121-1/+7
| | | | | | | | | | | | Bug fix Description: When mpicc/mpif90 is a wrapper around a PGI compiler, turn on less agressive optimization options to avoid testing errors. Platforms tested: Linux 2.4 (verbena) Too minor to require h5committest
* [svn-r9411] Purpose:Quincey Koziol2004-10-121-1/+7
| | | | | | | | | | | | Bug fix Description: When mpicc/mpif90 is a wrapper around a PGI compiler, turn on less agressive optimization options to avoid testing errors. Platforms tested: Linux 2.4 (verbena) Too minor to require h5committest
* [svn-r9410] Purpose:Quincey Koziol2004-10-122-0/+8
| | | | | | | | | | | | Code cleanup Description: Update FORTRAN configuration test code to be more syntacticly correct and not generate errors with stricter standards checking in the compiler. Platforms tested: Linux 2.4 (verbena) Too minor to require h5committest
* [svn-r9407] Purpose:Quincey Koziol2004-10-125-29/+7
| | | | | | | | | | | | | | | | | | | | Code cleanup/bug fix Description: Remove the undocumented "$NOFP" shell variable which would allow production builds without removing the stack frame. This was cascading between C and FORTRAN builds and causing problems. Solution: Hard-code removing the stack frame for now. Users would have needed to read the configure scripts anyway, so there's not really much benefit to the extra knob. Users who need this functionality (production builds with stack frames) are debugging probably, so they will need to modify the script and build their own version of the library now. Platforms tested: Linux 2.4 (verbena) Too minor to require h5committest
* [svn-r9405] Purpose:Quincey Koziol2004-10-121-22/+15
| | | | | | | | | | | | | Bug fix Description: Correct/update detection of Linux platforms. Also, refactor common code out of different architectures for Linux builds. Platforms tested: Linux 2.4 (verbena) Too minor to require h5commitest