summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r6741] Purpose:Albert Cheng2003-04-233-6/+11
| | | | | | | | | | | | | | code cleanup. Description: Rename test_comm_info_delete to test_fapl_mpio_dup to better decribe what it does. Updated the comments to describe more accurate. Platforms tested: Did not run h5commmittest since the changes were all in parallel area. Ran parallel tests on modi4 and eirene. Misc. update:
* [svn-r6740] Purpose:Albert Cheng2003-04-231-11/+16
| | | | | | | | | | | | | simple code cleanup. Description: While debug a problem in multiple_group_write(), noticed some returned values were not checked. Added code to check on all returned code. Platforms tested: h5committested. Misc. update:
* [svn-r6739] Purpose:Bill Wendling2003-04-2321-70/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix Description: H5FC was failing on Copper (IBM P690). The reason: the xlf compiler needs files to end in .f in stead of .f90. If you have .f90 files, you need the "-qsuffix=f=f90" flag defined. This was defined for compiling things via the "-c" option (to object files) but not for straight compilation of a file. I also noticed that the directory modules were being extracted from was "." and "../src". H5FC would find these alright when doing a "make check-install" but if Suzie User were to try this, it might fail for her. Suzie would have to specify explicitly where to grab these files. Solution: The solution to the problem was a bit more involved. I added a new variable called "F9XSUFFIXFLAG" which is set to this value if the machine needs it. Added new variable called "FSEARCH_DIRS" which can be set to the directories to find modules during compilation. The H5FC script knows where to find the correct modules (it's in the lib/ directory), so it uses the F9XMODFLAG to find them and not the FSEARCH_DIRS flag. Platforms tested: Modi4 (Fortran & Parallel) Verbena (Fortran) C++ not needed since this is Fortran-only fix Arabica (Fortran) Copper (Fortran) Ran "make install" and "make check-install" afterwards... Misc. update:
* [svn-r6738] Purpose:Quincey Koziol2003-04-231-1/+2
| | | | | | | | | | | | Code cleanup Description: Add & improve assertion that was removed in last commit, to check for compact dataset storage. Platforms tested: FreeBSD 4.8 (sleipnir) triple check not necessary.
* [svn-r6737] Purpose:Quincey Koziol2003-04-231-1/+1
| | | | | | | Update release notes Description: Revise note about using -std=gnu99 for gcc 3.x to say -std=c99
* [svn-r6736] Purpose:Albert Cheng2003-04-231-8/+16
| | | | | | | | | | | | | | | update Description: Added h5fc to the h5tools list. Added feature that it will udpate tools that are present. (Would still abort if no tools found at all.) Platforms tested: Did not h5committest since it does not test this tool at all. Did various test in eirene by hand. Misc. update:
* [svn-r6735] Purpose:Bill Wendling2003-04-221-0/+30
| | | | | | | | | | | | | | | | | Update Description: Ran "autoheader" to gather some of the added #defines that were included in the configure.in file over the months... Platforms tested: Arabica & Baldric (Fortran) Modi4 (Parallel & Fortran) Verbena (C++ & Fortran) All with --enable-stream-vfd and doing a "make check-install". Misc. update:
* [svn-r6734] Purpose:Bill Wendling2003-04-222-4/+452
| | | | | | | | | | | | | | | | | | | | | Bug Fix Description: The h5fc script couldn't find the correct libraries needed when it was used on Solaris and the --enable-stream-vfd was enabled. Solution: Added checks for the -lnsl and -lsocket libraries if we're on Solaris or HP-UX. Platforms tested: Arabica & Baldric (Fortran) Modi4 (Parallel & Fortran) Verbena (C++ & Fortran) All with --enable-stream-vfd and doing a "make check-install". Misc. update:
* [svn-r6733] Purpose:Albert Cheng2003-04-221-2/+2
| | | | | | | | | | | | Updated with the check-install changes. Description: Solution: Platforms tested: Misc. update:
* [svn-r6732] Purpose:Albert Cheng2003-04-223-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | Bug fix and feature Description: The patch to Makefile.in failed if an empty directory of fortran/examples was left behind by a previous build. Solution: Attempted to put it in config/conclude.in just became a mess since it is hard to predict when we will include examples in the subdirs or not. Borrow the structure of install-examples and do some handcode per interface. The Makefile.in of each interface (C, Fortran, C++) controls everything. Not very systematic but pretty clean for this case. Platforms tested: h5committested. Also tested in modi4 with various combinations of fortran, c++ enabled. Misc. update:
* [svn-r6731] Raymond Lu2003-04-221-2/+17
| | | | | | | | | Purpose: handling special case Description: This fletcher32 didn't handle Cray's special data type sizes. Platforms tested: h5committested. Cray
* [svn-r6730] Raymond Lu2003-04-222-1/+236
| | | | | | | | | | Purpose: New tests added. Description: test VL data for compact dataset; test compact dataset's maximal size. Platforms tested: h5committested
* [svn-r6729] Raymond Lu2003-04-221-3/+2
| | | | | | | | | | | Purpose: bug fix Description: VL datatype in compact dataset fails because a wrong type size is used. Platforms tested: h5committested Misc. update:
* [svn-r6728] Purpose:Albert Cheng2003-04-221-3/+5
| | | | | | | | | | | | | | | | Silly bug fix. Description: Forgot to put the comm/info duplication code in. Solution: Put them back in. Platforms tested: Did not run h5committest since the changes are all in the MPIO driver code. Tested on eirene and Modi4, both parallel modes. Misc. update:
* [svn-r6726] Purpose:Albert Cheng2003-04-221-0/+3
| | | | | Updated with the added tool of h5fc and fortran/examples checking with the h5fc tool.
* [svn-r6725] Purpose:Albert Cheng2003-04-221-0/+3
| | | | | | | | | | | | | | | | | Feature Description: Added a simple way to run make check in the fortran/examples too. This would be a good exercise of the installed h5fc command. (A more systematic way, similar to install-examples, should be implemented.) Platforms tested: h5committested--that only made sure the change did not break anything. Also tested "make check-install" in modi4 to make sure the changes do work. Misc. update:
* [svn-r6724] Purpose:Bill Wendling2003-04-211-0/+10
| | | | | | | | | | | | | | | Commenting Description: Added comments to the H5Fget_access_plist function to remind people that if they are going to be overwriting a value in the plist which was originally opened and inserted into the plist, then it should be closed before overwriting that value. Platforms tested: Modi4 (Only comment change, so no h5committest needed). Misc. update:
* [svn-r6723] Purpose:Pedro Vicente Nunes2003-04-212-0/+0
| | | | | | | | | | | | | changed the h5pubconf.h file the MALLOC_WORKS definition for code warrior , which is #undef this is because pt=malloc(0) returns 0 in code warrior and was causing a failure in the config_malloc_test Platforms tested: code warrior Misc. update:
* [svn-r6722] Purpose:Pedro Vicente Nunes2003-04-211-3/+1
| | | | | | | | | | removed specific code warrior debugging information Platforms tested: code warrior Misc. update:
* [svn-r6721] Purpose:Pedro Vicente Nunes2003-04-211-2/+6
| | | | | | | | | | | | | | | | | | bug fix Description: in the close strong case in H5F_close there was a do..while loop that executed when nfiles==0, calling malloc(0) this was causing a failure in the close call in Code Warrior, that returns 0 in the call pt=malloc(0) Solution: replaced with a while loop (checks the condition before executing) Platforms tested: code warrior, linux Misc. update:
* [svn-r6720] Purpose:Bill Wendling2003-04-211-3/+39
| | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix Description: A resource leak happened if the H5Fget_access_plist() function was called. What was happening: the driver ID and info parts of the property list copied in H5Fget_access_plist were being overwritten, but those properties were copied initially, so we lost information. Added calls to the H5Fget_access_plist function to get the PList and then immediately close it. It would cause an infinite loop if there is a resource leak. Solution: Before copying over those values, call the H5F_acs_close() function to close those values. Platforms tested: Modi4 (Parallel & Fortran) Arabica (Fortran) Verbena (Fortran & C++) Misc. update:
* [svn-r6719] Purpose:Bill Wendling2003-04-211-0/+8
| | | | | | | | | | | | | | | | | | | | | Bug Fix Description: A resource leak happened if the H5Fget_access_plist() function was called. What was happening: the driver ID and info parts of the property list copied in H5Fget_access_plist were being overwritten, but those properties were copied initially, so we lost information. Solution: Before copying over those values, call the H5F_acs_close() function to close those values. Platforms tested: Modi4 (Parallel & Fortran) Arabica (Fortran) Verbena (Fortran & C++) Misc. update:
* [svn-r6718] Purpose:Albert Cheng2003-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | bug fix Description: The fphdf5.o and similar files are not included in the make clean target. So, if the same directory is used again for a different build, the left behind file could cause a problem (e.g., if the second build is for a different binary format.) Solution: Added fphdf5.c to the TEST_SRC list which indirect form the clean target list. Platforms tested: Did not run h5committest tests because they don't verify this failure. I tested the fix in modi4 pp to verify all files are cleaned. Misc. update:
* [svn-r6715] Purpose:Albert Cheng2003-04-181-0/+1
| | | | | | | | | | | | updated. Description: Solution: Platforms tested: Misc. update:
* [svn-r6714] Purpose:Albert Cheng2003-04-181-0/+226
| | | | | | | | | | | | | Feature Description: Test program for the Flexible PHDF5 feature. Platforms tested: Tested on modi4 before but the feature is currenly disabled in configure. Checking this in for future work. Misc. update:
* [svn-r6711] Purpose:Albert Cheng2003-04-181-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix Description: Sometimes when H5detect fails (incorrect code, incorrect mpi launch command, insufficient resources,...), it generates an incomplete or even empty H5Tinit.c file. If the empty file is not removed but the make is run again, make will just use the empty file to generate the library which will have lots of missing routines. Make won't fail until much later and the missing routines would be puzzling to inexperienced users. Solution: If H5detect fails, the generated H5Tinit.c will be removed unless $HDF5_Make_Ignore is set. This is similar to removing .o file if the compile fails. Platforms tested: Copper (parallel) which has a condition causing H5detect to fail. That verified the change works. Eirene (parallel) in which H5detect runs well. This verified the change works in normal conditions too. Did not do the h5committest because this is just a makefile change and the above two tests covered it well. Misc. update:
* [svn-r6710] Purpose:Albert Cheng2003-04-181-0/+1
| | | | | | | | | updated with added file, testpar/t_ph5basic.c Platforms tested: bin/chkmanifest Misc. update:
* [svn-r6709] Purpose:Albert Cheng2003-04-183-6/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fixes/API changes Description: Previously, the Communicator and Info object arguments supplied to H5Pset_fapl_mpio() are stored in the property with its handle values. This meant changes to the communicator or the Info object after calling H5Pset_fapl_mpio would affect the how the property list function. This was also the case when H5Fopen/create operated. They just stored the handle value. This is not according to the MPI-2 defined behavior of how Info objects should be handled. (MPI-2 defines Info objects must be parsed when called.) The old design was trying to avoid numerous duplicates of the same information (e.g., every property object holds one version, every file opened holds another version, when all of them are referring to the same original version.) Nevertheless it is safer to implement it according to MPI-2 definition. Futhermore, the library often needs to do message passing using the supplied communicator. Using the same communicator as the application version may result in some messages mix up. Solution: H5Pset_fapl_mpio now stores a duplicate of each of the communicator and Info object. H5Pget_fapl_mpio returns a duplicate of its stored communicator and Info object. It is now the responsibility of the applications to free those objects when done. H5Fopen/create also stores a duplicate of the communicator and Info object supplied by the File Access Property list. H5Fclose frees those duplicates. There are a few more internal VFL call back functions that they follow this "make duplicates" requirement. Platforms tested: "h5committested". What other platforms/configurations were tested? Eirene (mpicc), sol(mpicc), copper(parallel) Misc. update: Need to update MANIFEST for the added t_ph5basic.c which tests the correctness of duplicated communicator and INFO object.
* [svn-r6708] Purpose:Albert Cheng2003-04-181-43/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fixes/API changes Description: Previously, the Communicator and Info object arguments supplied to H5Pset_fapl_mpio() are stored in the property with its handle values. This meant changes to the communicator or the Info object after calling H5Pset_fapl_mpio would affect the how the property list function. This was also the case when H5Fopen/create operated. They just stored the handle value. This is not according to the MPI-2 defined behavior of how Info objects should be handled. (MPI-2 defines Info objects must be parsed when called.) The old design was trying to avoid numerous duplicates of the same information (e.g., every property object holds one version, every file opened holds another version, when all of them are referring to the same original version.) Nevertheless it is safer to implement it according to MPI-2 definition. Futhermore, the library often needs to do message passing using the supplied communicator. Using the same communicator as the application version may result in some messages mix up. Solution: H5Pset_fapl_mpio now stores a duplicate of each of the communicator and Info object. H5Pget_fapl_mpio returns a duplicate of its stored communicator and Info object. It is now the responsibility of the applications to free those objects when done. H5Fopen/create also stores a duplicate of the communicator and Info object supplied by the File Access Property list. H5Fclose frees those duplicates. There are a few more internal VFL call back functions that they follow this "make duplicates" requirement. Platforms tested: "h5committested". What other platforms/configurations were tested? Eirene (mpicc), sol(mpicc), copper(parallel) Misc. update:
* [svn-r6707] Purpose:MuQun Yang2003-04-171-1/+2
| | | | | | | | | | | | | | | | | | | | A compiling error fixed for windows only Description: Use file handler instead of file stream at H5FDstdio.c when using getfileHandle function of windows. Solution: see above, however; stdio driver tests failed on windows. I am still investigating the bug. The current check will not fix the failure of stdio driver test on windows. The good news is that it won't affect the release since the default driver used for test is sec2 driver and all tests passed for sec2 driver on windows. Platforms tested: windows 2000 and confirmed at Linux. Since the only change is two-line code inside #ifdef WIN32 #endif macro block, it is not necessary to test all UNIX platforms. Still confirmed at eirene. Misc. update:
* [svn-r6706] Purpose:Pedro Vicente Nunes2003-04-171-0/+3
| | | | | | | | | | | | | added test files for h5diff : Description: Solution: Platforms tested: Misc. update:
* [svn-r6705] Frank Baker2003-04-171-14/+146
| | | | | | | | | | | | | | Purpose: Add new functions. Rewrite existing function. Description: Added H5get_vfd_handle and H5get_obj_ids. Rewrote H5get_obj_count: function description was incomplete and 2 (of 3) parameters were missing. Platforms tested: Safari, IE 5
* [svn-r6704] Frank Baker2003-04-171-1/+68
| | | | | | | | | | | Purpose: Add new function. Description: Added H5set_free_list_limits. Platforms tested: Safari, IE 5
* [svn-r6703] Frank Baker2003-04-171-4/+42
| | | | | | | | | | | | | | | Purpose: Add new function Add note regarding intentionally undocumented function Description: Added H5Dget_offset. H5Ddebug -- Added note in HTML-coded comment that this function, while technically public, is not intended for public use and should not be listed in the RM. Platforms tested: Safari, IE 5
* [svn-r6702] Frank Baker2003-04-171-3/+44
| | | | | | | | | | | Purpose: Add new function Description: Added H5Iget_name. Platforms tested: Safari, IE 5
* [svn-r6701] Purpose:Pedro Vicente Nunes2003-04-173-0/+21
| | | | | | | | | | | | added the testfiles below Description: Solution: Platforms tested: Misc. update:
* [svn-r6700] Purpose:Pedro Vicente Nunes2003-04-174-5/+224
| | | | | | | | | | | | | | | | | added tests 1.7, 1.8, 1.9 described in the test matrix Description: Solution: Platforms tested: Linux/rockaway(C) SunOS/arabica (C) SGI/modi4 (C) Misc. update:
* [svn-r6699] Frank Baker2003-04-171-9/+5
| | | | | | | | | | | | | | Purpose: Removed reference to discontinued API Changes reflecting renamed section of RM Description: Removed reference to H5RA, ragged arrays. Made edits reflecting the H5Z change from "Compression" to "Filters & Compression." Platforms tested: Safari, IE 5
* [svn-r6698] Frank Baker2003-04-171-1/+7
| | | | | | | | | | | | | | | Purpose: Comment out functions not in R1.6 Description: Commented out these hyperslab functions since they are not "turned on" for Release 1.6: h5scombine_hyperslab_f h5scombine_select_f h5sselect_select_f Platforms tested: Safari, IE 5
* [svn-r6697] Frank Baker2003-04-171-80/+153
| | | | | | | | | | | | | | | | | | | | | | | Purpose: Add new function Add operands to 2 existing functions Comment out functions not in R1.6 Description: H5Sget_select_type -- Added new function. H5Sselect_hyperslab -- Added operands H5S_SELECT_AND, H5S_SELECT_XOR, and H5S_SELECT_NOTB, H5S_SELECT_NOTA. Reformatted part of Description source code, with minor copy-edits. H5Sselect_elements -- Added operands H5S_SELECT_APPEND, H5S_SELECT_PREPEND. Commented out these hyperslab functions since they are not "turned on" for Release 1.6: H5Scombine_hyperslab H5Scombine_select H5Sselect_select and the corresponding FORTRAN routines Platforms tested: Safari, IE 5
* [svn-r6696] Frank Baker2003-04-171-1/+225
| | | | | | | | | | | Purpose: Add new function Description: Added H5Pset_szip Platforms tested: Safari, IE 5
* [svn-r6695] Purpose:Pedro Vicente Nunes2003-04-1751-51/+346
| | | | test files
* [svn-r6694] Purpose:Pedro Vicente Nunes2003-04-173-511/+411
| | | | | | | | | | | | | | | | added some niceties and utilities, and more tests Description: some niceties: more error messages on cases of bad input utilities: some functions to more human readable output more tests: described in the test matrix Platforms tested: Linux/rockaway(C) SunOS/arabica (C) SGI/modi4 (C)
* [svn-r6693] Purpose:Pedro Vicente Nunes2003-04-171-0/+28
| | | | | | | | | | | | added more /tools/testfiles for h5diff Description: Solution: Platforms tested: Misc. update:
* [svn-r6692] Purpose:Albert Cheng2003-04-161-0/+9
| | | | | | | | | | | | | | | | feature. Description: Added the option of "setenv3" which sets the environment variable that has three components like env AR="ar -X 64". It is another kludge like setenv2. Got to code in a better 'setenv' option. Platforms tested: Copper (because its -64 compiling needs that AR set as above). Eirene (where it usually launches). Did not do h5committest which does not test bin/runtest. Misc. update:
* [svn-r6690] Robert E. McGrath2003-04-161-19/+17
| | | | | | | | | | | | | | | | | | Purpose: Fix bug in ntypes.c test. Description: Large arrays on stack break MacOSX Solution: Move arrays to static variables. Platforms tested: pommier sol modi4 Misc. update:
* [svn-r6689] Purpose:Quincey Koziol2003-04-162-19/+41
| | | | | | | | | | | | | | Bug fix. Description: The stdio filer driver is not reducing the file's size in the manner that the sec2 driver does. Solution: Copy code from the sec2 for handling this properly. Platforms tested: h5committested
* [svn-r6688] Purpose:Bill Wendling2003-04-161-0/+6
| | | | | | | | | | | | | | | | | Bug Fix Description: When using the STDIO driver, the dsets test would fail. Solution: Need to flush the data to disk before doing an HDopen call. Platforms tested: Modi4 (Parallel & Fortran) Arabica (Fortran) Verbena (Fortran & C++) Misc. update:
* [svn-r6687] Elena Pourmal2003-04-151-0/+0
| | | | | | | | | | | | | | | Purpose: Windows port for 1.5 branch Description: Projects files were not up-to-date; Fortran and C libraries, and tests would not build. Solution: Updated all projects and coresponding all_withf90.zip file Platforms tested: Windows 2000 Only static tests (both debug and release) passed on Windows. DLLs have multiple problems ;-) Misc. update:
* [svn-r6686] Elena Pourmal2003-04-151-2/+3
| | | | | | | | | | | | | | | | | Purpose: Windows port Description: Windows cannot convert from _uint64_t to double. One of the tests (test_set_local) used conversion to fill a data buffer. Compilation failed on Windows. Solution: Fixed the code not to use conversion Platforms tested: CRAY T90IEEE, arabica, modi4 with parallel, Windows 2000 Only static tests (both debug and release) passed on Windows. DLLs have multiple problems ;-) Misc. update: