Commit Graph

557 Commits

Author SHA1 Message Date
Albert Cheng
1f339111ef [svn-r258] Problem:
When configure with enable-paralle, H5detect and debug were not
    compiled with $(LIBS) but were executed via RUNTEST (mpirun ...).
    The O2K mpirun can't handle such an object code.

Solutions:
    Compile them also with $(LIBS) which contains the mpi library names.
    Could have just removed $(RUNTEST) but in some parallel system, all
    object file may have to be launched by some mpirun-equivalent command
    anyway.

Platforms tested: O2K
1998-02-12 00:03:49 -05:00
Albert Cheng
9ab525f8a4 [svn-r257] H5F.c:
Added modification entry to H5F_open header.  Should have been done
    when i added the access template argument.

H5Fprivate.h:
    The hardcode setting to "define MPIO as the default IO
    when HAVE_PARALLEL is set" cause all test programs to fail since
    none of them is coded with the needed MPI_Initialize.  Change it
    back to the previous setting of using sequential I/O allows user
    to use sequential I/O by default and use MPIO only if he/she explicitely
    asks for it via access template setting.
1998-02-11 23:52:59 -05:00
Albert Cheng
c8299b347a [svn-r256] Target 'all' appeared twice, thus make repeated an extra time.
No harm, just looked strange.  Removed 'all' from the second
appearance.  Tested in a O2K.
1998-02-11 23:29:18 -05:00
Robb Matzke
4854aa28f7 [svn-r255] Added a teeny tiny little miniscule amount of support for strings because
the VB-API work stores comments in some of the VB tables.
1998-02-11 20:23:12 -05:00
Robb Matzke
834ce78ca5 [svn-r254] *** empty log message *** 1998-02-11 20:22:25 -05:00
Elena Pourmal
712de213ce [svn-r253] Parameter H5ACC_DEFAULT was replaced by H5ACC_OVERWRITE in the call to H5Fcreate. 1998-02-11 16:08:57 -05:00
Elena Pourmal
069b6098ea [svn-r252] Call to H5Cget_layout has been added to check if the dataset is chunked. 1998-02-11 15:40:12 -05:00
Elena Pourmal
140a4c128f [svn-r251] Typo in a comment has been fixed. 1998-02-11 11:54:32 -05:00
Elena Pourmal
d7e5f9d17c [svn-r250] Spelling of "extendible" has been fixed. 1998-02-11 11:52:27 -05:00
Albert Cheng
84bd17dca3 [svn-r249] configure.in configure:
Changed default RUNTEST to 'mpi -np 1'.

