Commit Graph

4786 Commits

Author SHA1 Message Date
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
Pedro Vicente Nunes
48d942b756 [svn-r6722] Purpose:
removed specific code warrior debugging information


Platforms tested:
code warrior

Misc. update:
2003-04-21 17:27:36 -05:00
Pedro Vicente Nunes
8203a4ce4e [svn-r6721] Purpose:
bug fix

Description:
in the close strong case in H5F_close there was a do..while loop
that executed when nfiles==0, calling malloc(0)
this was causing a failure in the close call in Code Warrior, that returns 0
in the call pt=malloc(0)

Solution:
replaced with a while loop (checks the condition before executing)

Platforms tested:
code warrior, linux

Misc. update:
2003-04-21 17:26:32 -05:00
Bill Wendling
535172c8fb [svn-r6720] Purpose:
Bug Fix

Description:
    A resource leak happened if the H5Fget_access_plist() function was
    called. What was happening: the driver ID and info parts of the
    property list copied in H5Fget_access_plist were being overwritten,
    but those properties were copied initially, so we lost information.

    Added calls to the H5Fget_access_plist function to get the PList and
    then immediately close it. It would cause an infinite loop if there
    is a resource leak.

Solution:
    Before copying over those values, call the H5F_acs_close() function
    to close those values.

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

Misc. update:
2003-04-21 13:30:55 -05:00
Bill Wendling
099e781c61 [svn-r6719] Purpose:
Bug Fix

Description:
    A resource leak happened if the H5Fget_access_plist() function was
    called. What was happening: the driver ID and info parts of the
    property list copied in H5Fget_access_plist were being overwritten,
    but those properties were copied initially, so we lost information.

Solution:
    Before copying over those values, call the H5F_acs_close() function
    to close those values.

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

Misc. update:
2003-04-21 13:30:09 -05:00
Albert Cheng
9e3ab7e5d2 [svn-r6718] Purpose:
bug fix

Description:
The fphdf5.o and similar files are not included in the make clean
target.  So, if the same directory is used again for a different
build, the left behind file could cause a problem (e.g., if
the second build is for a different binary format.)

Solution:
Added fphdf5.c to the TEST_SRC list which indirect form the clean
target list.

Platforms tested:
Did not run h5committest tests because they don't verify this
failure.  I tested the fix in modi4 pp to verify all files are cleaned.

Misc. update:
2003-04-19 21:10:15 -05:00
Albert Cheng
11d5709f1e [svn-r6715] Purpose:
updated.

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-18 08:34:08 -05:00
Albert Cheng
6bf4a73c6c [svn-r6714] Purpose:
Feature

Description:
Test program for the Flexible PHDF5 feature.

Platforms tested:
Tested on modi4 before but the feature is currenly disabled in
configure.  Checking this in for future work.

Misc. update:
2003-04-18 08:32:18 -05:00
Albert Cheng
8eb1a6150f [svn-r6711] Purpose:
Bug fix

Description:
Sometimes when H5detect fails (incorrect code, incorrect mpi launch
command, insufficient resources,...), it generates an incomplete or
even empty H5Tinit.c file.  If the empty file is not removed but
the make is run again, make will just use the empty file to generate
the library which will have lots of missing routines.  Make won't
fail until much later and the missing routines would be puzzling
to inexperienced users.

Solution:
If H5detect fails, the generated H5Tinit.c will be removed unless
$HDF5_Make_Ignore is set.  This is similar to removing .o file if
the compile fails.

Platforms tested:
Copper (parallel) which has a condition causing H5detect to fail.
That verified the change works.
Eirene (parallel) in which H5detect runs well.  This verified the
change works in normal conditions too.
Did not do the h5committest because this is just a makefile change
and the above two tests covered it well.

Misc. update:
2003-04-17 23:30:26 -05:00
Albert Cheng
32bcb46b23 [svn-r6710] Purpose:
updated with added file, testpar/t_ph5basic.c

Platforms tested:
bin/chkmanifest

Misc. update:
2003-04-17 22:07:43 -05:00
Albert Cheng
49fa61246e [svn-r6709] Purpose:
Bug fixes/API changes

