Commit Graph

49 Commits

Author SHA1 Message Date
Marc Howison 0de2f00b08 fixed H5PartGetNumParticles to correctly count indexed views; added type parameter to H5BlockGetFieldInfo/ByName 2010-02-11 22:28:49 +00:00
Marc Howison 46574c2482 fixed bug in strided selection; added examples dir with a strided write Fortran program (more examples to come...) 2010-02-11 17:34:50 +00:00
Marc Howison 2bb96c6f69 updated NEWS with details about 1.6 changes; changed hsize_t type in H5PartSetViewIndices; fixes to the build system; fixed bugs that were preventing the use of H5PartSetView during writes; added open object checks to regression test 2010-02-10 23:33:32 +00:00
Marc Howison 181c03008f major changes in preparations for 1.6 release: will add details to CHANGES 2010-02-10 01:02:14 +00:00
Marc Howison 7c4126c2c8 integrated changes to iterators from Allen; refactored the HDF 1.6 vs. 1.8 API #ifs 2010-01-14 21:25:29 +00:00
Marc Howison 90c6032c34 fixed type id leaks found by Allen 2010-01-11 21:29:26 +00:00
Marc Howison f40afd9670 fixed H5Oget_info() bug from Allen 2010-01-11 20:37:05 +00:00
Marc Howison c8b49c520f fixed attribute read functions to use string type 2010-01-06 00:12:55 +00:00
Marc Howison a65e9586c5 fixed string attribute bug reported by Allen Sanderson 2010-01-05 23:26:23 +00:00
Marc Howison 3c6065e2f9 flags are now stored in H5PartFile struct; added the 'throttle' as a runtime parameter instead of a compiler flag; merged H5Bench into the tests suite; compiles but need to perform regression tests 2009-10-16 22:37:20 +00:00
Marc Howison c3cd4d7c99 set collective mode as default for H5Part 2009-10-12 22:13:19 +00:00
Marc Howison d149d8a5dd added write throttling for large concurency jobs with MPI-POSIX VFD 2009-09-10 02:49:59 +00:00
Marc Howison 8dac86872b added a proc shift option to H5MultiBlock, used in I/O benchmarking to defeat caching 2009-08-30 18:02:04 +00:00
Marc Howison 1b8073b82b added API calls for int32 and float32 step attribs 2009-08-18 15:47:50 +00:00
Marc Howison cd0391db7e added a test for existing datasets to write calls 2009-07-06 21:07:30 +00:00
Marc Howison 13d7784c44 added file open flags for Fortran interface 2009-07-02 18:22:30 +00:00
Marc Howison 0e853656cd * fixed bug in h5bl_defin3dchunkdims call that was using variables addresses ins
* added new MultiBlock module that is used for efficiently loading regular
rectilinear grid blocks (using chunking) and handling ghost zones in a
distributed-memory environment
** still need to add the "halo exchange" routine for reshuffling ghost regions
** performed some basic testing of read/write functionality

~Mark
2009-06-24 18:11:39 +00:00
Marc Howison 3d1ed0e92a found incorrect == comparison with read flag; replaced with & 2009-06-19 22:34:22 +00:00
Marc Howison b5e3756f57 fixed bug in H5Gopen2 where I was using the wrong group id 2009-06-19 18:34:57 +00:00
Marc Howison 122e913f08 Merged changes from LBL, including:
* read/write call variants for different datatypes
* HDF5 properties tuned for lustre filesystems and the Cray XT (enabled using flags passed during file open)
* HDF5 chunking for field data
* HDF5 alignment (set during file open)
* support for both HDF5 1.6 and 1.8 using #if statements
* a new error reporting level: debug_detail (HDF5 errors are now printed at debug level 1 by default)

These changes have undergone limited testing.
I will begin using this version for my H5Part projects so that I can test it more thoroughly.

~Mark
2009-06-18 20:29:02 +00:00
gsell b191ac7a6a src/H5Part.c
- H5PartDefineStepName()
	* type cast 'width'
- _H5Part_iteration_operator()
	* type cast error return
- _H5Part_get_object_name()
	* type cast of arg 'idx' and 'len_obj_name' added
- H5PartGetDatasetInfo()
	* type of 'herr' changed from 'herr_t' to 'h5part_int64_t'