src/Makefile.in:
Use $(RUNTEST) to run programs if enable-parallel is on.
1998-02-11 01:00:36 -05:00
Robb Matzke
3e72af4d29 [svn-r248] Added new files 1998-02-10 19:30:05 -05:00
Robert Kim Yates
e6126e648f [svn-r247] Specifies that these platforms are bigendian architectures.
CVS :----------------------------------------------------------------------
1998-02-10 18:15:05 -05:00
Robert Kim Yates
1a3b50dbef [svn-r246] Explains how to set up vars/files before configuring for parallel HDF5
on IBM SP using MPI-IO.
CVS :----------------------------------------------------------------------
1998-02-10 18:14:10 -05:00
Robert Kim Yates
3978dc08ac [svn-r245] Added 3 files to aid in configuring for parallel HDF5 on IBM SP.
See INSTALL.ibm.sp.parallel.
1998-02-10 18:11:23 -05:00
Robb Matzke
f486e798d6 [svn-r244] Updated with changes in html directory 1998-02-10 17:16:10 -05:00
Elena Pourmal
2dcc469e77 [svn-r243] In the files list h5_extend_read.c was replaced by h5_chunk_read.c 1998-02-10 13:09:18 -05:00
Elena Pourmal
885953832b [svn-r242] Example showing how to read from chunked dataset has been added. 1998-02-10 13:06:11 -05:00
Elena Pourmal
fcaa973a2a [svn-r241] h5_extend_read.c shows how to read from chunked dataset.
Program name does not reflect its purpose. Removed.  Will be added under
new name h5_chunk_read.c
1998-02-10 13:04:57 -05:00
Robb Matzke
b933610dde [svn-r240] Removed warnings on Irix64 1998-02-10 11:41:45 -05:00
Robb Matzke
2db1ce5405 [svn-r239] Release fails if MANIFEST is not consistent with CVS/Entries. This
should prevent incomplete releases as a result of people forgetting to
add files to MANIFEST.
1998-02-10 11:39:47 -05:00
Robb Matzke
a0519587e3 [svn-r238] Added and removed files for release based on contents of CVS/Entries. 1998-02-10 11:38:55 -05:00
Albert Cheng
e9360a7c0d [svn-r237] I am checking in changes made by Robb. Turn off another two tedious
warnings.
# -woff 1209    about constant expressions
# -woff 1196    about __vfork() being implicitly declared, config prob.
1998-02-10 11:07:58 -05:00
Elena Pourmal
66d18e9bf2 [svn-r236] Example showing how to group objects in the HDF5 file is added. 1998-02-10 10:22:51 -05:00
Elena Pourmal
32029aa648 [svn-r235] Comments have been added. 1998-02-10 10:16:05 -05:00
Robert Kim Yates
ef4270b530 [svn-r234] Cleaned up conversion between MPIOffset and haddr_t in H5Fmpio.c.
In H5Fprivate.h made MPI-IO the default low-level I/O module when HAVE_PARALLEL.
1998-02-10 09:59:51 -05:00
Quincey Koziol
01ea6431c8 [svn-r233] Fixed order of arguments to print_func. 1998-02-10 08:15:46 -05:00
Albert Cheng
2d17eb9165 [svn-r232] Problem: Parallel H5Fcreate failed if file doesnot exist. When the
file does not exist, the code tried to open the file with EXCL CREATE.
ROMIO cannot handle file-open with EXCL Create due to racing problem.
The first process creates the file which then fails all
other processes.

Solution: In the parallel code, turn on TRUNC mode to allow "late" open
calls to succeed too.  It is safe to force TRUNC mode since the file is
known non-existing at that point.  The MPIO implementation has to
provide the real solution.

Platform tested: O2K with ROMIO.
1998-02-10 00:15:42 -05:00
Elena Pourmal
4c2346ff5d [svn-r231] Purpose: Fix a bug.
Problem: Data type handle was not released.

Solution: Call to H5Tclose has been added.

Platforms tested: Sun Sparc (baldric)
1998-02-09 16:10:28 -05:00
Albert Cheng
7e8e3eec42 [svn-r230] Changes were actually made by Robb. I am commiting them for him
while he is visiting LLNL.  I changed the default creation template
offset and length to 4.  Will fix the problem later.

Changes since 19980205
----------------------

./src/H5H.c
./src/H5Hprivate.h
./src/H5O.c
./src/H5Ocont.c
./src/H5Odtype.c
./src/H5Oefl.c
./src/H5Olayout.c
./src/H5Oname.c
./src/H5Onull.c
./src/H5Oprivate.h
./src/H5Odspace.c
./src/H5Ostab.c
./src/debug.c
./html/H5.format.html
        Added an extra 4-byte field after the heap magic number for
        alignment on the DEC alpha. Changed object header message
        alignment to 8-bytes.

./src/H5F.c
./src/H5Farray.c
./src/H5Ffamily.c
./src/H5Fistore.c
./src/H5Flow.c
./src/H5Fprivate.h
./src/H5Fsec2.c
./src/H5Fstdio.c
./src/H5Gnode.c
./src/H5O.c
./src/H5Odtype.c
./src/H5P.c
./src/H5Pprivate.h
./src/H5T.c
./src/H5Tconv.c
./src/H5Tpkg.h
./src/H5Tpublic.h
./src/H5V.c
./src/H5detect.c
./test/cmpd_dset.c
./test/dsets.c
./test/dtypes.c
./test/extend.c
./test/hyperslab.c
./test/istore.c
./test/th5p.c
./test/theap.c
        Fixed a few irix64 warnings regarding size_t vs. int,
        variables set but not used, printf formats

