Commit Graph

7667 Commits

Author SHA1 Message Date
Quincey Koziol
5e98cfee43 [svn-r11009] Purpose:
Bug fix

Description:
    When a series of files is mounted on one another and one of those files
is not unmounted, the library gets confused at shutdown and goes into an
infinite loop in the file interface.

Solution:
    If there are still files left in the "closing" state when shutting down
the file API, iterate over those file IDs and unmount any child files that we
find mounted on those files.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-07-01 00:35:29 -05:00
James Laird
43f091f462 [svn-r11008] Purpose:
Feature: tests now use parallel make and only run once

Description:
When make is invoked in parallel (using the -j option), several tests will
now be run simultaneously.  This should speed up testing on a number of
systems.
When a test passes, it creates a foo.chkexe or foo.chksh file, which prevents
the test from running again unless the test or library changes.

Solution:
Most of the changes live in config/conclude.am.  Added *.chkexe and *.chksh
files to the list of files to be cleaned at "make mostlyclean" time.
Parallel tests still run one at a time, but use the same make instructions
as serial tests.

Platforms tested:
mir, eirene, sleipnir, pommier, copper, modi4 (some errors occurred, probably
due to the test being run before updating hdf5.  Will re-run tests after
checkin.)
2005-06-30 18:35:32 -05:00
Raymond Lu
afcd1ddb39 [svn-r11006]
Misc. update: Document a known problem with Fletcher32 filter.
2005-06-30 16:30:40 -05:00
Pedro Vicente Nunes
c3252ef1f2 [svn-r11005] Purpose:
bug fix

Description:
the numbers of differences was not printed for each object

Solution:
print it

Platforms tested:
linux
solaris
aix



Misc. update:
2005-06-30 15:57:01 -05:00
Fang Guo
e6589b04f0 [svn-r11004] Purpose:
Update solution file all.sln
Description:
Change building configurations of all.dsw so that fortran project files would not be built when users choose visual studio .net
to build HDF5 from command line.
Solution:

Platforms tested:

Misc. update:
2005-06-30 13:54:50 -05:00
Pedro Vicente Nunes
a8d9f5cfbc [svn-r11003] Purpose:
bug fix

Description:
when diffing a string type string , a cycle is made using the hdf5 get_size function, which returns
the type size
some strings might have a NULL terminator character before the type size position
this was noticed on a HDF-EOS file on the HDFEOSVersion attribute which was defined as a type with a 32 size,
but contained a string with 12 characters, making h5diff to compare the extra garbage characters

Solution:
detect the NULL terminator character and end the diff at that position

Platforms tested:
linux


Misc. update:
2005-06-30 11:53:11 -05:00
Fang Guo
2c1d787f3e [svn-r11002] Purpose:
Catch up with the changes of h5diff
Description:

Solution:

Platforms tested:

Misc. update:
2005-06-29 12:41:44 -05:00
Raymond Lu
ff66fc2ef3 [svn-r11001] Purpose: Add more comment. 2005-06-29 11:06:35 -05:00
Raymond Lu
7b193be887 [svn-r10998] Purpose: Bug fix.
Description:
For the definition of the macro H5T_CONV_Xx_CORE, added a condition branch
(else if (*((ST*)S) == (DT)(D_MAX))) which seems redundant.
It handles a special situation when the source is "float" and assigned the value
of "INT_MAX".  A compiler may do roundup making this value "INT_MAX+1".  However,
when do comparison "if (*((ST*)S) > (DT)(D_MAX))", the compiler may consider them
equal.


Platforms tested: fuss - simple change.
2005-06-29 11:01:09 -05:00
Elena Pourmal
1e1e2578f6 [svn-r10997] Purpose: Small bug fix
Description: "long long" type caused compilation problems on Windows

Solution: Use long_long definition

Platforms tested: heping, Windows will follow

Misc. update:
2005-06-28 14:42:51 -05:00
Leon Arber
ac2e0d548e [svn-r10996] Purpose:
Bug fix for parallel case for new "Some objects were not comparable" patch to h5diff.

Description:
The parallel h5diff wouldn't print out "Some objects were not comparable" because the worker
tasks were not communicating the not_cmp flag of the diff_opt_t struct back to the manager, who ultimately
prints everything.

Also, some miscellaneous fixes for error printing.  Some errors were printed out with printf instead of fprintf(stderr,...).
In parallel environments, this can result in output getting lost.

Solution:
Had the worker tasks pass along the not_cmp flag to the manager when they sent along
the number of differences they found.



Platforms tested:
heping (pp), sol (pp)

