Commit Graph

280 Commits

Author SHA1 Message Date
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 fdd69338ea updated doxygen groups for H5(Multi)Block 2009-10-07 18:12:03 +00:00
Marc Howison 5d4d62f5c2 typo in Fortran linkage; fixed doxygen to use parallel flag 2009-10-06 17:58:39 +00:00
Marc Howison 195d58693a added throttling for reading 2009-09-10 04:45:48 +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 15ad7b21c5 added MPI_Comm_f2c in Fortran-C bindings 2009-08-25 17:40:49 +00:00
Marc Howison 1b8073b82b added API calls for int32 and float32 step attribs 2009-08-18 15:47:50 +00:00
Marc Howison 06aef8a08f fixed bug in halo exchange when there is only one proc in the direction of the exchange 2009-07-10 21:34:44 +00:00
Marc Howison 57ce44db8b fixed format flag for H5MultiBlock timing output 2009-07-09 01:36:26 +00:00
Marc Howison 1104b9ff93 added timing output for H5MultiBlock reads 2009-07-08 20:14:56 +00:00
Marc Howison 01aa167339 changes to _H5Block_init so that only 1 dataset creation plist is created and reused 2009-07-06 21:31:42 +00:00
Marc Howison cd0391db7e added a test for existing datasets to write calls 2009-07-06 21:07:30 +00:00
Marc Howison 207e49716c Implemented two halo exchange routines: one uses an MPI vector datatype and the other manually packs and unpacks the send and recv buffers. The MPI datatype method is not currently working due to a "double free" error in libc. The manual buffering method has been debuged and works. 2009-07-06 16:42:03 +00:00
Marc Howison 97a14cc488 fixed Fortran compile error with gfortran (had to move f90 files to F90) 2009-07-02 18:46:06 +00:00
Marc Howison 13d7784c44 added file open flags for Fortran interface 2009-07-02 18:22:30 +00:00
Marc Howison 00b0e87f10 forgot to remove existing write attrib functions from H5BlockF.inc and H5BlockF.c after adding them to the code generator 2009-07-02 17:06:12 +00:00
Marc Howison 6d38bf442d * H5Block: added attribute writing functions to code generator: still need to add reading functions
* H5MultiBlock: added halo exchange routine: still needs debugging
2009-07-02 16:46:07 +00:00
Marc Howison 3d4da8653a fixed bug with layout debug info always printing the layout for proc 0 2009-06-24 18:45:23 +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 a2d2a02cd2 branch new development verson 2008-06-24 19:04:45 +00:00
gsell 249117c89e serial and parallel code merged 2008-06-24 18:59:06 +00:00
gsell 463ef08da9 branch stable 1.4 version 2007-09-21 09:53:26 +00:00
Kurt Stockinger 607d1e86ab Corrected version number 2007-08-29 01:59:47 +00:00
Kurt Stockinger 3ebc9de7a9 Prepare new tag with updates on H5Block. 2007-08-29 01:26:50 +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
Kurt Stockinger 1a20e25a84 Added nSteps as command line parameter 2007-07-10 22:41:55 +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
Kurt Stockinger 15c2e1260a Removed trailing backslash. 2007-06-12 16:39:03 +00:00