Commit Graph

3154 Commits

Author SHA1 Message Date
Quincey Koziol
e9c66f61a7 [svn-r3738] Purpose:
Update docs
Description:
    Updated version of FreeBSD from 4.2 to 4.3
2001-03-29 11:49:41 -05:00
Albert Cheng
ff256d38d7 [svn-r3736] Updated. 2001-03-29 09:39:55 -05:00
MuQun Yang
8c95ae347f [svn-r3734]
Purpose:
    update install document for windows
Description:
    If user wants to remove zlib, they have to remove two lines that define
    H5_HAVE_LIBZ and H5_HAVE_COMPRESS2 in both H5config.h and *H5pubconf.h*.
Solution:
    add "H5pubconf.h" in the document
Platforms tested:
2001-03-28 18:44:04 -05:00
Binh-Minh Ribler
486133fadd [svn-r3732]
Purpose:
    Update
Description:
    Added c++ api's new features and known problems.
Platforms tested:
    I hope that didn't break anything!
2001-03-28 16:33:01 -05:00
Bill Wendling
00b2f5787d [svn-r3731] Purpose:
Update
Description:
    Added the Subsetting feature stuff to the DDL.
Platforms tested:
    Lynx
2001-03-28 16:21:56 -05:00
Albert Cheng
0fd3ca337b [svn-r3717] Purpose:
new test
Description:
    Added two new tests.
    test_mpio_offset:
	Verify that MPI_Offset exceeding 2**31 can be computed correctly.
    test_mpio_gb_file
	Test if MPIO can write file from under 2GB to over 2GB and then
	from under 4GB to over 4GB.
Platforms tested:
    modi4(-64), tflops.
2001-03-26 18:45:37 -05:00
Bill Wendling
16a436ea4d [svn-r3714] Purpose:
Update
Description:
    Remove the doc from the SUBDIRS macro since we don't have to go to
    that directory for all make options. Add doc to the "cleaning"
    actions...
Platforms tested:
    Linux
2001-03-26 15:38:45 -05:00
Binh-Minh Ribler
6f26403376 [svn-r3708] Purpose: Code cleanup and adding more test
Description:
    dsets.cpp:
	- Added routine's headers to be consistent with the C tests
	- Added the following tests (they are not in the C version
	test because they are C++ specific):
	    + Test copying a user-defined type using DataType::copy
	    + Test copying a user-defined type using DataType::operator=
	    + Test copying a user-defined int type using DataType::operator=
	    + Test copying an integer predefined type using a constructor
	    + Test copying an integer predefined type using DataType::operator=

    th5s.cpp:
	- Added routine's headers to be consistent with the C tests
	- Cleanup old couts and statements used during debugging

Platforms tested:
    arabica (sparc-sun-solaris 2.7)
2001-03-24 23:54:15 -05:00
Binh-Minh Ribler
ba6cba5d30 [svn-r3707] Purpose: Bug fixes and code clean up
Description and Solution:

	- Predefined type objects become outdated when the application calls
	H5close and then H5open to use the library again.

	Solution:
	    + Reimplemented PredType using enum type to obtain up-to-date
		values for predefined types, i.e. H5T_xxx_yyy's, when they
		are used.
	    + Added to PredType its own version of getId() to return the
		appropriate predefined type id according to the enum value.
	    + Made IdComponent::getId() a virtual function

	- Since Albert already fixed the "multiply defined RcsId" problem,
	removed the now become unnessary "#undef RCSID" from H5Include.h

	- Added a check for func_name != NULL in one of the Exception
	constructors because seg. fault. might occur in some situations.

	- It is more convenient to make a copy of a datatype, dataspace,
	or property list by using assignment operator

	Solution:
	    + Added assignment operator to DataType, DataSpace, and
		PropList so that they will invoke H5Tcopy, H5Scopy,
		and H5Pcopy, respectively, instead of just simply
		copying the data members as for other classes.  So,
		now a type, space, or property list can be copied by
		either :
			mytype = original_type, or
			mytype.copy(original_type)
		Note that copy constructors are still just copying the
		data members.
	    + Added an assignment operator to DataType that takes a
		predefined type.
	    + Made IdComponent::operator= a virtual function

Platforms tested:
	arabica (sparc-sun-solaris 2.7)
2001-03-24 23:37:22 -05:00
Bill Wendling
4432a558f9 [svn-r3693] Purpose:
Bug Fix
Description:
    Create a Makefile in the testpar/ directory only if PARALLEL is
    enabled.
Solution:
    Set a macro to the testpar/Makefile for the generation script.
2001-03-22 14:08:02 -05:00
Albert Cheng
8f95083500 [svn-r3687] Updated. 2001-03-21 18:19:19 -05:00
Bill Wendling
fa399abe3d [svn-r3681] Purpose:
Update
Description:
    Applied fix to h5dumper which was applied to the 1.4 branch. Done
    just before creating subdirectories in the 1.4 branch.
