Commit Graph

123 Commits

Author SHA1 Message Date
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 d8ce890902 src/H5Block.c
_normalize_partition()
	* wrong type for 'x' fixed
_open_block_group()
_open_field_group()
	* 'herr' type error fixed
_select_hyperslab_for_reading()
	* 'herr' type error fixed
	* type cast boundaries to 'hsize_t'
_create_field_group()
	* 'herr' type error fixed
H5BlockWriteFieldAttrib()
	* type cast 'attrib_type' to 'hid_t'
H5Block3dSetFieldOrigin()
H5Block3dGetFieldSpacing()
	* type cast 'H5PART_FLOAT64' to 'hid_t'
2007-07-12 09:50:42 +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 7085e22448 src/H5PartTypes.h
- revert last change
2007-07-11 14:58:20 +00:00
gsell 74a31f9b8f src/H5Part.c
- several implicit type conversions fixed
2007-07-11 14:37:39 +00:00
gsell a38a56865f src/H5PartTypes.h:
- change type 'stepno_width' in 'struct H5PartFile' from 'int' to
  'h5part_int64-t'
2007-07-11 14:35:51 +00:00
gsell 43ff5d2ca0 src/H5PartF90.inc
- declarations for open in append mode functions added
2007-06-29 10:02:04 +00:00
gsell 8080f5e2e5 src/H5PartF.c
- h5pt_opena() open in append mode added
- h5pt_opena_par() open in append mode paralell version added
2007-06-29 10:01:06 +00:00
Kurt Stockinger 4f870ccbf7 Fixed H5PartGetDatasetInfo. 2007-06-27 23:12:51 +00:00
gsell e6364c637d src/H5BlockF.c
* correct macro definition of FORTRAN library names for field spacing/origin attribute
2007-06-16 21:35:37 +00:00
gsell 28c0ac78ad src/H5BlocF90.inc
* declaration of h5bl_3d_{g,s}et_field_origin() added
2007-06-14 15:13:26 +00:00
gsell a642074d85 src/H5Block.c
* Attribute name for field spacing renamed from "Spacing" to "__Spacing__"
* Attribute name for field origin renamed from "Origin" to "__Origin__"
2007-06-14 15:12:22 +00:00
gsell e962caf1b9 src/H5BlockF.c
* h5b_3d_set_field_origin() and h5b_3d_get_field_origin() added
* wrong types in h5b_3d_{g,s}et_field_spacing fixed
2007-06-14 15:10:37 +00:00
gsell 8cad5e3aea src/H5BlockF.c
* h5b_3d_set_field_spacing() and h5b_3d_get_field_spacing() added
2007-06-13 12:33:38 +00:00
gsell a2dfad7b69 src/H5BlockF90.inc
* Declarations to set/get field spacing functions added
2007-06-13 12:32:33 +00:00
gsell 655511a02a src/H5Block.c
* Documentation added
2007-06-12 09:59:35 +00:00
gsell 0231ece31b src/H5Block.h
* Obsolete declarations removed
2007-06-12 08:40:58 +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
Kurt Stockinger 4956504d17 Fixed dataset name in _get_field_info 2007-06-06 23:47:27 +00:00
gsell e4c8f743ae src/H5Block.c
* doxygen documentation added
2007-06-06 09:30:05 +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 c43f785ab0 src/H5Block.c
- more doxygen doc added
2007-05-17 16:30:37 +00:00
gsell e1a18b62e2 src/H5Part.h
- function H5PartHasStep() added
2007-05-17 16:29:08 +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 ae9fd98dac src/H5PartTypes.h
- "typdef" typo fixed in WIN32 section
2007-05-11 16:05:59 +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
gsell 58bd753fad src/H5Block.c
- type cast all malloc's
2007-05-10 19:15:22 +00:00
gsell 904e609377 src/H5Part.h
- don't wrap system include files in 'extern "C"'
2007-05-10 19:13:36 +00:00
gsell d1b594a788 src/H5Part/Types:
- tydef of int64_t added for Windows
2007-05-10 19:08:32 +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
gsell bad33a75d2 src/H5Part.h
- function declaration "H5PartDefineStepName()" added
2007-04-19 09:26:54 +00:00
gsell 7240f26378 - typdef for MPI_Comm add in non-parallel case
- "struct H5PartFile" extended:
	* new member for step name
	* new member to specify the format of the step number
	* new member to flag whether the file is still empty
2007-04-19 09:17: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 cf40adf301 src/addToDoxygenMainPage.h
- removed (content moved to "H5Part.c")
test/H5ecloudExample.cc
src/H5Units.h
src/H5Part.cc
src/H5Part++.hh
src/H5Part.hh
src/H5Part++.cc
tools/h5pToGNUplot.py
	- removed
doc/Makefile.am
	- added
doc/H5tools/H5tools.htm
	- renamed to "doc/H5tools/H5tools.html"
2006-10-27 15:13:31 +00:00
gsell cc383bff11 src/H5Block.c
- doxygen:
		* group "h5block_api" renamed to "h5block_c_api"
		* documentation added/revised
	- _allgather()
		* defined static
	- unused code "#if OLD_DISSOLVE_GHOSTZONES" removed
	- Macro "H5BLOCK_GROUP_NAME" replaced with "H5BLOCK_GROUPNAME_BLOCK"
2006-10-27 15:10:11 +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 1b55e6c536 src/H5PartPrivate.h
- time-steps renamed from "Particles" to "Steps".
	- the macro defining the groupname of time-steps is now
	  "H5PART_GROUPNAME_STEP"
2006-10-27 14:57:02 +00:00
gsell 615cbf3bbd src/H5BlockPrivate.h
- "H5BLOCK_GROUP_NAME" renamed to "H5BLOCK_GROUPNAME_BLOCK"
2006-10-27 14:54:02 +00:00
gsell bcf06f51b1 src/H5Part.h
- H5PartDefaultErrorHandler:
		* renamed to "H5PartReportErrorHandler"
2006-10-27 14:46:57 +00:00
gsell f065eccdc4 src/Makefile.am
- several changes to "EXTRA_DIST", "include_HEADERS", "EXTRA_HEADERS",
	  "libH5PartF_a_SOURCES"
2006-10-27 14:14:38 +00:00
gsell 67ffffae9d src/H5BlockF.c
- h5bl_get_partition_of_proc()
		* bugfix: we have to increment the values by 1
2006-10-10 15:59:08 +00:00