Description:
    Previously, the Communicator and Info object arguments supplied
    to H5Pset_fapl_mpio() are stored in the property with its handle
    values.  This meant changes to the communicator or the Info object
    after calling H5Pset_fapl_mpio would affect the how the property
    list function.  This was also the case when H5Fopen/create operated.
    They just stored the handle value.  This is not according to the
    MPI-2 defined behavior of how Info objects should be handled. (MPI-2
    defines Info objects must be parsed when called.)
    The old design was trying to avoid numerous duplicates of the same
    information (e.g., every property object holds one version, every
    file opened holds another version, when all of them are referring to
    the same original version.)  Nevertheless it is safer to implement
    it according to MPI-2 definition.
    Futhermore, the library often needs to do message passing using the
    supplied communicator.  Using the same communicator as the application
    version may result in some messages mix up.
Solution:
    H5Pset_fapl_mpio now stores a duplicate of each of the communicator
    and Info object.
    H5Pget_fapl_mpio returns a duplicate of its stored communicator and
    Info object.  It is now the responsibility of the applications to free
    those objects when done.
    H5Fopen/create also stores a duplicate of the communicator and Info
    object supplied by the File Access Property list.
    H5Fclose frees those duplicates.
    There are a few more internal VFL call back functions that they
    follow this "make duplicates" requirement.

Platforms tested:
"h5committested".
What other platforms/configurations were tested?
    Eirene (mpicc), sol(mpicc), copper(parallel)

Misc. update:
Need to update MANIFEST for the added t_ph5basic.c which tests the
correctness of duplicated communicator and INFO object.
2003-04-17 22:04:56 -05:00
Albert Cheng
3585f15d91 [svn-r6708] Purpose:
Bug fixes/API changes

Description:
    Previously, the Communicator and Info object arguments supplied
    to H5Pset_fapl_mpio() are stored in the property with its handle
    values.  This meant changes to the communicator or the Info object
    after calling H5Pset_fapl_mpio would affect the how the property
    list function.  This was also the case when H5Fopen/create operated.
    They just stored the handle value.  This is not according to the
    MPI-2 defined behavior of how Info objects should be handled. (MPI-2
    defines Info objects must be parsed when called.)
    The old design was trying to avoid numerous duplicates of the same
    information (e.g., every property object holds one version, every
    file opened holds another version, when all of them are referring to
    the same original version.)  Nevertheless it is safer to implement
    it according to MPI-2 definition.
    Futhermore, the library often needs to do message passing using the
    supplied communicator.  Using the same communicator as the application
    version may result in some messages mix up.
Solution:
    H5Pset_fapl_mpio now stores a duplicate of each of the communicator
    and Info object.
    H5Pget_fapl_mpio returns a duplicate of its stored communicator and
    Info object.  It is now the responsibility of the applications to free
    those objects when done.
    H5Fopen/create also stores a duplicate of the communicator and Info
    object supplied by the File Access Property list.
    H5Fclose frees those duplicates.
    There are a few more internal VFL call back functions that they
    follow this "make duplicates" requirement.

Platforms tested:
"h5committested".
What other platforms/configurations were tested?
    Eirene (mpicc), sol(mpicc), copper(parallel)

Misc. update:
2003-04-17 22:03:52 -05:00
MuQun Yang
7c832af9aa [svn-r6707] Purpose:
A compiling error fixed for windows only

Description:
Use file handler instead of file stream  at H5FDstdio.c when using getfileHandle function of windows.

Solution:
see above, however; stdio driver tests failed on windows. I am still investigating the bug.
The current check will not fix the failure of stdio driver test on windows.
The good news is that it won't affect the release since the default driver used for test is sec2 driver and
all tests passed for sec2 driver on windows.

Platforms tested:
windows 2000 and confirmed at Linux.
Since the only change is two-line code inside #ifdef WIN32 #endif macro block,
it is not necessary to test all UNIX platforms. Still confirmed at eirene.

Misc. update:
2003-04-17 17:19:17 -05:00
Pedro Vicente Nunes
9dacf3d56b [svn-r6706] Purpose:
added test files for h5diff
:

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-17 16:07:32 -05:00
Frank Baker
e6bd0196c3 [svn-r6705]
Purpose:
    Add new functions.
    Rewrite existing function.

Description:
    Added H5get_vfd_handle and H5get_obj_ids.
    Rewrote H5get_obj_count: function description was incomplete
        and 2 (of 3) parameters were missing.

Platforms tested:
    Safari, IE 5
2003-04-17 16:06:07 -05:00
Frank Baker
e68390cdc5 [svn-r6704]
Purpose:
    Add new function.

Description:
    Added H5set_free_list_limits.

Platforms tested:
    Safari, IE 5
2003-04-17 16:02:41 -05:00
Frank Baker
242f50e03e [svn-r6703]
Purpose:
    Add new function
    Add note regarding intentionally undocumented function

