summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r11245] Purpose:Quincey Koziol2005-08-13154-4410/+4410
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11242] Purpose:Quincey Koziol2005-08-131-2/+2
| | | | | | | | | | | | Code cleanup Description: Use enum type instead of int for datatype conversion exception callback routine. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11241] Purpose:Quincey Koziol2005-08-133-359/+175
| | | | | | | | | | | | | Code cleanup Description: Fix logic error in previous checkin and also finish refactoring I/O initialization, including simplifying all the collective & parallel cases into a more unified mechanism. Platforms tested: FreeBSD 4.11 (sleipnir) w/ & w/o parallel Linux 2.4 (mir)
* [svn-r11240] Purpose:Quincey Koziol2005-08-131-66/+82
| | | | | | | | | | | Bug fix Description: Fix logic error for non-parallel file I/O with library built for parallel I/O capability. Platforms tested: Linux 2.4 (mir) w/parallel
* [svn-r11236] Purpose:Quincey Koziol2005-08-132-426/+306
| | | | | | | | | | | | | | Code cleanup & bug fix Description: Refactor recent collective chunk changes to simplify them. Also, compute the number of chunks by checking the number of objects in the chunk skip list instead of getting the boundaries of the selection and counting the chunks that it overlaps, which is faster and computes correct number for certain selections. Platforms tested: FreeBSD 4.11 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r11235] Purpose:Quincey Koziol2005-08-124-525/+430
| | | | | | | | | | | | | Code cleanup Description: Refactor, simplify and cleanup Kent's recent checking for collective chunk I/O. There's a bug that I need to talk to Kent about and some more cleanups still, but this is reasonable for an interim point. Platforms tested: FreeBSD 4.11 (sleipnir) w/parallel Too minor for h5committest
* [svn-r11234] Purpose:Albert Cheng2005-08-111-0/+5
| | | | | | | | | | | | | | | bug fix. Description: The code for functions snprintf and vsnprintf ignored the size parameter. It could overflow the buffer. The two functions are supported by many platforms now. Disable the code and see what platform(s) still need it. Platforms tested: h5committested Misc. update:
* [svn-r11233] Purpose: Bug fixRaymond Lu2005-08-111-1/+1
| | | | | | | | | | | Description: In the macro H5T_CONV_Xx_CORE definition, one line said "} else if (*((ST*)S) < (D_MIN)) {". It caused problem on TFLOPS because it defines LLONG_MIN as a hexadecimal value instead of decimal value. Solution: Changed the line to "} else if (*((ST*)S) < (DT)(D_MIN)) {" to avoid the problem. (Need to change other similar places when time permits.) Platforms tested: fuss - simple change.
* [svn-r11231] Purpose:MuQun Yang2005-08-114-582/+652
| | | | | | | | | | | | | | | | | | | | | | | bug fix for collective chunk IO, phase 1 Optimization hasn't been done yet, the collective chunk IO bug should be fixed. Description: In chunking storage, memory space and file space will be remapped, So to check whether file space and memory space are regular in order to use optimized MPI derived datatype for collective call one has to check per-chunk wise instead of per hyperslab wise. Even a regular memory space will be stored in span-tree and will be irregular before chunk IO. Solution: 1. Check file space and memory space per chunk wise instead of per hyperslab wise. 2. For collective IO mode, number of chunks covered by hyperslab may be different. Since we are handing per chunk per IO, for the extra chunk IO for some(not all) processors, collective mode will cause program hanged. So for the extra chunk Io mode independent IO has to be used. 3. On some platforms, Complex MPI derived datatype is not working, so we have to use independent IO for collective IO mode if the selection is irregular. However, when the selection is regular, we do want to use collective IO since that will improve performance. Special cares have to be added for this case. Platforms tested: copper(AIX 5.1) Linux(heping mpich 1.2.6), Teragrid machine, Cobalt(altix), modi4 Misc. update:
* [svn-r11229] Purpose:Quincey Koziol2005-08-103-6/+11
| | | | | | | | | | | | | | | | Big fix Description: A group opened by dereferencing a object reference would not work for H5Giterate(), due to the local heap & B-tree information not being cached. Solution: Get the local heap & B-tree info & point to that structure instead of the group entry for the group. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11228] Purpose:Quincey Koziol2005-08-101-0/+4
| | | | | | | | | | | Code cleanup Description: Add a check for the correct type of ID for H5Eclose_stack() Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11222] Purpose:Albert Cheng2005-08-091-0/+3
| | | | | | | | feature Description: Add the test for tmpfile. If it does not exist, compile in our own version (which always returns NULL for now.)
* [svn-r11219] Purpose:Quincey Koziol2005-08-085-149/+104
| | | | | | | | | | | | Code cleanup Description: Bring some of the cleanups from the external link coding (which isn't checked in yet) back into CVS as an intermediate checkin. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11215] Purpose:Quincey Koziol2005-08-087-252/+327
| | | | | | | | | | | | | Bug fix & code cleanup Description: Fix another bug in the file mounting code and refactor the unmount code that it is simpler. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 Too minor to require h5committest
* [svn-r11213] Purpose:Albert Cheng2005-08-081-7/+2
| | | | | | | | | | | | | | | | | | | Bug fix and improvement. Description: The test output were not displayed for parallel tests. The serial tests output were always displayed whether the test was actually ran this time or not. Solution: Moved the display of test output inside the target where the actual tests are run. Platforms tested: Tested in heping using pp and fortran.
* [svn-r11208] Purpose:Albert Cheng2005-08-081-55/+63
| | | | | | | | | | | | | | | | | | | Bug fix and code minor cleanup. Description: The attempt to redirect stderr together to the log files were done in the wrong order such that stderr output goes to where stdout WAS. Fixed that. Code minor cleanup--use shell variables to hold the name of the log file and the test instead of generating them repeatedly. This makes easier code reading, less crowded and avoid typos. Only conclude.in is changed. The Makefile.in changes are all derived from automake. Platforms tested: h5committested.
* [svn-r11204] Snapshot version 1.7 release 50HDF Admin2005-08-072-3/+3
|
* [svn-r11198] Purpose:Albert Cheng2005-08-041-4/+4
| | | | | | | | | | | | | upgrade. Description: Changed all appropriate error stack calls to the new HSYS_ERROR macro call in order to push system error message to the stack too. Platforms tested: heping. Misc. update:
* [svn-r11196] Purpose:Quincey Koziol2005-08-042-4/+3
| | | | | | | | | | | | Code tweak Description: Add in a couple of minor changes from Elena's version of pushing the system error information on the error stack. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11195] Purpose:Albert Cheng2005-08-047-2/+43
| | | | | | | | | | | | | | | Feature. Description: Added HSYS_ERROR macro to retrieve and push system error message to the error stack. Added the related H5E_SYSERRSTR error code. This allows system error messages be shown to users too. Thus give a better explanation of what the errors are. Platforms tested: h5committested.
* [svn-r11185] Purpose:James Laird2005-08-022-10/+12
| | | | | | | | | | | | | | | Makefile feature Description: 'make check-clean' now cleans *.h5 files created by tests as well as .log and .chkexe files. Solution: check-clean is now a separate target in its own right, which cleans less than mostlyclean (check-clean < mostlyclean < clean < distclean). Platforms tested: mir, heping, modi4 (serial and parallel)
* [svn-r11179] Purpose:James Laird2005-08-011-8/+16
| | | | | | | | | | | | | | | | | | | Feature: check-clean target Description: 'make check-clean' cleans up output files from tests. Solution: Tests create foo.chkexe and foo.log files. Scripts create foo.chksh and foo.logsh files. 'make check-clean' will clean these files up so that the tests can be re-run. Also suppressed some not-very-useful output of Makefiles when it would echo commands. Platforms tested: mir, sleipnir, modi4 Misc. update:
* [svn-r11176] Purpose:Quincey Koziol2005-07-303-47/+29
| | | | | | | | | | | | | | | Bug fix Description: Correct problems when querying information about a group that was opened by dereferencing an object reference. Solution: Read in symbol table information instead of rely on it being cached. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11148] Snapshot version 1.7 release 49HDF Admin2005-07-242-3/+3
|
* [svn-r11145] Purpose:Quincey Koziol2005-07-232-18/+31
| | | | | | | | | | | | | | | | Bug fix Description: If a named datatype is copied and the copy is used to create a dataset, the dataset would inadvertantly refer to the original named datatype instead of a local (possibly modified) copy of the named datatype. Solution: Fixed datatype copying routine. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11144] Purpose:Quincey Koziol2005-07-239-32/+193
| | | | | | | | | | | New port Description: Elena asked me to check in her NEC SX-6 work, so here it is! :-) Platforms tested: FreeBSD 4.11 (sleipnir) NEC SX-6 (by Elena)
* [svn-r11108] Purpose:Fang Guo2005-07-221-2/+31
| | | | | | | | | | | Improvement Description: Add high level c c++ and fortran dll and tests on windows Solution: Platforms tested: MSVS 6.0 on Winodows XP, cygwin,heping and copper Misc. update:
* [svn-r11107] Purpose:Quincey Koziol2005-07-221-8/+18
| | | | | | | | | | | | | Optimization Description: Switch some internal error API data structures over to using H5FL* routines for memory management (instead of malloc/free), in order to reduce abuse of operating system's memory allocation code. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11104] Purpose:Quincey Koziol2005-07-221-5/+5
| | | | | | | | | | | | | Bug fix Description: C++ compiler doesn't like 'new' as a variable name. Solution: Changed to "new_shared" Platforms tested: Trivial - just eyeballed it.
* [svn-r11095] Purpose:James Laird2005-07-211-16/+53
| | | | | | | | | | | | | | | | | | | | | | Configuration feature Description: Serial test output is now stored in log files and printed when all tests in a directory complete, or when a test fails. This should make test output more readable and useful. Also made changes to clean up ii_files directories that are created by some C++ compilers/linkers. Also fixed a few minor Makefile bugs. Solution: When serial tests run, their output is saved in *.log or *.logsh. While running, tests only print when they begin and when they complete; their more specific output (from the log file) is printed if the test fails or when all tests have completed. Comments welcome. Platforms tested: mir, modi4 (parallel and serial), copper, shanti
* [svn-r11093] Purpose:Quincey Koziol2005-07-2113-553/+674
| | | | | | | | | | | | Bug fix Description: Rewrite code for mounting files to clean up layers of kludges and implement a much cleaner and more maintainable design. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4
* [svn-r11088] Purpose:MuQun Yang2005-07-191-0/+4
| | | | | | | | | | | | | | | | | | support thread-safe on windows Description: pthread on windows won't return a numeric value from pthread_safe. An error message applying on linux won't apply on windows, Print some other message. Solution: Platforms tested: windows xp, too minor to test at other platforms. Misc. update:
* [svn-r11087] Purpose: Bug fix.Raymond Lu2005-07-191-0/+4
| | | | | | | | | | | | | | Description: When converting floating-point numbers to integers and the values of floating-point number are greater than the maximal value of integer, Cray X1 generates floating exception. Solution: Added a test in configure to detect Cray X1's exception. Set a flag to indicate the machine that can handle overflow converting all floating-point to all integer types. This flag should be set for all machines, except for Cray X1 where floating exception is generated when the floating-point value is greater than the maximal integer value. Platforms tested: Cray X1 and h5committest.
* [svn-r11081] Snapshot version 1.7 release 48HDF Admin2005-07-182-3/+3
|
* [svn-r11078] Purpose:Quincey Koziol2005-07-1710-26/+40
| | | | | | | | | | | | | | | Bug fix Description: Correct memory leak when a dataset is attempted to be opened, but turns out to be a group or named datatype. Also, clean up code that was leading to the leak and zero out empty group entries to help prevent similar errors in the future. Platforms tested: FreebSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11077] Purpose:Quincey Koziol2005-07-163-8/+32
| | | | | | | | | | | | Bug fix Description: Further progress on fixing file mounting to work properly. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 Too minor to require h5committest
* [svn-r11073] Purpose: Small bug fixElena Pourmal2005-07-141-1/+1
| | | | | | | | | | | Description: On VMS assertion failed due to a typo ("/" instead of "%") Solution: Fixed a typo Platforms tested: VMS (code is not exercised on other platforms) Misc. update:
* [svn-r11057] Purpose:Quincey Koziol2005-07-093-3/+57
| | | | | | | | | | | | | | | Bug fix Description: Correct error where the dataset sieve buffer was inadvertantly disabled, resulting in poor raw data I/O performance for certain I/O patterns. Solution: Hook dataset sieve buffer size setting back up. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r11055] Purpose: Add comment.Raymond Lu2005-07-081-1/+10
|
* [svn-r11054] Purpose: Bug fix.Raymond Lu2005-07-081-1/+24
| | | | | | | | | | | | | | | | | Description: There was a bug in the calculating code of the Fletcher32 checksum in the library before v1.6.3. The checksum value wasn't consistent between big-endian and little-endian systems. This bug was fixed in Release 1.6.3. However, after fixing the bug, the checksum value is no longer the same as before on little-endian system. Solution: Made the library compare both the correct checksum and incorrect checksum generated from v1.6.2 or before. This makes the library be backward compatible but not forward compatible. Platforms tested: h5committest and fuss. Misc. update: Documented the forward incompatibility problem in the Known Problem section in RELEASE.txt
* [svn-r11042] Purpose:Quincey Koziol2005-07-071-7/+7
| | | | | | | | | | | | | | | | | | Bug fix Description: The ".chksh" file for a test script was being created in the "source" location rather than the build location. This can cause problems when multiple builds are running because "slower" machines will see the ".cshsh" file from faster machines and will not run the test script as they should. Solution: Use 'basename' command to strip off the path of the script and create the ".chksh" file in the build location. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r11034] Purpose:Albert Cheng2005-07-071-4/+2
| | | | | | | | | | | | | | | | | bug fix. Description: -nt is not a universal option for the test command in all platforms. The use of it in conclude.am cause some platforms to bark at the Makefile generated. Solution: Created a command script bin/newer which tests if file1 is newer than file2. Replace the "test file1 -nt file2" by "newer file1 file2". Platforms tested: Tested in sol.
* [svn-r11031] Purpose:Quincey Koziol2005-07-0613-12/+1910
| | | | | | | | | | | | | New feature Description: Initial checkin of B+ Tree code. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest Misc. update:
* [svn-r11022] Purpose:Quincey Koziol2005-07-059-1164/+1456
| | | | | | | | | | | | | | | | | | | | Bug fix & code cleanup Description: Don't unmount child files from a parent file if the parent file is being held open by an object. Also, moved the mounting routines into their own source file and the superblock routines into their own file also. Solution: Moved the code for unmounting child files down in the H5F_close routine and also add checks to the file and group mounting code to unmount child files when the last object holding open a file closes. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r11019] Purpose: Add detectionRaymond Lu2005-07-051-21/+0
| | | | | | | | | | | Description: pgcc version 6.0x have optimization (-O, -O2, or -O3) problem. It caused multi driver test to fail. The problem happened in a macro definition. Solution: Detect these versions and add option "-Mx,28,0x8" to the compiler to avoid the problem if optimization is enable. Platforms tested: mir and fuss - simple change.
* [svn-r11014] Purpose:Quincey Koziol2005-07-0227-726/+437
| | | | | | | | | | | | Code cleanup Description: Refactor metadata cache to merge "dirtied" flag in with other flags for H5AC_unprotect and H5C_unprotect. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r11013] Purpose:James Laird2005-07-011-7/+7
| | | | | | | | | | | | | | | | | | Bug fix Description: Fixed bugs that caused tests to be unable to find testhdf5.sh during daily tests, and another that broke sol and shanti. Solution: When tests are run, their path is ./$testname . When scripts are run, their path has no leading "./". Fixed. Sol and shanti don't recognize the -e option for test, but they do know -f. Fixed. Also modified release notes. Platforms tested: mir, shanti, heping
* [svn-r11009] Purpose:Quincey Koziol2005-07-011-1/+52
| | | | | | | | | | | | | | | | | | Bug fix Description: When a series of files is mounted on one another and one of those files is not unmounted, the library gets confused at shutdown and goes into an infinite loop in the file interface. Solution: If there are still files left in the "closing" state when shutting down the file API, iterate over those file IDs and unmount any child files that we find mounted on those files. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11008] Purpose:James Laird2005-06-302-91/+84
| | | | | | | | | | | | | | | | | | | | | | Feature: tests now use parallel make and only run once Description: When make is invoked in parallel (using the -j option), several tests will now be run simultaneously. This should speed up testing on a number of systems. When a test passes, it creates a foo.chkexe or foo.chksh file, which prevents the test from running again unless the test or library changes. Solution: Most of the changes live in config/conclude.am. Added *.chkexe and *.chksh files to the list of files to be cleaned at "make mostlyclean" time. Parallel tests still run one at a time, but use the same make instructions as serial tests. Platforms tested: mir, eirene, sleipnir, pommier, copper, modi4 (some errors occurred, probably due to the test being run before updating hdf5. Will re-run tests after checkin.)
* [svn-r11001] Purpose: Add more comment.Raymond Lu2005-06-291-1/+2
|