Commit Graph

3881 Commits

Author SHA1 Message Date
MuQun Yang
cd0af12f66 [svn-r5075] Snapshot version 1.5 release 22 2002-03-21 08:49:57 -05:00
Bill Wendling
03463f4f94 [svn-r5074] Purpose:
Code Motion
Description:
	Removal of HDF4 from the configure/Makefiles. This is a precursor to
	the actual physical removal of the HDF4 tools from the HDF5 tree.
Platforms tested:
	Arabica, Dangermouse
2002-03-20 13:14:36 -05:00
Albert Cheng
27f237f4c0 [svn-r5072] Purpose:
Bug fix
Description:
    Old config assume compiler is the SGI compiler if it is not gcc.
    It would apply all SGI cc options to the $CFLAGS.  This would cause
    problem if a non-cc non-gcc compiler is used.
Solution:
    Verify the compiler is indeed the SGI compiler before applying all those
    cc specific options to the $CFLAGS.
Platforms tested:
    modi4, both parallel serial, gcc or cc, -64 or n32.
2002-03-19 23:45:55 -05:00
MuQun Yang
85353d080d [svn-r5070]
Purpose:
    1. fix a bug on all_withf90.zip
    2. update windows zlib library to 1.14 version
Description:
    1. somehow the workspace and project files were not totally updated on all_withf90.zip
       update it now.
    2. Update windows zlib library to the 1.14 version in responding to the security problem of zlib.
       This updating will not affect other platforms.
Solution:
Platforms tested:
     windows 2000
2002-03-19 09:39:57 -05:00
Albert Cheng
0ce6b8c9e6 [svn-r5068] Purpose:
Updated the help message to include the diff option.
2002-03-18 17:19:59 -05:00
Elena Pourmal
7b77f97188 [svn-r5066]
Purpose:
    Bug fix
Description:
    I borrowed function HDpackFstring from the HDF4 Library and
    left name unchanged. It causes linking problems for Fortran users
    that use both HDF4 and HDF5 Libraries in their applications.
Solution:
    Changed the name to be HD5packFstring
Platforms tested:
    Solaris 2.7
2002-03-14 15:12:12 -05:00
Pedro Vicente Nunes
34880b42a0 [svn-r5065]
Purpose:
    test the H5Dset_extend function
Description:
    changed the example for more easy debugging
Platforms tested:
    w2000, linux
2002-03-14 12:54:34 -05:00
Pedro Vicente Nunes
c33fd20d54 [svn-r5064]
Purpose:
    updated the H5D_update_chunk function
Description:
    removed some debugging code headers
Platforms tested:
    w2000, linux
2002-03-14 12:52:58 -05:00
Pedro Vicente Nunes
e739b76295 [svn-r5063]
Purpose:
    added a new function H5D_update_chunck that will update the chunk information; for the moment this function
    just has debugging of the b-tree

Platforms tested:
    w2000 , eirene
2002-03-13 17:22:44 -05:00
Pedro Vicente Nunes
64658d1f9f [svn-r5062]
Purpose:
    code clean up
Description:
    just some clean up of the functions H5D_set_extend and H5S_set_extend before the big change
    (changing chunk info in the b-tree struct of the dataset)
Platforms tested:
    w2000, eirene
2002-03-13 11:35:31 -05:00
Thomas Radke
bbc50c3a1f [svn-r5060]
Purpose:
    Bugfix
Description:
    Internally created socket wasn't closed
Solution:
    In my last commit I only fixed the case for sending data over a socket.
    There was also a resource leak for the receiving side where an internally
    created socket wasn't closed. Same wrong logical condition, same fix.
Platforms tested:
    Linux, SGI
2002-03-11 10:32:37 -05:00
Thomas Radke
6eea626ef0 [svn-r5059]
Purpose:
    Bugfix
Description:
    If the socket, used for data streaming by the Stream driver, was created
    by the driver itself, it did not close it after the file had been closed.
    A resource leak occured.
Solution:
    This bug was just introduced due to a logical condition.
    Fixing the condition solved the problem.
Platforms tested:
    Linux, SGI
2002-03-11 07:48:21 -05:00
Albert Cheng
235aa17446 [svn-r5058] Purpose:
Feature/bug fix
Description:
    The 'snapshot diff' command is run in all cases, even after the initial
    "snapshot diff" and hosts are polled to run the test.  It would not cause
    any harm except wasting time repeating diff'ing.  Also, the path is
    quite right to invoke snapshot by merely "bin/snapshot diff" since it
    has not "cd" to the right directory yet.
