Commit Graph

2530 Commits

Author SHA1 Message Date
Binh-Minh Ribler
4e615c2188 [svn-r3089] Renamed create.C to create.cpp 2000-12-06 20:13:17 -05:00
Binh-Minh Ribler
8b32e8d742 [svn-r3088] Renamed writedata.C to writedata.cpp 2000-12-06 20:12:13 -05:00
Binh-Minh Ribler
c2885f09c4 [svn-r3087] Renamed readdata.C to readdata.cpp 2000-12-06 20:11:47 -05:00
Binh-Minh Ribler
e157b311b6 [svn-r3086] Renamed h5group.C to h5group.cpp 2000-12-06 20:11:23 -05:00
Binh-Minh Ribler
9758b5a14c [svn-r3085] Renamed extend_ds.C to extend_ds.cpp 2000-12-06 20:11:00 -05:00
Binh-Minh Ribler
146482863a [svn-r3084] Renamed compound.C to compound.cpp 2000-12-06 20:10:27 -05:00
Binh-Minh Ribler
6bf869bd73 [svn-r3083] Renamed chunks.C to chunks.cpp 2000-12-06 20:09:22 -05:00
Binh-Minh Ribler
b337b85b13 [svn-r3082] Purpose:
Renaming source files for portability
Description:
        Removed *.C files after adding the corresponding *.cpp files.
Platforms tested:
2000-12-06 19:50:09 -05:00
Binh-Minh Ribler
0ed058b1c0 [svn-r3081]
Purpose:
	Renaming source files for portability
Description:
	Removed *.C files after adding the corresponding *.cpp files.
Platforms tested:
2000-12-06 19:46:58 -05:00
Binh-Minh Ribler
f148ff3caf [svn-r3080]
Purpose:
	Support portability
Description:
	I forgot that source file extension .C will not work on Windows.
Solution:
	Changed all source file from *.C to *.cpp for portability.
Platforms tested:
	arabica (sparc-sun-solaris 2.7)
2000-12-06 19:04:08 -05:00
Binh-Minh Ribler
7df8cd5cfe [svn-r3079] Purpose: bug fix - by C API
Description:
	The prototype of two C API functions, H5Tget_offset and
	H5Sget_simple_extent_npoints was changed to fix bug #446,
	resulting in the need for updating the two corresponding
	C++ API functions.

Solution:
	- Changed the return type of AtomType::getOffset from size_t
	  to int, and the error return value from 0 to -1.
	- Changed the return type of DataSpace::getSimpleExtentNpoints
	  from hsize_t to hssize_t, and the error value from 0 to -1.

Platforms tested:
	arabica (sparc-sun-solaris 2.7)
2000-12-05 23:59:37 -05:00
MuQun Yang
71722c1b9b [svn-r3078]
Purpose:
    updating all.dsw(adding h4toh5dll and h5toh4dll version).
    adding a automatic crude test script of h4toh5 converter on windows.
Description:
Solution:
Platforms tested:
    WIn 2000
2000-12-05 12:23:38 -05:00
MuQun Yang
d9ba836b00 [svn-r3077]
Purpose:
     a bug fix for windows
Description:
     ignore checking the permission of file and directory on windows
Solution:
     using ifndef WIN32 endif to ignore checking this feature.
     Will find how windows deal with file checking stuff later.
Platforms tested:
    WIN 2000, and confirmed at eirene(Linux)
2000-12-05 12:21:52 -05:00
Bill Wendling
b2992ce841 [svn-r3076] Purpose:
New Flag
Description:
	Added a test to see if the C++ compiler can handle the bool
	datatype. If not, then it defines the BOOL_NOTDEFINED macro.
2000-12-05 01:39:11 -05:00
Bill Wendling
2876134885 [svn-r3075] Purpose:
Reformatting
2000-12-04 17:22:11 -05:00
Bill Wendling
e552b96ce3 [svn-r3074] Purpose:
Improvement
Description:
	Made the Makefiles better.
Solution:
	Added standard macros concerning where things are place. Like
	libraries and so forth.
Platforms tested:
	Linux
2000-12-04 15:25:14 -05:00
MuQun Yang
ca459c1d43 [svn-r3073]
Purpose:
     Add a crude script for automatic testing h5toh4 converter tool
Description:
     the name of the script is called h5toh4testrun and is under ....../hdf5/tools directory.
