summaryrefslogtreecommitdiffstats
path: root/testpar/t_chunk_alloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Mostly whitespace in testpar, addl changes for tmp dirAllen Byrne2019-08-151-80/+79
|
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* [svn-r25963] Do not remove the prefix in the chunk alloc file, otherwise it ↵Mohamad Chaarawi2015-01-081-1/+1
| | | | | | | | makes the H5Fcreate fail when prefix is specified. tested parallel on Jam.
* [svn-r25503] - fix bug in encode/decode plist parallel test when 1 proccess ↵Mohamad Chaarawi2014-08-011-8/+13
| | | | | | is used to run the test. - fix warning in t_chunk_alloc.
* [svn-r25397] - remove configure checks for MPI_File_get_size and BigMohamad Chaarawi2014-07-071-14/+0
| | | | | MPI_File_set_size as they are supported by most MPI implementations. - fix bug in t_mpi.c (HDFFV-8856)
* [svn-r21334] HDFFV-7687: add HD macro prefrix to functions and use h5_stat_t ↵Allen Byrne2011-08-301-2/+2
| | | | | | where necessary reviewed
* [svn-r18197] Description:Quincey Koziol2010-01-301-1/+1
| | | | | | | | | Trim trailing whitespace from source code files with this command: find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//' Tested on: None - eyeballed only
* [svn-r16723] Modified dset and t_chunk_alloc tests to use dataset dimensions ↵Christian Chilan2009-04-091-14/+4
| | | | | | that are multiples of the number of processors. Tested on jam and abe.
* [svn-r16683] Minor change in comments.Christian Chilan2009-04-071-1/+1
|
* [svn-r16659] Modified dset and t_chunk_alloc tests to use dataset dimensions ↵Christian Chilan2009-04-021-50/+72
| | | | | | that are multiples of the number of processors. Tested on jam and abe.
* [svn-r16560] Description:Quincey Koziol2009-03-101-12/+5
| | | | | | | | | | Remove another call to H5E_clear_stack() from within the library. Clean up lots of compiler warnings. Tested on: Mac OS X/32 10.5.6 (amazon) (followup on other platforms forthcoming)
* [svn-r14199] Description:Quincey Koziol2007-10-111-28/+16
| | | | | | | | | | | | | | | | | | | | | Add H5Dcreate to API versioned routines, replacing internal usage with H5Dcreate2 Fix thread-safe error stack initialization for API versioned error stack printing routines. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14193] Description:Quincey Koziol2007-10-081-2/+2
| | | | | | | | | | | | | | | | | | | Make H5Dopen versioned and change all internal usage to use H5Dopen2 Add simple regression test for H5Dopen1 Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14192] Description:Quincey Koziol2007-10-081-1/+1
| | | | | | | | | | | | | | | | | | Deprecate H5Dextend in favor of H5Dset_extent (without using API versioning, due to changed behavior) and switch internal usage to H5Dset_extent Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r13829] Some systems (only SGI Altix ProPack 4 discovered so far) ↵Raymond Lu2007-06-021-0/+14
| | | | | | | | | | | | doesn't return correct file size from MPI_File_get_size. Bypass this problem by replacing it with stat. Add an option --disable-mpi-size in configure to indicate this function doesn't work properly. Add a test in testpar/t_mpi.c, too. If it returns wrong file size, print out a warning. Tested on kagiso (parallel) because already tested the same change to v1.6 on several platforms (kagiso, cobalt, copper, and sol).
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r12440] Purpose:Quincey Koziol2006-06-271-17/+17
| | | | | | | | | | | Code cleanup Description: Trim trailing whitespace in Makefile.am and C/C++ source files to make diffing changes easier. Platforms tested: None necessary, whitespace only change
* [svn-r12407] Purpose:Albert Cheng2006-06-061-3/+3
| | | | | | | | | | slight cleanup. Description: Changed the name of write type from write to write_pattern. Platforms tested: h5committested.
* [svn-r12405] Purpose:Albert Cheng2006-06-061-86/+38
| | | | | | | | | | | | | | Bug fix. Description: It failed when only 1 is used to test. Solution: Cleanup the code a little so that it works for any number of processes to invoke it. Platforms tested: h5committested,
* [svn-r12396] Purpose:Albert Cheng2006-06-011-2/+3
| | | | | | | | | | | | | | Bug fix. Description: Sometimes the parallel prefix is given in the form of nfs:/mnt/pfs which if given to a non-MPIO VFD like the default H5Fcreate, it would fail. Called h5_rmprefix which would return the non-prefix component part of the file name which would be okay for the default H5Fcreate and such. Platforms tested: Tested in heping parallel.
* [svn-r12380] Purpose:Albert Cheng2006-05-261-43/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Feature (Code and tests are done by Christian. I just committed the code.) Description: Rewrote the purpose of this test. Now it tests these three cases, /* * Test following possible scenarios, * Case 1: * Sequential create a file and dataset with H5D_ALLOC_TIME_EARLY and large * size, no write, close, reopen in parallel, read to verify all return * the fill value. * Case 2: * Sequential create a file and dataset with H5D_ALLOC_TIME_EARLY but small * size, no write, close, reopen in parallel, extend to large size, then close, * then reopen in parallel and read to verify all return the fill value. * Case 3: * Sequential create a file and dataset with H5D_ALLOC_TIME_EARLY and large * size, write just a small part of the dataset (second to the last), close, * then reopen in parallel, read to verify all return the fill value except * those small portion that has been written. Without closing it, writes * all parts of the dataset in a interleave pattern, close it, and reopen * it, read to verify all data are as written. */ Platforms tested: Tested in copper, tg-ncsa and heping, all in parallel mode.
* [svn-r11349] Purpose:Albert Cheng2005-09-051-25/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix. Description: Some tests showed the filesize was not as expected. But the error was intermittent. This was a racing condition as some processes finish extend_chunked_dataset() sooner than others and return to the main body which proceeds to call the next test which also uses the same test data file and alters it. That messes up the "slower" processes which then see unexpected filesize. Also, the routine create_chunked_dataset() which creates test data file actually was executed by all processes. That is wrong. Solution: Added a barrier at the end of extend_chunked_dataset to make sure all processes are done with the test data file before returning. Changed create_chunked_dataset such that only one process would create the test data file. The rest does nothing but just wait for it to finish. Platforms tested: Tested in TG-NCSA in which the errors were detected. Misc. update:
* [svn-r11339] Purpose:Albert Cheng2005-09-021-59/+43
| | | | | | | | | | | | | | | Bug fix #281 Description: Committed a wrong copy in the previous checkin. Solution: Checked in the right one and did some code cleanup, rearrangment. Platforms tested: heping pp. Misc. update:
* [svn-r11312] Purpose:Albert Cheng2005-08-301-0/+194
Bug #281 Description: A dataset created in serial mode with H5D_ALLOC_TIME_INCR allocation setting was not extendible, either explicitly by H5Dextend or implicitly by writing to unallocated chunks. This was because parallel mode expects the allocation mode be H5D_ALLOC_TIME_INCR only. Solution: Modified library to allocate more space when needed or directed if the file is opened by parallel mode, independent of what the dataset allocation mode is. Platforms tested: Heping pp.