Solution:
    Added a new option of "-nodiff" to skip the special diff request.
    Then make "runtest" to call itself again with it to prevent
    any further unnecessary diff'ing.
Platforms tested:
    eirene
2002-03-10 22:49:16 -05:00
Albert Cheng
6531ce3b52 [svn-r5055] Purpose:
New feature
Description:
    "snapshot diff" will just run the diff and exit 0 is no significant
    differences found between current and previous versions.
    Runtest will try a "snapshot diff" and will skip test if no significant
    differences are found.
Platforms tested:
    eirene
2002-03-08 18:36:59 -05:00
Bill Wendling
918cc351d2 [svn-r5053] Purpose:
Bug-ish Fix
Description:
	"make check" would barf in this directory since there's not a
	"check:" target.
Solution:
	Added a ".PHONY" entry so that "make checks" and the like won't barf
	when they enter the pablo directory.
Platforms tested:
	Linux
2002-03-08 13:34:25 -05:00
Bill Wendling
877defd1bb [svn-r5052] Purpose:
Bug Fix
Description:
	The Fortran module files weren't being uninstalled.
Solution:
	Added them to the 'uninstall:' list...
Platforms tested:
	Linux
2002-03-08 13:33:04 -05:00
Bill Wendling
0e6d04d989 [svn-r5051] Purpose:
dpss removal
Description:
	Removed dpss module since we no longer have that in the source. Also
	fixed where the H5Tinit.c file was being looked for and how it was
	compiled...
Platforms tested:
	Linux
2002-03-07 19:09:05 -05:00
Bill Wendling
a8cd79f0b8 [svn-r5050] Purpose:
*sigh*
Description:
	Needed to point the sed script to the CORRECT pablo directory...
2002-03-07 19:01:51 -05:00
Bill Wendling
0b0630530c [svn-r5049] Purpose:
Bug Fix
Description:
	Needed more -I flags to catch some of the include files.
Solution:
	Added them. Cleaned up the way include files and -D defines were
	specified in the Makefile.
Platforms tested:
	Linux
2002-03-07 18:54:01 -05:00
Bill Wendling
6ab96eaf7a [svn-r5048] Purpose:
Bug Fixes
Description:
	Fixed some bugs. The CPPFLAGS wasn't being included into the
	Makefile. Also, there's a sed script which needed to be pointed to
	with the $(top_srcdir) macro.
Solution:
	Added @CPPFLAGS@ to the CPPFLAGS line and put $(top_srcdir)/ before
	the sed script file's name.
Platforms tested:
	Linux
2002-03-07 18:37:21 -05:00
Bill Wendling
30e5df679c [svn-r5047] Purpose:
Bug Fix
Description:
	Didn't need to test that the Pablo library had a function in it only
	that it was there.
Solution:
	Removed that check. Just checked if we can actually find the physical
	library and include files where the user tells us they're hiding.
Platforms tested:
	Linux
2002-03-07 17:51:34 -05:00
Bill Wendling
084c4ea9ee [svn-r5046] Purpose:
Bug Fix
Description:
	Fixed wrong test for the HAVE_PABLO flag. Was testing if it was not a
	null string when I should have been testing if it was equal to "yes".
Solution:
	Changed test so that it checks if it's equal to "yes" instead of
	non-null...
Platforms tested:
	Linux
2002-03-07 15:38:08 -05:00
Bill Wendling
cd6c3fdf9d [svn-r5045] Purpose:
New Feature Addition
Description:
	Added support for Pablo configuration by our configure script.
2002-03-07 15:27:38 -05:00
Bill Wendling
7ce0b23cd6 [svn-r5044] Purpose:
New Feature Addition
Description:
	Revamped Makefile for Pablo software so that it is an option in the
	global configure script that the user can specify with the
	"--with-pablo[=DIR]" command.
2002-03-07 15:26:10 -05:00
Bill Wendling
fd5e3d23af [svn-r5042] Purpose:
Bug Fix
Description:
	Some -I paths weren't included in the h5cc script. That would cause
	the compiler to fail if it was trying to find gass header files or
	the like.
Solution:
	Added the CPPFLAGS macro to the h5cc.in file so that it'll be there
	when it's generated. This will also include some -D options which we
	compiled the library with, like the LFS flags on Linux.

	Also changed the configure* files so that it will "chmod" the created
	h5cc file to 755 (executable) since that wasn't happening all the
	time...
Platforms tested:
	Linux
2002-03-07 15:07:40 -05:00
Binh-Minh Ribler
867e0c5316 [svn-r5041]
Purpose:
    Updated MANIFEST for removing all_lang.zip