Solution:
    Four parameters should be typed in correctly in order to do the auto test.
    1. Debug or Release version you are testing.
    2. The top directory path(including the drive name) where hdf5 tools is located.
       Such as D:/h5_1.4pre2
    3. The full path where hdp is located.
      Such as D:/H414/bin
    4. If no dll version(currently not tested yet); leave this parameter empty or type DLL.
Platforms tested:
    NT 4.0(NT) and 5.0(2000).
2000-12-04 15:02:00 -05:00
MuQun Yang
c279c82a75 [svn-r3072]
Purpose:
    turn off "checking file and directory permission right" on windows platform
Description:
    Adding #ifndef WIN32 #endif block at the corresponding test-file and test-dir functions.
Solution:
   See above.
Platforms tested:
     Win NT 4.0,5.0; and confirm the result the same on eirene and arabica
2000-12-04 14:55:59 -05:00
Bill Wendling
16eb222319 [svn-r3071] Purpose:
Bug Fix
Description:
	The fix we put in to ignore warning 405 was incorrect. The quotes
	were confusing to configure.
Solution:
	Turns out that there doesn't need to be a space between the -M
	flag and the warning number.
Platforms tested:
	T3E
2000-12-04 11:47:11 -05:00
Albert Cheng
8a3dc0fad8 [svn-r3070] Purpose:
Feature
Description:
    H5Eprint used to print "thread 0" even in MPI-application.
    Added code to print MPI-process rank ID (as in MPI_COMM_WORLD) to
    give more information of which process is printing the messages.
Platforms tested:
    IRIX64-64, both serial and parallel.
2000-12-02 17:53:02 -05:00
Albert Cheng
17a906445b [svn-r3069] Updated it. 2000-12-02 15:23:02 -05:00
Elena Pourmal
f99a7ddacc [svn-r3068]
Purpose:
    Code maintenace
Description:
    Comments to the h5tget_order_f and h5tset_order_f subroutines were
    incorrect.
Solution:
    Fixed.
2000-12-02 12:21:43 -05:00
Elena Pourmal
c0c9ae025f [svn-r3067]
Purpose:
    Bug fix.
Description:
    nh5tget_order_c function always returned "FAIL"
Solution:
    Fixed
Platforms tested:
    Not tested ( I know :-)....)
2000-12-02 12:17:02 -05:00
Quincey Koziol
afb64c0bac [svn-r3066] Purpose:
Bug Fix.
Description:
    Attributes whose datatype was an object or dataset region reference weren't
    dumping correctly.
Solution:
    Pass along attribute ID to the code which prints the attributes, so the
    reference types can be dereferenced and printed.
Platforms tested:
    FreeBSD 4.2 (hawkwind) & IRIX64 6.5 (modi4)
2000-12-02 10:13:38 -05:00
Quincey Koziol
74d5c6b757 [svn-r3065] Purpose:
Code cleanup
Description:
    Remove some warnings...
Platforms tested:
    FreeBSD 4.2 (hawkwind) & IRIX64 6.5 (modi4)
2000-12-02 10:11:57 -05:00
Quincey Koziol
0a2a84398d [svn-r3064] Purpose:
Doc Fix
Description:
    Update with missing files.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2000-12-02 10:11:16 -05:00
Albert Cheng
9f8b25422c [svn-r3062] Purpose:
Improvement
Description:
    During configure, it tries to find the size of various basic
    C data types (int, int8, fast_int8, ...) by running a small
    program for each data type.  But Pecific blue uses a batch queue
    system to launch all jobs and the whole process takes couple
    minutes.  With over 20 basic types to test, that takes "forever"
    for the configure to complete.
Solution:
    Let the configure complete, then save all those valid values in
    the config.cache file into the specific config file for Pac. Blue.
    With the values cached, configure does not need to run those little
    problems.
Platform Tested:
    Pacific blue with mpicc.
2000-12-01 18:47:18 -05:00
Quincey Koziol
26f011afb1 [svn-r3061] Purpose:
Bug fix.
Description:
    Cray T3E (and J90?) was failing on partial I/O tests.  The bug was in
    the optimized hyperslab routines for cases where a hyperslab filled the
    temporary datatype conversion buffer and the optimized hyperslab routine
    needed to start in the middle of a hyperslab.
Solution:
    Corrected code to detect the situation and read in the correct amount of
    elements in the hyperslab.
Platforms tested:
    Cray T3E (mcurie.nersc.gov)