Description:
    Added H5Dget_offset.
    H5Ddebug -- Added note in HTML-coded comment that this function,
        while technically public, is not intended for public use and
        should not be listed in the RM.

Platforms tested:
    Safari, IE 5
2003-04-17 16:01:09 -05:00
Frank Baker
21716f5a20 [svn-r6702]
Purpose:
    Add new function

Description:
    Added H5Iget_name.

Platforms tested:
    Safari, IE 5
2003-04-17 15:57:43 -05:00
Pedro Vicente Nunes
a0acc67bdb [svn-r6701] Purpose:
added the testfiles below

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-17 15:54:57 -05:00
Pedro Vicente Nunes
4147628137 [svn-r6700] Purpose:
added tests 1.7, 1.8, 1.9 described in the test matrix

Description:

Solution:

Platforms tested:

Linux/rockaway(C)
SunOS/arabica (C)
SGI/modi4 (C)


Misc. update:
2003-04-17 15:53:06 -05:00
Frank Baker
053cde0b33 [svn-r6699]
Purpose:
    Removed reference to discontinued API
    Changes reflecting renamed section of RM

Description:
    Removed reference to H5RA, ragged arrays.
    Made edits reflecting the H5Z change from "Compression" to
        "Filters & Compression."

Platforms tested:
    Safari, IE 5
2003-04-17 15:24:30 -05:00
Frank Baker
d381b5be8d [svn-r6698]
Purpose:
    Comment out functions not in R1.6

Description:
    Commented out these hyperslab functions since they are not "turned on"
    for Release 1.6:
        h5scombine_hyperslab_f
        h5scombine_select_f
        h5sselect_select_f

Platforms tested:
    Safari, IE 5
2003-04-17 15:19:14 -05:00
Frank Baker
155171fd2e [svn-r6697]
Purpose:
    Add new function
    Add operands to 2 existing functions
    Comment out functions not in R1.6

Description:
    H5Sget_select_type --  Added new function.
    H5Sselect_hyperslab -- Added operands H5S_SELECT_AND, H5S_SELECT_XOR,
            and H5S_SELECT_NOTB, H5S_SELECT_NOTA.
        Reformatted part of Description source code, with minor copy-edits.
    H5Sselect_elements -- Added operands H5S_SELECT_APPEND, H5S_SELECT_PREPEND.
    Commented out these hyperslab functions since they are not "turned on"
        for Release 1.6:
        H5Scombine_hyperslab
        H5Scombine_select
        H5Sselect_select
        and the corresponding FORTRAN routines

Platforms tested:
    Safari, IE 5
2003-04-17 15:18:14 -05:00
Frank Baker
ea7491e8eb [svn-r6696]
Purpose:
    Add new function

Description:
    Added H5Pset_szip

Platforms tested:
    Safari, IE 5
2003-04-17 14:56:08 -05:00
Pedro Vicente Nunes
1f7002f469 [svn-r6695] Purpose:
test files
2003-04-17 11:52:33 -05:00
Pedro Vicente Nunes
3bff6431c7 [svn-r6694] Purpose:
added some niceties and utilities, and more tests

Description:
some niceties: more error messages on cases of bad input
utilities: some functions to more human readable output
more tests: described in the test matrix


Platforms tested:

Linux/rockaway(C)
SunOS/arabica (C)
SGI/modi4 (C)
2003-04-17 11:50:56 -05:00
Pedro Vicente Nunes
8bb9ae4447 [svn-r6693] Purpose:
added more /tools/testfiles for h5diff

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-17 11:47:39 -05:00
Albert Cheng
3198f06a63 [svn-r6692] Purpose:
feature.

Description:
Added the option of "setenv3" which sets the environment variable
that has three components like env AR="ar -X 64".  It is another
kludge like setenv2.  Got to code in a better 'setenv' option.

Platforms tested:
Copper (because its -64 compiling needs that AR set as above).
Eirene (where it usually launches).
Did not do h5committest which does not test bin/runtest.

Misc. update:
2003-04-16 16:11:45 -05:00
Robert E. McGrath
e2d71db8b1 [svn-r6690]
Purpose:
Fix bug in ntypes.c test.

Description:
Large arrays on stack break MacOSX

Solution:
Move arrays to static variables.

Platforms tested:
pommier
sol
modi4

Misc. update:
2003-04-16 15:06:57 -05:00
Quincey Koziol
eb26303cf4 [svn-r6689] Purpose:
Bug fix.

Description:
    The stdio filer driver is not reducing the file's size in the manner
that the sec2 driver does.

Solution:
    Copy code from the sec2 for handling this properly.