2002-03-07 00:06:07 -05:00
Binh-Minh Ribler
c5b117cceb [svn-r5040]
Purpose:
    Removed file
Description:
    all_lang.zip was intended to be a copy of all.zip including other
    language APIs, such as Fortran and C++.  Yet, we later decided to
    add these APIs to all.zip directly and disable them by default; the
    user will enable his/her choice.  Thus, this file is no longer needed.
Platforms tested:
    None
2002-03-07 00:00:37 -05:00
Elena Pourmal
4dcb0766fc [svn-r5038]
Purpose:
    Bug fix
Description:
    Several C stub functions were not releasing allocated strings.
Solution:
    Fixed
Platforms tested:
    Solaris 2.7
2002-03-06 17:47:01 -05:00
Albert Cheng
aa5d82f9b0 [svn-r5037] Updated with added file.
Platforms tested:
    bin/chkmanifest
2002-03-06 09:49:10 -05:00
MuQun Yang
fc37285ca1 [svn-r5035]
Purpose:
    rearrange projects, erase more warnings, faster compiling
    fix a small bug in fortran building
Description:
     Previously every testing project includes h5test.c to deal with
       test initialization and clean up etc. So h5test.c is compiled dozens of
       times for each HDF5 building. It slows down the compiling time and
       shows more warnings(dozens of times warnings that h5test.c generates).

Solution:
     Make library called libtest.lib and libtestD.lib and connect this library
     with testing projects. In this way compiling time is shorter and warnings      are reduced.
Platforms tested:
     windows 2000
Note: HDF5 fortran debug dll test failed most tests. From the observation,
I suspect it is due to visual fortran compiler. Since debug dll passed all
in VS compiler.
2002-03-06 08:55:07 -05:00
Albert Cheng
a3c023c143 [svn-r5034] Purpose:
New feature
Description:
    Replacing the hardcoding of default version for snapshot test
    to a file, bin/snapshot_version.  This way, runtest and snapshot
    can be version neutral.  Makes maintenance easier.
Platforms tested:
    eirene.
2002-03-05 19:55:31 -05:00
Binh-Minh Ribler
e95f07dc6b [svn-r5032]
Purpose:
    Code cleanup
Description:
    DataType::convert: changed the 'nelmts' parameter from size_t to
	hsize_t according to hdf5 library change.
Platforms tested:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
2002-03-03 11:48:09 -05:00
Binh-Minh Ribler
22c5ce3c5f [svn-r5031]
Purpose:
    Minor bug fix
Description:
    Added #ifdef for windows about a #pragma
Platforms tested:
    IRIX64 (modi4)
2002-03-02 16:01:17 -05:00
Binh-Minh Ribler
0bb7111f43 [svn-r5030]
Purpose:
    Small bug fixing
Description:
    Replaced NULL by 0 for initializing or passing null "string".
    The problem showed up on platinum.
Platforms tested:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
    IA-32 Linux Cluster (platinum)
2002-03-01 16:10:29 -05:00
Binh-Minh Ribler
3f4184c6d3 [svn-r5029]
Purpose:
    Adding new member function
Description:
    Added PropList::copyProp according to the new api H5Pcopy_prop
    in the C library.  I'm still working on adding more tests so
    test for this will be added as well.
Platforms tested:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
    FreeBSD 4.4 (sleipnir)
2002-03-01 14:01:23 -05:00
Bill Wendling
2a576e3f85 [svn-r5028] Purpose:
Update
Description:
	Added the addition of the tlarge_objname.* files...
Platforms tested:
	Linux
2002-02-28 12:25:40 -05:00
Albert Cheng
2b8c251be6 [svn-r5026] Purpose:
Bug fix
Description:
    check-install was on the same make line with install.  They
    got run in parallel.
    Run check-install as a separate make action after make install is completed.
Platforms tested:
    Eirene
2002-02-28 10:51:00 -05:00
Albert Cheng
1e8161af38 [svn-r5024] Purpose:
Feature
Description:
    The output of multiple tests of one host used to all go to the same
    logfile.  It is harder to find the beginning of each test.
Solution:
    Added hour and minute (HHMM) into the logfile name.  Different
    tests should go to different files now.  If a second test starts
    within a minute of the previous test, their output will be all
    in the same file.  In the case, there are probably not that much
    output to worry.
Platforms tested:
    eirene