2000-12-01 17:47:34 -05:00
Thomas Radke
896558b27d [svn-r3060]
Purpose:
    Bugfix
Description:
    The gcc linker couldn't resolve any socket routine symbols
    if the Stream VFD was configure.
Solution:
    Add the socket library to the LIBS makefile variable not just
    when compiling with the native cc compiler
    but also if using GNU tools (such as on Solaris x86 systems).
Platforms tested:
    SunOS 5.5 with GNU cc (hatteras),
    SunOS 5.6 with native cc (thor.sistec.kp.dlr.de)
2000-12-01 17:08:03 -05:00
Thomas Radke
14e987f40c [svn-r3059]
Purpose:
    Bugfix
Description:
    Under SunOS 5.5 the symbol FIONBIO wasn't known.
Solution:
    Include <sys/filio.h> which defines this symbol under Solaris.
    Also put the UNUSED qualifier in the right place in a function
    argument list (gcc 2.7.2 didn't like it before the type name).
Platforms tested:
    SunOS 5.5 (hatteras), SunOS 5.6 t(thor.sistec.kp.dlr.de)
2000-12-01 17:03:45 -05:00
Thomas Radke
0473d1c822 [svn-r3058]
Description:
    Added the HAVE_SYS_FILIO_H define for the configure check for <sys/filio.h>.
2000-12-01 16:59:31 -05:00
Thomas Radke
e10233b5f0 [svn-r3057]
Purpose:
    Bugfix
Description:
    Under SunOS 5.5 the symbol FIONBIO wasn't known when compiling
    with the Stream VFD configured.
Solution:
    This symbol is defined in the system header file <sys/filio.h>.
    Here we check whether this header is available.
Platforms tested:
    SunOS 5.5 (hatteras), SunOS 5.6 (thor.sistec.kp.dlr.de)
2000-12-01 16:48:49 -05:00
Bill Wendling
50d0fc416c [svn-r3056] Purpose:
Bug Fix
Description:
	There's a spurious warning being created on Cray T3E.
Solution:
	We ignore it.
Platforms tested:
	T3E
2000-12-01 16:00:14 -05:00
Elena Pourmal
5e66426aa4 [svn-r3055]
Purpose:
    Bug fix on T3E.
Description:
    There was a typo in the h5init_types_c name translation line that
    caused compilation errors.

Solution:
    Fixed the typo. This fix exposes another error and I have no clue what to
    do about this one

     f90 -p. -p../src -dp -o fortranlib_test fortranlib_test.o hdf5test.o tH5F.o tH5D.o tH5R.o tH5S.o tH5T.o tH5Sselect.o tH5P.o tH5A.o tH5I.o tH5G.o ../src/.libs/libhdf5_fortran.a ../../src/.libs/libhdf5.a -L/u3/epourmal/HDF4/NewHDF/lib -lmfhdf -ldf -ljpeg -lz -lnsl -lm
cld-405 cld: WARNING
  The entry point `HDF5' defined in relocatable object `../src/.libs/libhdf5_fortran.a[HDF5.o:HDF5]' is used; the definition in relocatable object `./../src/HDF5.o:HDF5' is ignored.
cld-431 cld: WARNING
  The resulting output file `fortranlib_test' is not executable because of previous WARNING messages.
Make: "../../libtool --mode=link f90   -p. -p../src -dp -o fortranlib_test fortranlib_test.lo hdf5test.lo tH5F.lo tH5D.lo tH5R.lo tH5S.lo tH5T.lo        tH5Sselect.lo tH5P.lo tH5A.lo tH5I.lo tH5G.lo ../src/libhdf5_fortran.la  ../../src/libhdf5.la": Error code 1
cmd-2436 make: Stop.
+ exit 1
Make: "set -x; for d in src test  examples; do                        \
   (cd $d && make tests) || exit 1;                                   \
done": Error code 1

Platforms tested:
    T3E
2000-12-01 15:16:10 -05:00
Bill Wendling
e79fa0f234 [svn-r3054] Purpose:
Bug Fix
Description:
	We were not propagating the FFLAGS macro. I.e., we were
	overwriting it after it was set in the commence.in includes.
Solution:
	Include it with a ``@FFLAGS@'' where we'd normally overwrite it
	so that it isn't.
Platforms tested:
	T3E
2000-12-01 15:00:54 -05:00
Bill Wendling
f4f79e6af6 [svn-r3053] Purpose:
New File
Description:
	Configure file for the T3E.
Platforms tested:
	T3E
2000-12-01 14:59:48 -05:00
Bill Wendling
14234fc01a [svn-r3052] Purpose:
Attempted Bug Fix
Description:
	Some machines (Cray T3E, need you ask?) use the ``-p'' flag for
	enabling double precision. This breaks our Fortran interface.
Solution:
	Put this test last. However, the T3E apparently doesn't need
	modules, so we may have to resort to a better "fix" than this
	in the future.
Platforms tested:
	T3E
2000-12-01 14:59:18 -05:00
Robb Matzke
ecd06afe4e [svn-r3051] ./hdf5/tools/h5ls.c
2000-12-01 Robb Matzke  <matzke@llnl.gov>
	* display_vlen_type: Added function to display name of variable-length datatypes.
2000-12-01 13:25:07 -05:00
Robb Matzke
bad9e4d4a1 [svn-r3050] ./hdf5/src/H5.c
2000-12-01 Robb Matzke
        *: Removed empty lines from end of file?
2000-12-01 13:25:05 -05:00
Bill Wendling
4a7a715c0d [svn-r3049] Purpose:
YABF
Description:
	Needed to add the source directory for the built HDF5 library.
Solution:
	Added -I../../src to the compile flags.
Platforms tested:
	Linux
2000-12-01 11:50:25 -05:00
Bill Wendling
570713c289 [svn-r3048] Purpose:
Refix
Description:
	The C++ stuff also needs the main HDF5 headers.
Solution:
	Added the flag to do just that.
Platforms tested:
	Linux
2000-12-01 10:57:04 -05:00
Bill Wendling
f6f5fc0c45 [svn-r3047] Purpose:
Bug fix
Description:
	When building in a different directory, we weren't picking up the
	header files correctly. The -I flag wasn't pointing to the
	correct place.
Solution:
	Changed the -I flag to point to the C++ source directory.
Platforms tested:
	Linux
2000-12-01 10:46:54 -05:00
Bill Wendling
c834f719ef [svn-r3046] Purpose:
Reversal of Patch
Description:
	I thought that the solaris boxen could handle the -Wc,<flag> flag
	(or, rather, that libtool would do the correct thing with their
	compilers). However, this isn't the case, apparently.
Solution:
	Removed the ``-Wc,-LANG:std'' flag and put it in the CPPFLAGS
	macro instead. This should cause it to be passed to the compiler
	only...one hopes...
2000-12-01 10:44:18 -05:00
Quincey Koziol
1d12edaf3e [svn-r3045] Purpose:
Following up on added tests.
Description:
    Added the code to generate the vldata and array test files added into
    the h5dump test suite recently.  This doesn't have any affect on the
    library or tools, it's just for future reference.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2000-11-30 18:09:11 -05:00
Bill Wendling
dd675708fd [svn-r3044] Purpose:
Argh!
Description:
	Again the compiler doesn't like the -dlopen self flag when
	compiling...
Platforms tested:
	Linux
2000-11-30 15:37:45 -05:00
Quincey Koziol
81145c6bab [svn-r3043] Purpose:
Bug Fix
Description:
    configure on Cray T3E is looking for a differently named config file,
    so at it under that name.
Platforms tested:
    Cray T3E (mcurie)
2000-11-30 15:34:01 -05:00
Bill Wendling
b9fdce5fb4 [svn-r3042] Purpose:
Messed up
Description:
	The compile line doesn't like the -dlopen self flag...
Solution:
	removed
Platforms tested:
	Eirene
2000-11-30 15:33:13 -05:00
Quincey Koziol
166ae9dabe [svn-r3041] Purpose:
Bug fix
Description:
    Compiler on Cray T3E has a weird problem with operations on size_t
    variables.
Solution:
    Change comparison to make Cray T3E happy.
Platforms tested:
    Cray T3E (mcurie)
2000-11-30 15:33:09 -05:00
MuQun Yang
f686e853aa [svn-r3040]
Purpose:
    bug_fix
Description:
    forget changing offset from file offset into memory offset when inserting array datatype
Solution:
    correct them
Platforms tested:
    J90
2000-11-30 15:12:14 -05:00
Bill Wendling
0d62839e12 [svn-r3039] Purpose:
Oops.
Description:
	Forgot to make the libraries static since we're not certain that
	they can be shared...
2000-11-30 15:00:19 -05:00