./config/irix64
        Added `-woff 1196' to get rid of errors about __vfork() being
        implicitly defined in a system header file.

./src/H5B.c
        Fixed a stack alignment problem.
1998-02-09 14:37:40 -05:00
Elena Pourmal
35e7a062e2 [svn-r229] New examples have been created in the examples directory:
h5_write.c    - stores INT array as INT32 little endian dataset in the HDF5 file.

    h5_read.c     - gets info about the dataset;
                    reads hyperslab from the dataset in the file into
                    2-dim slice of the 3 dimensional array.

    h5_compund.c  - creates compound dataset and writes it to the file;
                    reads subsets of the dataset.

    h5_extend_write.c - writes extendable dataset.

    h5_extend_read.c  - gets info about the dataset;
                        reads dataset and one of the chunks.
1998-02-08 13:38:20 -05:00
Elena Pourmal
08cd0cc138 [svn-r228] Old example test_write.c has been removed from the examples directory. 1998-02-08 13:23:36 -05:00
Elena Pourmal
aa39b78dac [svn-r227] Old example test_read.c has been deleted from the examples directory. 1998-02-08 13:22:41 -05:00
Albert Cheng
cd5a522434 [svn-r226] Turned off couple tedious warning messages. One (1174) due to incorrect
local O2K system configuration. The other (1429 about long long) is
ignorable since long long is standard in the next version of ANSI C.
1998-02-05 22:06:48 -05:00
Albert Cheng
f23e12ca73 [svn-r225] H5F_open has been changed due to the PHDF work. It needed an extra
argument of access-template.
1998-02-05 22:02:00 -05:00
Albert Cheng
238cccd5e8 [svn-r224] Initial implementation of the upper levels of PHDF5. The
MPIO lower interface layer (H5Fmpio.c) has been commited by Kim already.
All PHDF5 codes are "bracket'ed" by #ifdef HAVE_PARALLEL macro.
1998-02-05 22:00:35 -05:00
Albert Cheng
858b8fbfae [svn-r223] Somehow the default create template header is causing heap routines
failures.  Row back the offset and length sizes to 4 (instead of
sizeof(size_t)) for now to pass all tests.  Will fix it later.
(Also changed the default create template in H5F.c).
1998-02-05 21:56:45 -05:00
Albert Cheng
0e55445d79 [svn-r222] Problem: UINT64DECODE and INT64DECODE were not working because it did
not assign the decoded value back to n.

Solution: Removed temporary variable _n (don't see why it is needed.)
Use the variable n directly.

Platform tested: IRIX64 -64
1998-02-05 12:13:43 -05:00
Robert Kim Yates
34e8bb7d12 [svn-r221] In H5F_mpio_open, if truncation was requested, all processes must call
MPI_File_set_size (a collective operation).
Also changed/added some error messages.
1998-02-05 10:51:25 -05:00
Robb Matzke
92160353e3 [svn-r220] Changes since 19980204
----------------------

./src/H5H.c
	Changed a temporary buffer from 20 bytes to 52 bytes.

./test/tfile.c
	Default sizes for file addresses and sizes are the same as
	sizeof(size_t) on the machine that creates the file.
1998-02-05 08:52:15 -05:00
Robb Matzke
125f368560 [svn-r219] Changes since 19980204
----------------------

./src/H5Odtype.c
	Compound data type names weren't aligned correctly. Thanks to
	Elena for finding this bug.
1998-02-04 13:31:13 -05:00
Robb Matzke
a47ba809ea [svn-r218] ./src/H5F.c
The default file addr and size sizes for new files are the
	same as sizeof(size_t) on the machine that creates the
	file. They used to always be 4.

./src/H5Pprivate.h
./src/H5Psimp.c
	Fixed `start' and `nelmts' arguments to be `size_t'.
1998-02-04 10:14:29 -05:00
Quincey Koziol
3d5f479f87 [svn-r217] Fixed fence-post & memory copy errors in H5F_encode_length_unusual() 1998-02-04 09:56:06 -05:00
Quincey Koziol
71be4b3cca [svn-r216] Added (ifdef'ed out currently) support for creating scalar simple variables. 1998-02-04 09:55:12 -05:00
Albert Cheng
8212bc9499 [svn-r215] offset was declared intn when it actually dealed with pointer addresses.
Changed it to size_t type.
1998-02-03 22:07:04 -05:00
Robb Matzke
519b33c5b0 [svn-r214] Changes since 19980203
----------------------

./src/H5C.c
./src/H5Cprivate.h
./src/H5D.c
./src/H5Dpublic.h
	Added H5Dget_create_parms(), trying to stay one step ahead of
	Elena ;-)
1998-02-03 12:29:54 -05:00
Robb Matzke
137bc83f7a [svn-r213] Changes since 19980130
----------------------

./MANIFEST
	Added H5Fmpio.c.  One way to check that you've properly
	included new files is to run `./bin/release none', then unpack
	the resulting tar file somewhere and try to compile it.  The
	tar file will be ./releases/hdf-5.0.0a.tar.

