Commit Graph

4825 Commits

Author SHA1 Message Date
MuQun Yang
38da700aa8 [svn-r6781] Purpose:
Add a little more comments on where to put DLL.

Description:
User can put HDF5DLL in the place where the application can find.
It doesn't have to be at system directory.

Solution:
Add comments to "only suggest the user to use system directory".


Platforms tested:
text file, no need to be tested.

Misc. update:
2003-04-29 15:45:51 -05:00
Raymond Lu
11fe5b0657 [svn-r6780] Purpose: Backward compatibility change
Description: 1.4 compatibility for H5G_obj_t type and H5Zregister test.

Solution: use macro H5_WANT_H5_V1_4_COMPAT

Platforms tested: h5committest
2003-04-29 14:49:49 -05:00
Raymond Lu
b58192dfe7 [svn-r6779] Purpose: Backward compatibility change
Description: 1.4 compatibility for H5G_obj_t type and H5Zregister test.

Solution: use macro H5_WANT_H5_V1_4_COMPAT

Platforms tested: h5committest
2003-04-29 14:49:48 -05:00
MuQun Yang
67985f540f [svn-r6778] Purpose:
Update stdio driver supported on windows

Description:
To tell users how to set and use stdio driver.

Solution:

Platforms tested:
Text file doesn't have to be tested.

Misc. update:
2003-04-29 14:28:40 -05:00
MuQun Yang
f555485a00 [svn-r6777] Purpose:
A bug fix for windows.
Description:
Many tests failed on windows when stdio driver is on.
I suspect it is the compiler bug.
After some investigation, the symptom is:
The signature of HDF5 file cannot be found.
The real problem is the signature was appended at the end of the whole
file instead of inserting at the starting of the file.
It seems when the file pointer(signature) is reset to the starting of the file,
windows mis-placed it to the end of the file after finding the file is close to
the end.

Solution:
Fortuately, ftell and fseek still function well on windows,
so I use ftell and fseek to force the file pointer to go to the position it is supposed
to go.

Platforms tested:
since the only change in this file is within ifdef WIN32 macro; it won't
affect the mainstream platforms, so I don't have to three platforms.

Platforms to confirm(test with basic function): Linux 2.4
Platforms to throughly test: windows 2000 with VS6.0
test on three different

Misc. update:
2003-04-29 14:13:21 -05:00
Pedro Vicente Nunes
6c21457720 [svn-r6776] Purpose:
removed and change comments

Description:
removed the modification  comment about the while loop, it is not sufficiently important to be there
changed the "Id to name" comment in the test description, it was incorrecly about other thing

Solution:

Platforms tested:
none , just comments

Misc. update:
2003-04-29 12:30:16 -05:00
Pedro Vicente Nunes
2faf013f73 [svn-r6775] Purpose:
removed one h5diff testfile, that was accidentely left there

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-29 09:57:43 -05:00
Elena Pourmal
5546c22361 [svn-r6774]
Purpose: Windows maintenance

Description: New C tests were never added to the Fortran Work Space.

Solution: Added new C tests to the Fortran Work Space

Platforms tested: Windows
                  Static tests pass, DLL fails. Sigh...

Misc. update:
2003-04-28 19:03:34 -05:00
Elena Pourmal
2db5bd023a [svn-r6773]
Purpose: Windows maintenance and code cleanup

Description: There were a lot of places in the source code where varibale
             was declared but never used.

Solution: Cleaned the source code to avoid warnings on Windows and Unix
          platforms.

Platforms tested: arabica, modi4, Windows
                  Probably my environment is wrong on Linux, cannot
                  compile at all when fortran is enabled
                  If daily tests fails tomorrow, this will be my fault
                  but I want to go home now :-)

Misc. update:
2003-04-28 19:01:04 -05:00
Elena Pourmal
e42dba5336 [svn-r6772]
Purpose: Windows maintenance and code cleanup

Description: There were a lot of places in the source code where varibale
             was declared but never used.

Solution: Cleaned the source code to avoid warnings on Windows adn Unix
          platforms.

Platforms tested: arabica, modi4, Windows
                  Probably my environment is wrong on Linux, cannot
                  compile at all when fortran is enabled
                  If daily tests fails tomorrow, this will be my fault
                  but I want to go home now :-)