2002-02-28 10:10:30 -05:00
Bill Wendling
78e3463dbb [svn-r5023] Purpose:
Bug Fix
Description:
	There was a problem with having a lot of groups nested together. We
	could only handle 1024 characters at most, but, in a parallel program
	especially, it could occur that there were lots and lots of groups
	and would be more than 1024.
Solution:
	I made the "objname" part of the obj_t structure a pointer instead of
	a fixed size. Added code to allocate/deallocate the memory we need
	for it. Had to fix how the "prefix" was being handled in the h5dump
	program. It was also set to only 1024 characters in length. I made it
	dynamic.

	Added a test case...Go me!
Platforms tested:
	Linux, Solaris
2002-02-27 16:52:19 -05:00
Albert Cheng
f6ecbd18b0 [svn-r5020] Purpose:
Feature
Description:
    Use the new target of check-install instead of previous hand-made
    commands.
Platforms tested:
    eirene.
2002-02-27 14:46:46 -05:00
HDF Admin
30d5329208 [svn-r5019] Snapshot version 1.5 release 21 2002-02-27 14:43:34 -05:00
Albert Cheng
2ee629ddc7 [svn-r5018] Purpose:
Feature
Description:
    Added the check-install target to verify if installed software is
    working.  Currently only run "make check" in examples.
Platforms tested:
    eirene
2002-02-27 14:31:37 -05:00
Albert Cheng
e496106831 [svn-r5014] Purpose:
fetures
Description:
    The example code used to just run parallel I/O test in the current
    directory which is most likely where the program is compiled.
    In general, this directory is most likely not a parallel file system.
    Therefore, the example code often fails.
Solution:
    Add an option "-f <prefix>" for specifying the correct test files
    pathname prefix.  The program now requires an explicite file prefix
    either via the "-f" option or the environment variable $HDF5_PARAPREFIX.
    (With the proper setup of $HDF5_PARAPREFIX, the example code can run
    automatically in situtaions such as batch job or gmake check.)

    Also added feature to cleaup up the test files created.
    Of course, an added option "-c" to turn OFF the cleanup action.
Platforms tested:
    eirene, modi4, dangermouse (all parallel modes).
    modi4 (serial) just to verify it can compile.
2002-02-26 19:22:12 -05:00
Binh-Minh Ribler
7d1f2c7d1c [svn-r5013]
Purpose:
    For adding INSTALL_Windows_withcpp.txt
2002-02-26 10:10:04 -05:00
Binh-Minh Ribler
29581b5137 [svn-r5012] Purpose:
Windows support
Description:
    Added the install file to 1.5 specifically for C++ API on Windows.
2002-02-26 10:02:32 -05:00
Bill Wendling
c78139de47 [svn-r5009] Purpose:
Oops
Description:
	I added files for testing the group comments dumping feature, but
	didn't actually add it to the testh5dump.sh script.
Solution:
	Added it.
Platforms tested:
	Linux
2002-02-25 18:12:17 -05:00
Bill Wendling
6a22514a56 [svn-r5008] Purpose:
Test Add
Description:
	Added a test for dumping files with the multi driver.
Platforms tested:
	Linux
2002-02-25 18:06:26 -05:00
Bill Wendling
e3458407ef [svn-r5007] Purpose:
Update
Description:
	Updated with the newest testfiles.
Platforms tested:
	Linux
2002-02-25 17:40:32 -05:00
Bill Wendling
4263340afa [svn-r5006] Purpose:
Test Addition
Description:
	Added tests to the h5dumper for split and family file drivers.
Platforms tested:
	Linux
2002-02-25 17:38:47 -05:00
Binh-Minh Ribler
bf543b4edb [svn-r5005] Purpose:
DLL accommodation

Description:
    In the inline constructor below:
        DSetCreatPropList() : PropList( H5P_DATASET_CREATE) {}
    H5P_DATASET_CREATE causes the famous "unresolved symbol" error
    when building the Release version of dsets_cpp with DLL.
    H5P_DATASET_CREATE uses H5P_CLS_DATASET_CREATE_g, which is
    imported from hdf5dll.  The inline constructor used in dsets.cpp
    causes the use of H5P_CLS_DATASET_CREATE_g, which is then
    considered undefined because dsets_cppdll is not using hdf5dll.
    This only occurs in the Release version because the Debug build
    disables inline.

Solution:
    Made the affected constructor not inlined, i.e., its implementation
    went in the cpp file.
    Note that this problem does not occur in 1.4 branch because
    H5P_DATASET_CREATE was defined differently, i.e., did not involve
    external storage.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
    Windows 2000
2002-02-24 23:34:54 -05:00