Platforms tested:
    h5committested
2003-04-16 14:24:05 -05:00
Bill Wendling
df785657a5 [svn-r6688] Purpose:
Bug Fix

Description:
    When using the STDIO driver, the dsets test would fail.

Solution:
    Need to flush the data to disk before doing an HDopen call.

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

Misc. update:
2003-04-16 14:06:15 -05:00
Elena Pourmal
f3a0dc2b3d [svn-r6687]
Purpose:  Windows port for 1.5 branch

Description:  Projects files were not up-to-date; Fortran and C libraries,
              and tests would not build.

Solution: Updated all projects and coresponding all_withf90.zip file

Platforms tested: Windows 2000
                  Only static tests (both debug and release) passed on Windows.
                  DLLs have multiple problems ;-)

Misc. update:
2003-04-15 17:40:36 -05:00
Elena Pourmal
b2a0a50eb1 [svn-r6686]
Purpose:  Windows port

Description:  Windows  cannot convert from _uint64_t to double. One of
              the tests (test_set_local) used conversion to fill a data
              buffer. Compilation failed on Windows.


Solution: Fixed the code not to use conversion

Platforms tested: CRAY T90IEEE, arabica, modi4 with parallel, Windows 2000
                  Only static tests (both debug and release) passed on Windows.
                  DLLs have multiple problems ;-)

Misc. update:
2003-04-15 17:38:18 -05:00
Elena Pourmal
0d5bd9fe3a [svn-r6685]
Purpose: Added copyright statement; cleaned code and fixed bugs for
         Windows and Cray T90IEEE

Description:  Windows and Cray ports exposed few typos in the source code
              that caused tests to fail

Solution: Added copyright statement and clean the code.

Platforms tested: CRAY T90IEEE, arabica, modi4 with parallel, Windows 2000
                  Only static tests (both debug and release) passed on Windows.
                  DLLs have multiple problems ;-)

Misc. update:
2003-04-15 17:34:43 -05:00
Elena Pourmal
4f6535b588 [svn-r6684]
Purpose: Added copyright statement; cleaned code and fixed bugs for
         Windows and Cray T90IEEE

Description: Fortran files did not have copyright statement; VL types
             did not work on T90IEEE since I never brought the correct code
             from 1.4 branch; there were compilation warnings on Windows;
             some character parameters were not passed correctly to C stubs
             causing tests to fail on Windows.

Solution: Added copyright statement and clean the code.

Platforms tested: CRAY T90IEEE, arabica, modi4 with parallel, Windows 2000
                  Only static tests (both debug and release) passed on Windows.
                  DLLs have multiple problems ;-)

Misc. update:
2003-04-15 17:33:39 -05:00
Elena Pourmal
daf98a37cd [svn-r6683]
Purpose: Added copyright statement

Description: Fortran examples files did not have copyright statement.

Solution: Added copyright statement

Platforms tested: CRAY T90IEEE, arabica, modi4 with parallel, Windows 2000

Misc. update:
2003-04-15 17:28:05 -05:00
Elena Pourmal
967dfbe01c [svn-r6682]
Purpose: Catching up with 1.4 branch

Description: 1.5 didn't have unicos10.0.X configuration files
             for both C and fortran.

Solution: Added the files

Platforms tested: CRAY T90IEEE

Misc. update:
2003-04-15 17:25:50 -05:00
Elena Pourmal
6f931cff7c [svn-r6681]
Purpose: Catching up with 1.4 branch

Description: 1.5 didn't have unicos10.0.X configuration files
             for both C and fortran.

Solution: Added the files and updated MANIFEST

Platforms tested: bin.chmanifest on arabica

Misc. update:
2003-04-15 17:25:09 -05:00
Bill Wendling
3935629cd6 [svn-r6680] Purpose:
Feature Add

Description:
    Added a "libhdf5_fortran.settings" file to the Fortran library.

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

Misc. update:
2003-04-15 16:43:26 -05:00
Bill Wendling
28d2520341 [svn-r6672] Purpose:
Bug Fix

Description:
    When calling "H5F_get_access_plist" after setting the FAPL to a multi
    driver, and then trying to get the multi driver back, it resulted in
    returing a "NULL" value instead of the driver.

Solution:
    The stuff at the location pointed to by the driver was being stored
    into the property list and not the pointer to the driver itself.
    Changed the "H5P_set" code so that it stores the pointer instead of
    the driver...(Added an "&" in from of the "driver_info" variable).

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

Misc. update:
2003-04-14 19:27:11 -05:00