Misc. update:
2003-04-28 19:00:22 -05:00
Pedro Vicente Nunes
c37bcc12fc [svn-r6771] Purpose:
added more tests, described in the test matrix

Description:
test -r
test -l
expanded -d, -p and -n tests
test different types to include links and named types
test for non supported classes, e.g bitfield, opaque , etc

Platforms tested:
 Linux 2.4 (rockaway)
 SunOS 5.7 (arabica)
 IRIX 6.5 (modi4)

Misc. update:
2003-04-28 18:56:32 -05:00
Pedro Vicente Nunes
23a8546574 [svn-r6770] Purpose:
added testfiles for h5diff

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-28 18:51:14 -05:00
Albert Cheng
51dd09ec04 [svn-r6769] Purpose:
Minor improvement

Description:
Moved the H5FD_mpio_Debug initialization to H5FD_mpio_init() so
that it is done only once instead of every file open.

Fixed blocked out patch that checks on INFO object so that
H5FD_mpio_Debug can be set via the INFO object.

(All these had been done to v1.4, now folded them int v1.5)

Platforms tested:
Did not h5committest since this is purely parallel code.
The changes were made in an isolated copy in Copper.
Tested in Copper parallel.

Misc. update:
2003-04-28 18:08:35 -05:00
Bill Wendling
158d164b91 [svn-r6768] Purpose:
Bug Fix

Description:
	The compression stuff includes the "zlib.h" header file. This
	file on the SP machine was including another file which would
	#define const as nothing if the compiler wasn't a Standard C
	compiler.

Solution:
	Included a flag to make the compiler into an ANSI compiler.

Platforms tested:
	Blue (Only affects powerPC computers)

Misc. update:
2003-04-28 17:24:07 -05:00
Albert Cheng
83b2e3213a [svn-r6767]
Purpose:
Code cleanup

Description:
Removed debug statement bracketed by H5FDmpiposix_DEBUG or alike.
They were added in by mistakes.

Platforms tested:
Did not h5committested but tested in Copper since there changes are
limited in parallel codes.

Misc. update:
2003-04-28 16:06:40 -05:00
Bill Wendling
ebb263afa6 [svn-r6765] Purpose:
Bug Fix

Description:
    If there was a header file with a path like:

        /some/path/mpich.optimized/...

    The dependencies script would change that to

        /some/path/mpich.loptimized/...
                         ^--Note.

Solution:
    Mike McKay offered the solution to replace the substitution script
    from "s/\.o/\.lo/g" to "s/\.o(\b)/\.lo$1/g". It doesn't crash when
    run on Linux, but we need to make sure that it's okay for his
    machine.

Platforms tested:
    Linux, since this script is only run on GNU platforms.

Misc. update:
2003-04-28 13:39:41 -05:00
Albert Cheng
7da63ba3c2 [svn-r6764] Purpose:
Improvment

Description:
No default setting of fortran compiler when --enable-parallel is
used.

Solution:
Changed it to use mpxlf_r as the default parallel fortran compiler.
This is consistent with the default C compilers.

Platforms tested:
Did not h5committested because the changes were made offsite.
Tested in LLNL SP BLUE, both serial and parallel modes.
(There is a compiling error in src but the configure result are
verified.)

Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2003-04-28 12:42:36 -05:00
HDF Admin
6b7a945a65 [svn-r6761] Snapshot version 1.5 release 51 2003-04-26 05:03:11 -05:00
Albert Cheng
257e698ee0 [svn-r6759] Purpose:
bug fix

Description:
The default of CC used to be gcc which is not compatible with the
default fortran compiler of xlf.

Solution:
Copied the CC default setting from the C-API level.

Platforms tested:
Run test in Copper since this is a purely AIX change.

Misc. update:
2003-04-25 23:15:57 -05:00
Elena Pourmal
156bf14dbf [svn-r6757]
Purpose: Bug fix

Description: on Cray T90IEEE compact storage test (in test_misc8)
             fails since dataset dimensions are too big; dataset
             will not fit into the message header.

Solution: Reduced dimension sizes from 100 to 50.

Platforms tested: h5committested on arabica and mod4; verbena failed
                  because of the F90 license problem. I tested on verbena
                  by hand and C only; Cray T90IEEE

Misc. update:
2003-04-25 16:39:09 -05:00
Raymond Lu
b11c892b4f [svn-r6756]
Purpose: Verify library behavior