./config/freebsd2.2.1
./config/linux
	Added `-ansi'

./acconfig.h
	Added definitions for PHDF5 and HAVE_PARALLEL.

./configure.in
	Added minimal support for parallel build.  Kim and Albert will
	have to flesh this out or I can do it if they're more specific
	about what they need.

./config/commence.in
	Added default value for $(RUNTEST)

./config/conclude.in
	`make test' uses value of $(RUNTEST) to run test cases.

./src/Makefile.in
	Added PARALLEL_SRC for conditional compilation of H5Fmpio.c

./src/H5D.c
./src/H5Dpublic.h
	Added H5Dget_type() for Elena


NOTE: These changes require that configure be rerun.  If you're using
      GNU make it will happen automatically, otherwise do it by
      hand.
1998-02-03 12:03:13 -05:00
Robert Kim Yates
6cbd672251 [svn-r212] Fixed H5F_mpio_read's handling of number of bytes read,
and removed MPI_Init and MPI_Finalize from H5.c
(these should be done in the user program).
1998-02-03 10:29:05 -05:00
Robert Kim Yates
a6f59faa9d [svn-r211] Added hooks for MPI-IO low-level I/O module. 1998-02-02 11:26:49 -05:00
Robb Matzke
8831ff175c [svn-r210] Changes since 19980130
----------------------

./MANIFEST
./html/study.html		[NEW]
./html/study_1000x1000.gif	[NEW]
./html/study_250x250.gif	[NEW]
./html/study_499x499.gif	[NEW]
./html/study_5000x1000.gif	[NEW]
./html/study_500x500.gif	[NEW]
./html/study_p1.gif		[NEW]
./html/study_p1.obj		[NEW]
	The conclusions from a study of the HDF5 chunking
	layout. Shows overhead and disk seeking.
1998-01-30 22:47:38 -05:00
Robb Matzke
374e5ae39b [svn-r209] Changes since 19980130
----------------------

./INSTALL
	Added instructions for which C flags to set for debugging.

./src/H5C.c
./src/H5Cpublic.h
	H5Cset_chunk() takes const pointer.

./src/H5D.c
./src/H5Dprivate.h
./src/H5Dpublic.h
	Added H5Dextend() to extend the dimensions of a dataset.

./src/H5Osdspace.c
./src/H5P.c
./src/H5Pprivate.h
./src/H5Ppublic.h
./test/cmpd_dset.c
./test/dsets.c
./test/th5p.c
	Added the optional `maxdims' argument to H5Pcreate_simple()
	and defined constant H5P_UNLIMITED which can appear in the
	maxdims.  Added `const' to arguments.

	Implemented H5Pcopy()

	Removed the unused file argument from H5P_modify.

	Added H5P_extend().

	Removed the `flags' field from simple data types and we
	determine if the `max' or `perm' arrays are valid by looking
	at the pointer.  Cleaned up the H5O_sdspace_debug output.

./src/H5T.c
	Fixed a printf format.

./MANIFEST
./test/Makefile.in
./test/extend.c			[NEW]
	Added a test for multi-dimensional unlimited dimensions.
1998-01-30 18:32:28 -05:00