Platforms tested:
    Linux
2001-03-21 17:53:34 -05:00
Bill Wendling
65ed9f9b8a [svn-r3680] Purpose:
Updated
Description:
    Updated test results for the h5dumper's XML option. The tool now
    conforms with the fixes implemented in the 1.4 branch.
Platforms tested:
    Linux
2001-03-21 17:52:11 -05:00
Quincey Koziol
2c97458017 [svn-r3678] Testing commit from Windows CVS client - cleaned up some tabs in this
file.
2001-03-21 09:54:14 -05:00
Albert Cheng
cb876a28a1 [svn-r3677] Purpose:
Bug fix (sort of)
Description:
    The RCSID string in H5public.h was causing the C++ code problem as it
    was included multiple times and C++ did not like multiple definitions
    of the same static variable.
Solution:
    Since we don't really make use of the RCSID strings as we have not
    installed it in all source files, we decided to remove it.
Platforms tested:
    eirene (linux), modi4 (IRIX64-64) both serial and parallel modes.
2001-03-20 16:32:24 -05:00
Albert Cheng
e450c2bbad [svn-r3665] Purpose:
updated with the change of $NPROCS default value from 2 to 3.
Platforms tested:
    Neuro-optic, i.e., Eye ball.
2001-03-19 17:52:48 -05:00
Albert Cheng
9fba9e8fc2 [svn-r3664] Purpose:
Improvement
Description:
    Changed the default value of $NPROCS from 2 to 3.  This is the
    value libSAF uses since 3 processes have a much bigger chance
    catching parallel errors than just 2 processes.
    Changed the default dataset sizes from 800 to 1200 so that it is
    a multiple for 3 (and 8 too which is ofter used in the Tflops test.)
Platforms tested:
    Modi4 (IRIX64) both serial and parallel modes.
2001-03-19 17:32:23 -05:00
Albert Cheng
d178c72f9c [svn-r3663] Purpose:
Improvement
Description:
    Changed the default value of $NPROCS from 2 to 3.  This is the
    value libSAF uses since 3 processes have a much bigger chance
    catching parallel errors than just 2 processes.
Platforms tested:
    Modi4 (IRIX64) both serial and parallel modes.
2001-03-19 17:31:06 -05:00
Albert Cheng
2aefa8a0a4 [svn-r3656] Purpose:
adjustment
Description:
    When gondolin failed the 1.5 test, it moved ahead for the 1.4 test.
    The 1.5 test usually takes 1 hour to complete but runtest only waited
    30 minutes for the 1.4 cvs update to complete.  So, gondolin ended
    up failing the 1.4 test too.
Solution:
    Changed the wait time to 90 minutes.
    Added echo statements showing it is waiting for some event. This
    would help the human knowing it is waiting for something.
    Added more comments about the algorithm of the waiting.
Platforms tested:
    Gotta be right. :-)
2001-03-17 10:20:46 -05:00
Quincey Koziol
542362385c [svn-r3653] Purpose:
Bug Fix
Description:
    Partial hyperslabs which exactly fit the size of the lowest dimension of
    a chunked dataset weren't being output correctly.
Solution:
    Forgot to divide the offset (seq_len) by the size of the lower dimension
    hyperslabs - fixed now.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-03-17 07:35:46 -05:00
Quincey Koziol
09a8e85f27 [svn-r3652] Purpose:
Code cleanup
Description:
    Binh-Minh found several places where parameters and/or return-values in the
    tests were not matching the current parameters for functions in the library.
Solution:
    Walked through the code and aligned the parameters and return-values with
    the current functions.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-03-16 13:17:25 -05:00
Elena Pourmal
1d771c6949 [svn-r3651]
Purpose:
    Maintenance
Description:
    [describe the bug, or describe the new feature, etc]
Solution:
    Added comment block to each subroutine.
Platforms tested:
    NONE, do it later.
2001-03-16 10:58:05 -05:00
Barbara Jones
f0c8f8697e [svn-r3650] Took out reference to 5-1.2.0
Purpose:
    [is this a bug fix? feature? ...]
Description:
    [describe the bug, or describe the new feature, etc]
Solution:
    [details about the changes, algorithm, etc...]
    [Please as detail as you can since your own explanation is
    better than others guessing it from the code.]
Platforms tested:
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2001-03-16 10:56:41 -05:00
Elena Pourmal
30e960da8a [svn-r3649]
Purpose:
    Windows port and maintenance
Description:
    Each C function called from  F90 subroutine requires explicit
    interface. Some drivers functions were not implemented.