Description: A file is first opened as read only.  Then it's closed with
	an object left open.  A second open of the same file for read and
	write should fail.


Platforms tested: arabica - simply test to verify correct library behavior.
2003-04-25 15:55:10 -05:00
Albert Cheng
d76dfb1985 [svn-r6755] Purpose:
feature

Description:
added test_fapl_mpiposix_dup to verify the MPIPOSIX is making
duplicates of Communicator correctly.

Platforms tested:
Did not h5committested because these are all MPI code and well protected
by HAVE_PARALLEL.
Tested in eirene and modi4, both parallel mode.

Misc. update:
2003-04-25 09:27:36 -05:00
Albert Cheng
7f6ece1329 [svn-r6754] Purpose:
Feature

Description:
Added the feature to store and return a duplicate of Communicator in
the access of property list and file operations.  (no duplicate for
INFO object because MPIPOSIX driver does not process INFO object.


Platforms tested:
Did not h5committested because these are all MPI code and well protected
by HAVE_PARALLEL.
Tested in eirene and modi4, both parallel mode.

Misc. update:
2003-04-25 09:25:26 -05:00
Albert Cheng
d2bdbd0480 [svn-r6753] Purpose:
Code cleanup

Description:
Replaced the comm/info freeing with H5FD_mpio_comm_info_free to make
it cleaner and consistent.
Replaced couple FUNC_LEAVE_NOAPI(SUCCEED) with FUNC_LEAVE_NOAPI(ret_value).
These were bugs since it was possible errors may occur at FUNC_ENTER...()
time and this hardcoding would not report those errors.
Documented some modification history.


Platforms tested:
Did not h5committested because these are all MPI code and well protected
by HAVE_PARALLEL.
Tested in eirene and modi4, both parallel mode.

Misc. update:
2003-04-25 09:21:16 -05:00
Quincey Koziol
0462c0bc2c [svn-r6752] Purpose:
Code cleanup

Description:
    Remove some cruft left over from the switch from int->H5G_obj_t

Platforms tested:
    FreeBSD 4.8 (sleipnir), triple check not necessary.
2003-04-25 07:10:44 -05:00
Quincey Koziol
f023da1e3f [svn-r6750] Purpose:
Code cleanup

Description:
    Christi Forsythe reported that the NGROUPS macro in this file was causing
a macro redefinition warning on the QT machine.

Solution:
    Rename NGROUPS to UNLINK_NGROUPS

Platforms tested:
    Eyeballed, too trivial for triple check.
2003-04-25 06:41:18 -05:00
Bill Wendling
fa74a2e1e2 [svn-r6749] Purpose:
Update

Description:
    The H5FC was already in this doc...but under "bug fixes". Removed
    that since it's really a new feature.

Platforms tested:
    IBM/PC Jr.

Misc. update:
2003-04-24 17:31:50 -05:00
Bill Wendling
0c936cb876 [svn-r6748] Purpose:
Bug Fix

Description:
    In parallel mode, the MPI libraries were being added to the LDFLAGS
    variable instead of the LIBS variable. This was playing havoc with
    the h5fc script (the order you specify libraries is important to some
    compilers).

Solution:
    The AC_CHECK_FLIB macro was placing these libraries into the LDFLAGS
    instead of LIBS, which is where they should have gone. Replaced
    LDFLAGS with LIBS in that case.

Platforms tested:
    Modi4 (Parallel & Fortran)
    Arabica (Fortran)
    Verbena (Fortran, no C++ since it's not affected)

    Ran "make check-install" after installation...

Misc. update:
2003-04-24 16:08:43 -05:00
Bill Wendling
57c41e622b [svn-r6747] Purpose:
Bug Fix

Description:
    On Kelgia, building of the Fortran stuff would fail because of a bad
    commandline. A "" was being put into it.

Solution:
    I was stupid and put quotes around a variable in the commence.in file
    when I shouldn't have. Removed those quotes.

Platforms tested:
    Kelgia (Fortran)
    Verbena (Fortran, no C++ since Fortran only)
    Arabica (Fortran)
    Modi4 (Fortran & Parallel)

Misc. update:
2003-04-24 15:24:20 -05:00
Bill Wendling
68b1950013 [svn-r6746] Purpose:
Bug Fix

Description:
    When going to compile on a platform (like HP-UX) which doesn't have
    libz.a in it's path, the script would fail. The reason was that the
    LDFLAGS variable which holds the directories to these libraries was
    last in the compile line. So the compiler couldn't find the library

Solution:
    Put the LDFLAGS variable before the linker variables.

Platforms tested:
    Kelgia (Fortran)
    Verbena (Fortran, no C++ since only Fortran affected)
    Arabica (Fortran)
    Modi4 (Fortran & Parallel)

    Also ran "make check-install"

Misc. update:
2003-04-24 15:22:43 -05:00
Bill Wendling
690e832bec [svn-r6745] Purpose:
Update

Description:
    Didn't document the addition of the h5fc script.

Solution:
    Document that puppy!

Platforms tested:
    Eyes 2000, Millenium Edition

Misc. update:
2003-04-24 15:20:44 -05:00
Raymond Lu
6818f6e981 [svn-r6744]
Purpose: A little code rewriting

Description: object types were defined as macros in H5Gpublic.h

Solution: changed them to enumerate type

Platforms tested: h5committtest
2003-04-24 15:15:42 -05:00
Albert Cheng
4fa8fe270c [svn-r6741] Purpose:
code cleanup.

Description:
Rename test_comm_info_delete to test_fapl_mpio_dup to better decribe
what it does.  Updated the comments to describe more accurate.

Platforms tested:
Did not run h5commmittest since the changes were all in parallel area.
Ran parallel tests on modi4 and eirene.

Misc. update:
2003-04-23 16:19:51 -05:00
Albert Cheng
d98f0d77c1 [svn-r6740] Purpose:
simple code cleanup.

Description:
While debug a problem in multiple_group_write(), noticed some returned
values were not checked.  Added code to check on all returned code.

Platforms tested:
h5committested.

Misc. update:
2003-04-23 15:21:44 -05:00
Bill Wendling
7927acd7f3 [svn-r6739] Purpose:
Bug Fix

Description:
    H5FC was failing on Copper (IBM P690). The reason: the xlf compiler
    needs files to end in .f in stead of .f90. If you have .f90 files,
    you need the "-qsuffix=f=f90" flag defined. This was defined for
    compiling things via the "-c" option (to object files) but not for
    straight compilation of a file.

    I also noticed that the directory modules were being extracted from
    was "." and "../src". H5FC would find these alright when doing a
    "make check-install" but if Suzie User were to try this, it might
    fail for her. Suzie would have to specify explicitly where to grab
    these files.

Solution:
    The solution to the problem was a bit more involved. I added a new
    variable called "F9XSUFFIXFLAG" which is set to this value if the
    machine needs it.

    Added new variable called "FSEARCH_DIRS" which can be set to the
    directories to find modules during compilation. The H5FC script knows
    where to find the correct modules (it's in the lib/ directory), so it
    uses the F9XMODFLAG to find them and not the FSEARCH_DIRS flag.

Platforms tested:
    Modi4 (Fortran & Parallel)
    Verbena (Fortran) C++ not needed since this is Fortran-only fix
    Arabica (Fortran)
    Copper (Fortran)

    Ran "make install" and "make check-install" afterwards...

Misc. update:
2003-04-23 14:25:58 -05:00
Quincey Koziol
46cb3df9f5 [svn-r6738] Purpose:
Code cleanup

Description:
    Add & improve assertion that was removed in last commit, to check for
    compact dataset storage.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    triple check not necessary.
2003-04-23 09:57:38 -05:00
Quincey Koziol
813168aa4d [svn-r6737] Purpose:
Update release notes

Description:
    Revise note about using -std=gnu99 for gcc 3.x to say -std=c99
2003-04-23 09:38:06 -05:00
Albert Cheng
4f923a56ca [svn-r6736] Purpose:
update

Description:
Added h5fc to the h5tools list.
Added feature that it will udpate tools that are present.
(Would still abort if no tools found at all.)

Platforms tested:
Did not h5committest since it does not test this tool at all.
Did various test in eirene by hand.

Misc. update:
2003-04-23 00:59:21 -05:00
Bill Wendling
8bbf1fb8e0 [svn-r6735] Purpose:
Update

Description:
    Ran "autoheader" to gather some of the added #defines that were
    included in the configure.in file over the months...

Platforms tested:
    Arabica & Baldric (Fortran)
    Modi4 (Parallel & Fortran)
    Verbena (C++ & Fortran)

    All with --enable-stream-vfd and doing a "make check-install".

Misc. update:
2003-04-22 18:07:30 -05:00
Bill Wendling
ccd5f5d41e [svn-r6734] Purpose:
Bug Fix

Description:
    The h5fc script couldn't find the correct libraries needed when it
    was used on Solaris and the --enable-stream-vfd was enabled.

Solution:
    Added checks for the -lnsl and -lsocket libraries if we're on Solaris
    or HP-UX.

Platforms tested:
    Arabica & Baldric (Fortran)
    Modi4 (Parallel & Fortran)
    Verbena (C++ & Fortran)

    All with --enable-stream-vfd and doing a "make check-install".

Misc. update:
2003-04-22 18:06:53 -05:00
Albert Cheng
f2d684c9a0 [svn-r6733] Purpose:
Updated with the check-install changes.

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-22 17:54:41 -05:00
Albert Cheng
a10961f0cd [svn-r6732] Purpose:
Bug fix and feature

Description:
The patch to Makefile.in failed if an empty directory of fortran/examples
was left behind by a previous build.

Solution:
Attempted to put it in config/conclude.in just became a mess since
it is hard to predict when we will include examples in the subdirs
or not.
Borrow the structure of install-examples and do some handcode per
interface.  The Makefile.in of each interface (C, Fortran, C++)
controls everything.  Not very systematic but pretty clean for this
case.

Platforms tested:
h5committested.
Also tested in modi4 with various combinations of fortran, c++
enabled.

Misc. update:
2003-04-22 17:52:25 -05:00
Raymond Lu
696b504a37 [svn-r6731]
Purpose: handling special case

Description: This fletcher32 didn't handle Cray's special data type sizes.


Platforms tested: h5committested.  Cray
2003-04-22 11:54:13 -05:00
Raymond Lu
4447d4e5c7 [svn-r6730]
Purpose: New tests added.

Description: test VL data for compact dataset; test compact dataset's
	     maximal size.


Platforms tested: h5committested
2003-04-22 11:23:42 -05:00
Raymond Lu
3f620fc1e1 [svn-r6729]
Purpose: bug fix

Description: VL datatype in compact dataset fails because a wrong type size
	     is used.

Platforms tested: h5committested

Misc. update:
2003-04-22 11:20:25 -05:00
Albert Cheng
7b976dd7a3 [svn-r6728] Purpose:
Silly bug fix.

Description:
Forgot to put the comm/info duplication code in.

Solution:
Put them back in.

Platforms tested:
Did not run h5committest since the changes are all in the MPIO driver code.
Tested on eirene and Modi4, both parallel modes.

Misc. update:
2003-04-22 00:50:12 -05:00
Albert Cheng
1b9ecb6a01 [svn-r6726] Purpose:
Updated with the added tool of h5fc and fortran/examples checking with
the h5fc tool.
2003-04-21 21:35:09 -05:00
Albert Cheng
e9a9dff3e3 [svn-r6725] Purpose:
Feature

Description:
Added a simple way to run make check in the fortran/examples too.
This would be a good exercise of the installed h5fc command.
(A more systematic way, similar to install-examples, should be
implemented.)

Platforms tested:
h5committested--that only made sure the change did not break anything.
Also tested "make check-install" in modi4 to make sure the changes do
work.

Misc. update:
2003-04-21 21:27:47 -05:00
Bill Wendling
fce396c5a7 [svn-r6724] Purpose:
Commenting

Description:
    Added comments to the H5Fget_access_plist function to remind people
    that if they are going to be overwriting a value in the plist which
    was originally opened and inserted into the plist, then it should be
    closed before overwriting that value.

Platforms tested:
    Modi4 (Only comment change, so no h5committest needed).

Misc. update:
2003-04-21 17:43:12 -05:00
Pedro Vicente Nunes
bdaf33ca5a [svn-r6723] Purpose:
changed the h5pubconf.h file the MALLOC_WORKS definition
for code warrior , which is #undef
this is because pt=malloc(0) returns 0 in code warrior
and was causing a failure in the config_malloc_test


Platforms tested:
code warrior

Misc. update:
2003-04-21 17:30:02 -05:00