Misc. update:
2005-06-28 14:20:56 -05:00
Pedro Vicente Nunes
92723c7e02 [svn-r10995] Purpose:
modified the script test so that when the test files do not exist , they are created

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-06-28 11:40:25 -05:00
Pedro Vicente Nunes
4a5f83b8f0 [svn-r10994] Purpose:
bug fix

Description:
when 2 objects were not comparable, the final print information for the non verbose mode printed "0 differences found"


Solution:

replaced instead with a Summary message that says
"Some objects were not comparable"


Platforms tested:
linux
solaris


Misc. update:
2005-06-28 11:25:42 -05:00
Fang Guo
7592f727f4 [svn-r10993] Purpose:
Add missed project file testh5repack_detect_szipdll
Description:

Solution:

Platforms tested:

Misc. update:
2005-06-27 12:24:54 -05:00
Fang Guo
663b89652c [svn-r10992] Purpose:
Add path to project h5repart_gentest.dsp
Description:

Solution:

Platforms tested:

Misc. update:
2005-06-27 12:23:21 -05:00
Fang Guo
0043d7c5a2 [svn-r10991] Purpose:
Keep consistent with all.dsw
Description:
Update solution file of all.dsw
Solution:

Platforms tested:

Misc. update:
2005-06-24 17:12:01 -05:00
Fang Guo
234b1830c5 [svn-r10990] Purpose:
Add new macro to remove data conversion errors on visual c++ .Net on windows XP
Description:

Solution:

Platforms tested:
Visual C++ .Net 2003 on windows XP
Misc. update:
2005-06-24 17:06:32 -05:00
Fang Guo
21e70d93f9 [svn-r10989] Purpose:
Update project file hdf5_hl_fortran.dsp
Description:
New source code H5IMcc.c was added into project file hdf5_hl_fortran.dsp
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-06-24 17:05:05 -05:00
Fang Guo
77ec68c2e5 [svn-r10988] Purpose:
Update project file file_handledll.dsp
Description:
file_handle.c was renamed to vfd.c
Solution:

Platforms tested:
MSVS 6.0 on windows XP
Misc. update:
2005-06-24 17:02:27 -05:00
Fang Guo
eb466028c0 [svn-r10987] Purpose:
Update project file file_handle.dsp
Description:
file_handle.c was renamed to vfd.c
Solution:

Platforms tested:
MSVS 6.0 on windows XP
Misc. update:
2005-06-24 17:00:59 -05:00
Elena Pourmal
63ed37e807 [svn-r10986] Purpose: Maintenance
Description: Finally moved Fortran related function H5IM_get_palette to the
             fortran part of the hl source (to the H5IMcc.c file)

Solution:

Platforms tested: sleipnir, mir with g95

Misc. update:
2005-06-24 14:32:25 -05:00
Raymond Lu
a752497f4d [svn-r10985] Purpose: Minor correction.
Misc. update: The bug number is 213 for family driver change, not 214
in the last checkin.
2005-06-24 13:58:38 -05:00
Elena Pourmal
ace21943c3 [svn-r10984]
Purpose: Bug fix

Description: mismatched "static" declaration for notorious H5IM_find_palette function
             caused compilation to fail on sleipnir.

Solution: Remove it for now. Function should go back to Fortran part of HL library.

Platforms tested: sleipnir