Solution:
    Added interfaces and comment blocks to each F90 subroutine.
    Added the following subroutines:
           h5pset(get)_fapl_core_f
           h5pset(get)_fapl_family_f
           h5pset_fapl_sec2_f
           h5pset_fapl_stdio_f
Platforms tested:
    Linux (eirene) to make sure that  code still works on UNIX.
    More UNIX platforms will be tested before moving to Windows.
2001-03-16 10:42:40 -05:00
Bill Wendling
39142ffed0 [svn-r3648] Purpose:
Feature Add
Description:
    This is the first (alpha) version of h5tools which does subsetting
    according to the subsetting document. There's still some niceties
    which need to be worked out, but this is the ground work.
Platforms tested:
    Linux
2001-03-15 14:31:40 -05:00
Bill Wendling
3ad27d3fac [svn-r3647] Purpose:
Update
Description:
    Added the ./c++/test/th5s.h5 file to the MANIFEST
Platforms tested:
    Linux
2001-03-15 14:20:25 -05:00
Bill Wendling
8ce26901ac [svn-r3646] Purpose:
Bug Fix
Description:
    Some of the modules weren't being compiled cause they weren't added
    to the TEST_OBJ macro.
Solution:
    Added them to the TEST_OBJ macro a la the C tests.
Platforms tested:
    Linux
2001-03-15 14:18:38 -05:00
Bill Wendling
aa99c5d5a5 [svn-r3640] Purpose:
Bug Fix
Description:
    For some reason, the H5FDstream.h file was defined not once, not
    twice, but three whole times in the install part...
Solution:
    Removed all but one of those.
2001-03-15 12:17:30 -05:00
Binh-Minh Ribler
e086674ee5 [svn-r3639]
Purpose:
    Adding data file for testing
Description:
    The dataspace test, th5s.cpp, needs this data file.
Solution:
    Added the file, using the copy of hdf5/test/th5s.h5
Platforms:
    arabica (sparc-sun-solaris 2.7)
2001-03-14 21:55:33 -05:00
Bill Wendling
740a52b622 [svn-r3637] Purpose:
Bug Fix
Description:
    On the Nersc machines, the install-sh script wasn't being found in
    the proper place.
Solution:
    Corrected the "fix" I put in there awhile ago. Essentially, if the
    INSTALL macro is the program "install-sh" with anything around it,
    then we assume they want our install-sh program and force the
    Makefiles to find it in the hdf5/bin directory.
Platforms tested:
    Nersc.
2001-03-14 17:58:34 -05:00
MuQun Yang
376b58d1d7 [svn-r3636]
Purpose:
    1) warning eliminatation
    2) windows projects rearranging fit for the reorientation of various tools under
/hdf5/tools directory in the cvs tree
Description:
    1) fix the long time repetative warnings of
        "LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library"
    2) fixing h4toh5testrun.bat and dumptest.bat so that new h5dump-xml can be run on windows and new
       h4toh5 test files
    3) adding h4toh5test.dsp project
Solution:
Platforms tested:
     windows 2000
2001-03-14 17:52:44 -05:00
Binh-Minh Ribler
7a05f6e2f1 [svn-r3635]
Purpose:
    Improve C++ API test output appearance
Description:
    The C++ API tests are not easy to be spotted because their output
    look similar to part of the C tests.
Solution:
    Added "C++ API:" in front of the C++ test titles.
Platforms tested:
    arabica (sparc-sun-solaris 2.7)
2001-03-14 17:50:44 -05:00
Bill Wendling
bebae0a9e8 [svn-r3634] Purpose:
Bug Fix.
Description:
    Kent is correct about the malloc error. It's harmless if it's not
    needed anyway.
Solution:
    Removed the #ifdef's since all platforms should use this.
Platforms tested:
    Linux
2001-03-14 16:46:31 -05:00
MuQun Yang
a21f74ce6a [svn-r3633]
Purpose:
    fixing the format of dumper output for windows test
Description:
    New dumptest includes the feature that an error of the output will be put into stderr in linux
    On windows, that stderr will not be redirected into the output file and the comparsion between the expected file and the dumper output is not correct.
Solution:
     change fprintf(stderr .....) at h5tool_util.c into fprintf(stdout ......) so that it fits the comparison.

Platforms tested:
    windows 2000
2001-03-14 16:38:55 -05:00
MuQun Yang
693131fe40 [svn-r3632]
Purpose:
    a bug fix on windows(possible on other platforms)
Description:
    not allocating enough space for a string at dump_all for debug version
    a string tmp is defined at dump_all(....),
    The memory that is allocated to tmp is malloc(strlen(prefix)+strlen(name)+1);
    However, there is one testing case : strlen(prefix) is 0 and
    tmp is allocated in the following:
    strcat(tmp,"/");
    strcat(tmp,name);
    ....
    free(tmp);

    the program fails when freeing tmp for debug (dll) version on windows 2000