- _get_diskshape_for_reading()
 	* 'CHECK_FILEHANDLE()' removed
	* type cast error return to 'hid_t'
- _get_memshape_for_reading()
 	* 'CHECK_FILEHANDLE()' removed
	* type cast error return to 'hid_t'
2007-07-12 09:15:21 +00:00
gsell 356f7149c5 src/H5Part.c
- _read_data()
	* type error fixed
- H5PartAbortErrorHandler()
	* type cast exit code
- H5PartSetVerbosityLevel()
	* type cast 'level' to 'unsigned int'
2007-07-11 15:34:15 +00:00
gsell a0dd21b79e src/H5Part.c
- _H5Part_set_step()
	* revert use of 'snprintf()' (Windows doesn't have it!)
2007-07-11 15:10:06 +00:00
gsell 08ce0ee46a src/H5Part.c
- _H5Part_get_attrib_info():
	* type cast 'attrib_type' in call to '_H5Part_write_attrib()'
- H5PartWriteStepAttrib()
	* change type of 'herr' to 'h5part_int64_t'
	* type cast 'attrib_type' in call to '_H5Part_write_attrib()'
- H5PartWriteFileAttrib()
	* change type of 'herr' to 'h5part_int64_t'
	* type cast 'attrib_type' in call to '_H5Part_write_attrib()'
- H5PartGetStepAttribInfo()
  H5PartGetFileAttribInfo()
  H5PartReadStepAttrib()
  H5PartReadFileAttrib()
	* change type of 'herr' to 'h5part_int64_t'
- _H5Part_set_step()
	* use 'snprintf()' instead of 'sprintf()'
2007-07-11 15:06:49 +00:00
gsell 74a31f9b8f src/H5Part.c
- several implicit type conversions fixed
2007-07-11 14:37:39 +00:00
Kurt Stockinger 4f870ccbf7 Fixed H5PartGetDatasetInfo. 2007-06-27 23:12:51 +00:00
Kurt Stockinger b64ddd03d1 Added MPI-IO for large block I/O + switch for COLLECTIVE/NON-COLLECTIVE IO. 2007-06-08 17:02:17 +00:00
gsell df627138dc src/H5Part
* _H5Part_open_file()
	- set f->comm to 0 in serial caseI_COMM_WORLD;
2007-06-06 09:29:04 +00:00
gsell 3ae60f8e46 src/H5Part.c
- _H5Part_open_file()
		* allocate mem for pnparticles in any case
	- H5PartHasStep()
		* function added
2007-05-17 16:28:24 +00:00
gsell 825322c576 src/H5Part.c
- some type-casts added
	- internal error variable '_errno' renamed to '_h5part_errno'
2007-05-10 19:18:00 +00:00
Kurt Stockinger 00c9b0804b Updated doxygen information. 2007-04-19 21:43:57 +00:00
gsell 4144c2b696 src/H5Part.c
* H5PartOpenFileParallel()
		- MPI hints removed, they are useless
		- delegate real work to new function "_H5Part_open_file()"
	* H5PartOpenFile()
		- delegate real work to new function "_H5Part_open_file()"
	* _H5Part_open_file()
		- new function perfoming the real work
		- set step name and number format in file structure
	* H5PartDefineStepName()
		- new function to define step name and format of step number
	* _H5Part_set_step()
	* H5PartGetNumDatasets()
	* H5PartGetDatasetName()
	* H5PartGetDatasetInfo()
	* _H5Part_get_num_particles()
		- use step name und step number format defined in file struct
2007-04-19 10:15:34 +00:00
adelmann 92e057e4cf Add MPI IO hints according to the Benchmark.c program by R. Geus given to me by Valerie 2007-02-13 04:30:55 +00:00
gsell 9974b6b44c srv/H5Part.c
_H5Part_get_attrib_info():
		- code optimization
2007-01-25 13:09:42 +00:00
gsell 4dd379ff2f src/H5Part.c
_H5Part_iteration_operator():
		- call H5Gget_objinfo() only if type != H5G_UNKNOWN
	H5PartGetNumSteps():
		- count all objects beginning with H5PART_GROUPNAME_STEP
		  not only groups
2006-12-06 10:50:26 +00:00
gsell b105b19d4d src/H5Part.c
- _set_view(): "end" is now inclusive
2006-12-02 17:53:32 +00:00
gsell 712bbf30b2 src/H5Part.c
- doxygen group "h5part_api" renamed to "h5part_c_api"
	- default error-handler renamed to "H5PartReportErrorHandler"
	- macro "H5PART_PARTICLES_GROUP" replaced with "H5PART_GROUPNAME_STEP"
2006-10-27 15:00:13 +00:00
gsell e4c712e067 src/H5Part.c
- _H5Part_set_step()
		* was static is public now
2006-09-27 04:42:09 +00:00
gsell 353689b4eb src/H5Part.c
- grouping function in doxygen groups
2006-09-26 23:33:04 +00:00
gsell bef9820f71 src/H5Part.c
- H5PartSetNumParticles()
		* fix undeclared var error in parallel code
	- _set_step()
		* renamed to "_H5Part_set_step()"
2006-09-25 23:01:28 +00:00
gsell 6e32226992 src/H5Part.c
- use "-1" to indicate an uninitialized "timegroup" in "H5PartFile"
	  a valid "timegroup" is greater or equal zeros
	- _set_step()
		* added, derived from "H5PartSetStep()"
	- H5PartSetStep()
		* call "_set_step()" to do the real work
	- _H5Part_get_num_particles()
		* added, derived from "H5PartGetNumParticles()"
	- H5PartGetNumParticles()
		* call "_H5Part_get_num_particles()" to do the real work
	- H5PartSetNumParticles()
		* use new function "_set_step()" instead of "H5PartSetStep()"
		* print no extra error message if "_set_step()" returns
		  with an errror
	- _reset_view()
		* added, derived from "H5PartSetView()"
	- H5PartResetView()
		* added, was a macro before
	- H5PartHasView()
		* added, was a macro before
	- _set_view()
		* added, derived from "H5PartSetView()"
		* "#ifdef HDF5V160" block removed
	-  H5PartSetView()
		* call "_set_view()" to do the real work
	- H5PartGetView()
		* use vars "viewend" and "viewstart" to instead "range[0]"
		  and range[1]
		* call "_set_step()" if timegroup not initialized
	- H5PartSetCanonicalView()
		* check whether we are in read-only mode replaced with macro
		* "_reset_view()" used instead of "H5PartSetView(f,-1,-1)
2006-09-25 20:05:47 +00:00
gsell 06530aff19 src/H5Part.c
- H5PartSetStep()
		* fix conversion to different size in debug output
2006-09-22 22:44:08 +00:00
gsell 1b15551170 src/H5Part.c
- declare arguments as "const" where possible
2006-09-22 20:55:23 +00:00
gsell f698ae762e src/H5Part.c
- H5PartOpenFileParallel()
		* debug-print info about file also in non-parallel case
		* print value of "f" not "f->file" 
	- H5PartOpenFile()
		* print value of "f" not "f->file"
2006-09-21 21:23:28 +00:00
gsell 523c2ae212 src/H5Part.c
- H5PartSetVerbosityLevel()
		* type of arg "level" changed from "unsigned int" to
		  "h5part_int64_t"
2006-09-20 20:57:04 +00:00
gsell c892a7c748 src/H5Part.c
- use macro "H5PART_PARTICLES_GROUP" insteed of string
	- print_{debug,info,warn,error}()
		* prints now a prefix "D", "I", "W", "E" corresponding to
		  type of message
		* print value of "__funcname" before message text
		* print everything in one print statment
		* all calls to these functions have been change accordingly
2006-09-20 18:00:46 +00:00
gsell dddeaeba27 - src/H5Part.c
- H5PartOpenFileParallel()
		* in the parallel code there were some not yet
		  renamed calls to "print_debug()"
	- H5PartSetStep()
		* in the parallel code there was a not yet
		  renamed call to "print_info()"
2006-09-14 18:23:11 +00:00
gsell 0975564af3 src/H5Part.c
- H5PartWriteFileAttrib()
		* return code of "_H5Part_write_attrib()" was not assigned
		  to "herr"
	- H5PartSetView()
		* var "r" to handle error renamed to "herr" and changed
		  to type "h5part_int64_t"
2006-09-14 16:56:29 +00:00
gsell 41511462f9 repo migration 2006-09-11 20:19:10 +00:00