Misc. update:
2005-06-24 10:41:35 -05:00
Raymond Lu
351b8a7b7c [svn-r10982] Purpose: Update document.
Description: First, report a bug fix(#214) of family driver.  Second
document PGI compiler bug for optimization on AMD processor.



Misc. update: First, report a bug fix(#214) of family driver.  Second
document PGI compiler bug for optimization on AMD processor.
2005-06-24 09:59:11 -05:00
Albert Cheng
9d8d2090e6 [svn-r10981] Purpose:
updated with the name changes of test/file_handle.c to test/vfd.c.
2005-06-24 09:35:35 -05:00
Albert Cheng
9a76b50453 [svn-r10980] Purpose:
file_handle.c is renamed as vfd.c.
2005-06-24 09:33:12 -05:00
Albert Cheng
40e51ae047 [svn-r10979] Purpose:
Renamed file_handle.c as vfd.c since its tests have evloved from
merely file handles tests to other basic features of VFD's.
Did some minor cosmetic changes in vfd.c.

Updated Makefile.am with the new name.
Makefile.in is regenerated.

Platforms tested:
In heping only since the changes are trivial.

Misc. update:
2005-06-24 09:32:05 -05:00
John Mainzer
7f8e346026 [svn-r10978] Purpose:
Interim checkin of code changes moving management of the is_dirty flag
into the cache code.


Description:

   Prior to this checkin, management of the is_dirty flag was handled
above the level of the metadata cache.  This can no longer be allowed,
as it introduces a race condition in the proposed fix for a cache
coherency bug in PHDF5.


Solution:

   Move management fo the is_dirty flag to the cache code proper.
Entries are now marked as dirty via a flag on the unprotect call.


Platforms tested:

h5committested


Misc. update:
2005-06-24 01:30:29 -05:00
Elena Pourmal
2ab6b12b55 [svn-r10977] Purpose: Bug fix
Description:
          1.7 daily tests failed in HL library when Fortran was not
          enabled; also long long instead of long_long declarations
          were used and caused failures on Windows

Solution:
          Removed Fortran related functions (except H5IM_find_palette) from
          H5IM.c file and put it into fortran/src/H5IMcc.c
          Modified appropriate Makefile.am files, regenerated Makefile.in files,          updated header files, MANIFEST, etc.

          Note: H5IM_find_palette should be also in H5IMcc.c, but
          for some unknown to me reason, linking fails if the function is
          included in H5IMcc.c. I will really appreciate if some C guru
          will look into the code and figure out what is wrong :-) Thanks!


Platforms tested: mir with g95, heping with and without Fortran enabled

Misc. update:
2005-06-24 00:00:01 -05:00
Frank Baker
e38365206a [svn-r10976]
Purpose:
    Added new meta data cache functions.
    Added links to HDF5 High-Level API reference pages to nav bar.
    Other minor (though somewhat pervasive) reformatting.
Platforms tested:
    Firefox
2005-06-23 16:30:36 -05:00
Frank Baker
63357e8acb [svn-r10975]
Purpose:
    Added links to HDF5 High-Level API reference pages to nav bar.
Platforms tested:
    Firefox
2005-06-23 16:03:41 -05:00
Frank Baker
614bbec1c7 [svn-r10974]
Purpose:
    Added new section for High-level HDF5 APIS.
    Added links to HDF5 High-Level API reference pages to nav bar.
    Added quick-links bar for
        High-level APIs
        Main HDF5 Library, including Low-level APIs
        Fortran and C++ Interfaces
    Added "Main HDF5 Library, including Low-level APIs" heading.
        There had previously been no comparable heading.
Platforms tested:
    Firefox
2005-06-23 15:44:53 -05:00
Frank Baker
386a19639f [svn-r10973]
Purpose:
    Added links to HDF5 High-Level API reference pages.
Platforms tested:
    Firefox
2005-06-23 15:34:02 -05:00
Raymond Lu
071be8ef3b [svn-r10971] Purpose: Bug fix
Description: See details from Bug #213.  Family member file size wasn't saved
anywhere in file.  When family file is opened, the first member size determine
the member size.

Solution:  Hopefully, this is the last step of checkin for this stage.  This step
mainly enables h5repart tool to be able to convert file driver from family to
sec2.  Because the library saves family information in file, in trying to convert
to sec2 driver, the library simply change the address of driver information to
undefined so that the driver information block can be ignored.  This step also
updates the reference manual of H5Pset_fapl_family() and h5repart.

In the fifth step of checkin, backward compatibility with v1.6
is tested.  A family file created was created with the v1.6 library and opened
with this version of the library.

In the fourth step of checkin, a test suit is added for h5repart,
including a program to generate the test files, a script file to run h5repart,
and a program to verify repartitioned files can be opened by the library.

There's a change from the first step of checkin.  Family name template is no
longer saved in the superblock because different pathname can make the name
different.

In the third step of checkin, h5repart has been modified.  If h5repart is used
to change the size of family member file, the new size(actual member size) is saved
in the superblock.

In the second step of checkin, multi driver is checked against the driver
name saved in superblock.  Wrong driver will result in a failure with an error message
indicating
multi driver should be used.  This change includes split driver because it's a special
case for multi
driver.

In the first step of checkin.  Family member size and name template(unused at this stage) are saved
in file superblock.  When file is reopened,the size passed in thrin superblock.  A different size
will trigger a failure with an error message indicating the right size.  Wrong driver to open family
file will cause a failure, too.


Platforms tested: h5committest and fuss.

Misc. update: doc/html/RM_H5P.html and doc/html/Tools.html
2005-06-22 13:59:48 -05:00
Elena Pourmal
ea66068977 [svn-r10970] Purpose: New feature/bug #350 fix
Description:
             When compiler flag was used to set the size of Fortran integer
             to 8 bytes, library would fail.

Solution:
             Cleaned up the code; added detection of Fortran INTEGER type size
             and appropriately defined int_f type for C-stubs routines.

Platforms tested:
             Solaris 2.8 32 and 64-bit, AIX 5.1 64-bit parallel
             PGI Fortran with -i8 flag on heping
             Absoft Fortran with -i8 flag on heping
             g95 on mir (Fortran integer is 8 bytes by default that cannot be
                         changed - compiler bug ;-)
             AIX Fortran with -qintsize=8 32 and 64-bit modes on copper

Misc. update:
2005-06-22 13:23:21 -05:00
Fang Guo
ec071c6c14 [svn-r10969] Purpose:
Modify wrong path to hl_test_packet
Description:

Solution:

Platforms tested:

Misc. update:
2005-06-21 17:55:35 -05:00
Fang Guo
3c75970b28 [svn-r10968] Purpose:
Change formats.
Description:

Solution:

Platforms tested:

Misc. update:
2005-06-21 16:34:53 -05:00
Fang Guo
19f2eae944 [svn-r10967] Purpose:
Update solution file
Description:
H5Pocpl.c was newly added.
Solution:

Platforms tested:

Misc. update:
2005-06-21 12:44:08 -05:00
Fang Guo
18396d9bc1 [svn-r10966] Purpose:
Update project file.
Description:
H5Pocpl.c was added into windows/proj/hdf5dll/hdf5dll.dsp
Solution:

Platforms tested:
MSVS 6.0 on windows XP
Misc. update:
2005-06-21 12:26:35 -05:00
Fang Guo
ce52db2fa3 [svn-r10965] Purpose:
Update hdf5 project file.
Description:
H5Pocpl.c was added into windows/proj/hdf5/hdf5/dsp
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-06-21 12:25:10 -05:00
Fang Guo
d95e464817 [svn-r10964] Purpose:
Update solution file all.sln
Description:

Solution:

Platforms tested:

Misc. update:
2005-06-21 09:35:12 -05:00
Fang Guo
c88b9970e4 [svn-r10963] Purpose:
Add short installation document for intel compiler users on windows.
Description:

Solution:

Platforms tested:

Misc. update:
2005-06-21 09:16:07 -05:00
Raymond Lu
b437d2f1f1 [svn-r10962] Purpose: Solve the Difference of Compiler and Library
Description: In this data conversion test, from floating number to floating number,
when the source is bigger than the destination, overflow may happen.  The library
assign INFINITY while compiler's behavior is undefined.  A compiler like SGI assigns
the maximal value for the destination.

Solution: When this situation occurs, simply check if the destination is INFINITY
instead of comparing values.

Platforms tested: modi4 and h5committest.
2005-06-20 16:16:54 -05:00
Quincey Koziol
a704c82a74 [svn-r10961] Purpose:
Update with recent Windows install file added.
2005-06-20 16:14:51 -05:00
Quincey Koziol
3941fd5383 [svn-r10959] Purpose:
Bug fix

Description:
    Don't perform hyperslab operations on non-hyperslab selections.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-06-20 13:56:03 -05:00
Quincey Koziol
1f35ebc88b [svn-r10958] Purpose:
New feature

Description:
    Add group creation & access property lists, dataset access property lists
and named datatype creation & access property lists.  Currently have
<foo>_extend() API names, which will need to be changed for the final release.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (heping)
2005-06-20 13:11:57 -05:00
James Laird
dc4c767d6d [svn-r10957]
Purpose:
Updated documentation

Description:
Amended documentation for configuring tflops.

Platforms tested:
Only documentation was changed.

Misc. update:
2005-06-20 12:38:30 -05:00
James Laird
22586f84a7 [svn-r10956]
Purpose:
Configuration feature

Description:
Added 'alias' for host names in configure.  Typing ./configure --host=tflops
will now configure with tflops as a host.  Previously, this required typing
./configure --host=i386-intel-osfl.

Solution:
Added a section in configure.in which will replace 'tflops' with
'i386-intel-osfl'.

Platforms tested:
sleipnir, mir, heping

Misc. update:
2005-06-20 12:33:22 -05:00
Binh-Minh Ribler
f649d42b46 [svn-r10955] Purpose: Added more APIs
Description:
    - Added another overloaded CommonFG::getComment so the user will not
      have to provide the comment's length.
    - Added wrappers for H5Gget_comment when the comment is to be removed,
      CommonFG::removeComment.
    - Corrected several 'delete' statements

Platforms tested:
    Linux 2.4 (heping)
    AIX 5.1 (copper)
2005-06-19 16:57:34 -05:00
Binh-Minh Ribler
828c6646a1 [svn-r10953] Purpose: Updating C++ tests
Description:
    Updated various comments/headers.

Platforms tested:
    Linux 2.4 (heping)
    AIX 5.1 (copper)
2005-06-19 16:02:21 -05:00