Solution:
     For windows platform:

    allocate memory     strlen(prefix)+strlen(name)+2
Platforms tested:
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2001-03-14 14:14:13 -05:00
Bill Wendling
704300d992 [svn-r3630] Purpose:
Update
Description:
    Added new test for C++ library
Platforms tested:
    Linux
2001-03-14 13:30:42 -05:00
Binh-Minh Ribler
28bedc0fff [svn-r3627]
Purpose:
    Adding C++ API test
Description:
    Added th5s to Makefile.in
Platforms tested:
    arabica (sparc-sun-solaris 2.7)
2001-03-14 12:28:05 -05:00
Binh-Minh Ribler
014152842b [svn-r3625]
Purpose:
    Format and typos mostly
Description:
    Changed the "Copyright" header of some files so they will be consistent.
Platforms tested:
    arabica (sparc-sun-solaris 2.7)
2001-03-14 08:27:13 -05:00
Binh-Minh Ribler
8a32459871 [svn-r3624]
Purpose:
    Adding dataspace test to the C++ API
Platforms tested:
    arabica (sparc-sun-solaris 2.7)
2001-03-14 08:04:33 -05:00
Dan Wells
a5d53d6dac [svn-r3619]
Purpose:
    These changes allow the user to determine bytes requested and bytes
    received by MPI I/O calls.
Description:
    User wished to know if the number of bytes requested in MPI I/O calls was
    save as the number actually received.
Solution:
    Added additional fields to the HDFrecord structure for bytes requested and
    bytes received.  Other files reflect these changes.
Platforms tested:
    Solaris
    IRIX64 parallel
2001-03-13 13:28:03 -05:00
Albert Cheng
6c915a1fa6 [svn-r3615] Purpose:
Bug fix
Description:
    removed two debug statements used before.
2001-03-13 08:44:06 -05:00
Albert Cheng
be066eb844 [svn-r3613] Purpose:
new feature
Description:
    Added a new option -nocvs for no cvs commands.
    Added a locking mechanism to show CVS checkout in progress
    and other hosts should wait till it is done.
Platforms tested:
    gondolin
2001-03-13 00:27:58 -05:00
MuQun Yang
3ad1acdd03 [svn-r3611]
Purpose:
    avoid a windows bug for string handling
Description:
Solution:
Platforms tested:
     windows 2000, linux
2001-03-12 15:26:18 -05:00
Elena Pourmal
22f31e6cc6 [svn-r3608]
Purpose:
    Bug fix
Description:
    ./fortran/testpar/thdf5.f90 line was included twice in the file
Solution:
    Removed.
2001-03-12 12:59:45 -05:00
MuQun Yang
b793dd3de8 [svn-r3607]
Purpose:
     change macro RGB into HDF5_RGB since RGB is defined on windows platforms
Description:
Solution:
Platforms tested:
    eirene
2001-03-12 12:18:06 -05:00
HDF Admin
2c4afcd66d [svn-r3603] Snapshot version 1.5 release 1 2001-03-10 02:02:38 -05:00
Binh-Minh Ribler
9cd9f7f521 [svn-r3602]
Purpose: Usability enhancement

Description:
	- Added more information about the failure to all the throw's,
	i.e, member function name and more detail about the failure, where
	appropriate.  Also, added exception throws for private functions,
	such as p_close to provide more specific details.

	- Added two api functions: Exception::getFuncName() and
	Exception::getCFuncName() to provide the name of the member
	function where failure occurs.

	- Fixed some typos, one of which caused segn. fault in some
	situations (resetIdComponent was accidentally called twice
	in a couple of places :)

Platforms:
	arabica (sparc-sun-solaris 2.7)
2001-03-09 22:59:46 -05:00
MuQun Yang
cd29e12e02 [svn-r3601]
Purpose:
    a  bug fix
Description:
     uninitialize the start and edge value for test_ras8 and test_ras24 functions
Solution:
     initialize
Platforms tested:
    eirene,arabica
2001-03-09 19:09:55 -05:00
Bill Wendling
ee17f3731e [svn-r3586] Purpose:
Hack
Description:
    Need to install the files in the examples/java directory, however
    they include installing a Makefile. This was causing havoc with our
    Makefile/configure system.
Solution:
    Changed so that you can specify a "SUBDOCDIR" which will create a
    subdirectory for you and fill it with files specified in PUB_SUBDOCS.
Platforms tested:
    Linux
2001-03-09 17:30:51 -05:00
Bill Wendling
622f76418e [svn-r3585] Purpose:
Bug Fix
Description:
    Removed generation of the Makefile in the
    doc/html/Tutor/examples/java directory since they ahve their own
    Makefile which is actually distributed with the documents.
Platforms tested:
    Linux
2001-03-09 17:30:15 -05:00