Commit Graph

10012 Commits

Author SHA1 Message Date
Quincey Koziol
71d6bffdd7 [svn-r14127] Description:
Move H5Gget_linkval to deprecated symbol section and replace with
H5Lget_val for internal calls.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-29 18:37:41 -05:00
Quincey Koziol
db3c155bf2 [svn-r14126] Description:
Move H5Gunlink to deprecated symbol section, replacing internal calls
with H5Ldelete.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-29 15:44:19 -05:00
Quincey Koziol
a4c8e8fd56 [svn-r14125] Description:
Correct another typo in return value on error FAIL -> NULL

Tested on:
	FreeBSD/32 6.2 (duty)
2007-08-29 08:22:58 -05:00
Quincey Koziol
ea7b995476 [svn-r14124] Description:
Fix typo H5Gopenw -> H5Gopen2

Tested on:
	FreeBSD/32 6.2 (duty)
2007-08-29 08:19:57 -05:00
Quincey Koziol
bc07e61d29 [svn-r14123] Description:
Move H5Gmove2() to deprecated code section, replacing it with H5Lmove()
in the source code.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-28 17:45:23 -05:00
Quincey Koziol
cae55b647d [svn-r14122] Description:
Move H5Gmove() to deprecated code section, replacing with H5Lmove()
in source files.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-28 17:30:13 -05:00
Quincey Koziol
518e0ede77 [svn-r14121] Description:
Correct a couple of swapped parameters for creating soft links.

Tested on:
	FreeBSD/64 6.2 (liberty)
2007-08-28 16:49:12 -05:00
Quincey Koziol
74ceb182bd [svn-r14120] Description:
Move H5Glink2 to deprecated routines section.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-28 16:31:57 -05:00
Quincey Koziol
1b488cbc14 [svn-r14119] Description:
Fix typo in FORTRAN wrapper for H5Glink.

Tested on:
	FreeBSD/64 6.2 (liberty) w/FORTRAN
2007-08-28 15:10:21 -05:00
Quincey Koziol
d329016e66 [svn-r14118] Description:
Fix inverted link parameters in setup() routine.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Solaris/32 5.10 (linew)
2007-08-28 14:53:40 -05:00
Quincey Koziol
a84811bfb8 [svn-r14117] Description:
Move H5Glink() into "deprecated routines" section, replacing internal
usage with H5Lcreate_hard/H5Lcreate_soft.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Solaris/32 5.10 (linew)
2007-08-28 14:47:00 -05:00
Quincey Koziol
2785c61b8d [svn-r14116] Description:
Fix error in end_obj() macro to make it safer in situations without
enclosing braces.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
2007-08-28 10:21:59 -05:00
Quincey Koziol
ea343ef854 [svn-r14115] Description:
Remove all plain calls to H5Gopen() from source, replacing them with
either H5Gopen2().

	Add test for H5Gopen1().

	Reformatted several pieces of code, to clean them up.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-28 10:02:54 -05:00
Scott Wegner
eb16d8bc2b [svn-r14114] Purpose: Fix a subtle Windows bug in h5unjam
Description:
In h5unjam.c, there was a call to "open", rather than "HDopen".  This isn't a problem on most platforms, as the are equivalent.  However, on Windows, we use the HDopen macro to unconditionally set the O_BINARY flag.  This is needed to safely seek within a file.

Tested:
VS2005 on WinXP
h5committest (kagiso linew smirom)
2007-08-27 17:35:50 -05:00
Quincey Koziol
f3926484ce [svn-r14112] Description:
Avoid file size queries/comparisons when using core VFD.

Tested on:
	FreeBSD/32 6.2 (duty) w/core VFD
2007-08-24 13:41:29 -05:00
MuQun Yang
18c30d67ed [svn-r14110] Document MPI-IO compiler problem on tungsten. 2007-08-24 12:56:36 -05:00
Quincey Koziol
51073136ce [svn-r14109] Description:
Make certain to define the API function and typedef version macros
in all situations.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.10 (amazon)
2007-08-23 18:19:18 -05:00
Quincey Koziol
14ce8811f7 [svn-r14108] Description:
Make version macro for typedefs closer to version macro for API
functions.

Tested on:
        FreeBSD/32 6.2 (duty)
        FreeBSD/64 6.2 (liberty)
        Linux/32 2.6 (kagiso)
        Linux/64 2.6 (smirom)
        Solaris/32 5.10 (linew)
2007-08-23 17:40:22 -05:00
Quincey Koziol
63eb5b9ebb [svn-r14104] Description:
Pursue calls to H5Gcreate() relentlessly and ruthlessly exterminate
them, leaving only a few tame specimens in text files and comments.  ;-)

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
2007-08-23 15:25:25 -05:00
Raymond Lu
3183d38231 [svn-r14103] A user reported that the files generated from Lex and Yacc in the library conflict with his application with Lex and Yacc. To solve the problem of multiple definitions of Lex or Yacc functions or variables, use the -P or -p command option to change the prefix of these functions and variables from yy to H5LTyy.
Tested on kagiso, linew, smirom.
2007-08-23 14:28:40 -05:00
Quincey Koziol
f7db09fb3d [svn-r14101] Description:
Change definition of H5E_walk1_t compatibility type to match the H5E_walk_t
type in the 1.6.x library.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Too minor to require commit test
2007-08-23 07:54:50 -05:00
Scott Wegner
2f47d558d1 [svn-r14099] Purpose: Fix Windows libtest_cstubdll output directory
Description:
Previously, the libtest_cstubdll project was creating the DLL in the project directory, rather than the Output directory.  This was a simple typo, and not caught previously because past builds had the DLL installed.  Cleaning up our batch files will make this easier to catch in the future.

Tested:
VS2005 on WinXP x64
2007-08-22 09:56:39 -05:00
Quincey Koziol
10dcf4b0e1 [svn-r14098] Description:
Clean up a few remaining API compatibility issues in the H5E API for
parallel configurations

Tested on:
	FreeBSD/64 6.2 (liberty) w/parallel
2007-08-21 16:47:41 -05:00
Quincey Koziol
cdd4606430 [svn-r14097] Description:
First real use of API versioning code, H5E routines switched to use
new API versioning scheme.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
2007-08-21 16:08:27 -05:00
Raymond Lu
6262a14f2e [svn-r14096] There're 3 changes in this checkin as below:
1. In H5Dwrite and H5Dread, let the data buffer point to a fake address if the application passes
     in an empty buffer.  This is mainly for MPIO programs that some processes may not have any 
     data to write or read but still participate the I/O.  This solution solves some MPI's problem
     like the ChaMPIon on tungsten which doesn't support empty buffer.
  2. The ChaMPIon on tungsten doesn't support complex derived MPI data type correctly and collective
     I/O when some processes don't have any data to write or read correctly.  Detect the compiler
     "cmpicc" in the system-specific config file and set the variables for these two cases to false.
     The PHDF5 library already has set up a way to switch collective chunked I/O to independent 
     under these two cases.
  3. A bug fix - During the work of the optimization for compound data I/O, the case for switching
     collective chunked I/O to independent I/O was leftout.  Fixed it by adding I/O caching to it in
     H5D_multi_chunk_collective_io in H5Dmpio.c.

Tested on tungsten, cobalt, and kagiso for parallel; on linew and smirom for serial.
2007-08-20 16:55:38 -05:00
Scott Wegner
2ab6b11aaf [svn-r14093] Purpose: Convert Windows projects to VS2005 format and support 64-bit Fortran
Description:
This checkin is another Windows project cleanup, and also extends our Windows support for 64-bit Fortran.  Project files are now in VS2005 format, rather than VS.NET.  A couple projects have been renamed to be more descriptive (*cstub rather than *_lib), and project settings make better use of build macros.  This will make them much easier to update in the future.

Tested:
VS2005 on WinXP 32-bit
VS2005 on WinXP x64
2007-08-16 13:28:20 -05:00
Quincey Koziol
92bdaa7d0f [svn-r14086] Description:
Correct error in metadata cache entry logic for free space objects, where
a free space header could unpin its entry in the cache, even when the sections
for that free space manager were still in the cache and technically holding the
header pinned.  Fix problem by checking for the section info in the cache
before allowing the header to unpin its cache entry.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-08-14 13:41:40 -05:00
Quincey Koziol
665366d499 [svn-r14085] Description:
Refactor H5HF_size() size statistics code for fractal heap to conform to
how the rest of the fractal heap routines work.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.10 (amazon)
2007-08-14 11:04:42 -05:00
Quincey Koziol
7de10b4833 [svn-r14084] Description:
Change metadata cache protect access from "write" to "read" for the free
space header, which follows the same pattern as the fractal heap's use of
the metadata cache.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.10 (amazon)
2007-08-14 10:08:04 -05:00
Quincey Koziol
4dc989f282 [svn-r14083] Description:
Correct problem with fractal heap's free space size usage gathering
routine, which was "poisoning the cache" by loading an incorrectly initialized
piece of metadata from the file.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 6.2 (amazon)
2007-08-14 08:33:14 -05:00
Quincey Koziol
abd36a6f6e [svn-r14082] Description:
Fix bug with moving object header messages forward into null messages
of exactly the same size and located in an object header chunk with a gap.
(Exposed by netCDF-4 test)

Tested on:
	FreeBSD/32 6.2 (duty)
2007-08-13 23:56:54 -05:00
Albert Cheng
7e654daa46 [svn-r14081] revised it. 2007-08-13 17:52:49 -05:00
Quincey Koziol
42501313e3 [svn-r14073] Description:
Re-order several switch statements to match the ordinal numbering of
enumerated types.

Tested on:
	None - too simple to require
2007-08-10 15:50:46 -05:00
Pedro Vicente Nunes
af6284d92d [svn-r14071]
typo fix in usage message

tested: linux
2007-08-10 14:48:48 -05:00
Pedro Vicente Nunes
5dbef50ba5 [svn-r14069] typo fix in usage message
tested: linux
2007-08-10 14:35:31 -05:00
Pedro Vicente Nunes
f3014c2004 [svn-r14068] typo fix in usage message
tested: linux
2007-08-10 14:27:18 -05:00
Scott Wegner
b91e17b6cf [svn-r14067] Purpose: Revise usage of H5_HAVE_SIGLONGJMP
Description:
The way I had integrated H5_HAVE_SIGLONGJMP previously, we conditionally removed far more functionality than we needed.  As a result, Windows type alignment was lost.  This commit localizes the ifdef so it only surrounds the actual call to siglongjmp.  This is equivalent to what we've done in the past-- simply comment out the line.

Tested:
VNET on WinXP
2007-08-10 14:07:06 -05:00
Scott Wegner
e039e5125c [svn-r14066] Purpose: Streamline Windows typegen projects
Description:
Previously the process of generating h5tinit.c, as well as the Fortran type files, was very manual on Windows.  For Fortran, the process included opening 4 different solutions, and running 4 different commands from the prompt.  I've made things very much more automated, and now only requires only building one project for either C or C/Fortran.  Running the commands to generate the file is done automatically.

Tested: VS.NET
2007-08-10 10:19:56 -05:00
John Mainzer
c5cdb7d957 [svn-r14065] Second try at checking in the "cork the cache" modification.
First attempt contained slightly dated versions of the files
listed below.

Must also note that the mods were tested with h5committest,
and two other linux builds.
2007-08-10 04:50:48 -05:00
John Mainzer
b742150e4c [svn-r14064] Implemented function allowing the user to cork the metadata cache.
Also implemented associated test code.
2007-08-09 23:19:43 -05:00
Mike McGreevy
85ae38b380 [svn-r14061] Purpose: Removing --disable-hsizet flag from configure.
Description: This flag causes problems for users and is difficult to
             support in the library. It has been removed. (see Bug 708).

Tested: kagiso, linew
2007-08-09 14:46:44 -05:00
H. Joe Lee
755daadd61 [svn-r14060] Corrected verifiy to verify. 2007-08-09 12:05:48 -05:00
Scott Wegner
2e9ea74a8b [svn-r14058] Purpose: Bring Windows h5diff test script up to date
Description:
One of the h5diff tests changed to check for NaN values-- this checkin updates our Windows script for these changes.

Tested:
Windows XP
2007-08-09 09:16:55 -05:00
Scott Wegner
20be26bdc6 [svn-r14057] Purpose: Fixes for 64-bit Windows Intel Fortran 9.1
Description:

We are porting Fortran to 64-bit Windows, and need to make many syntactical changes to bring the code up to date.  We now go back to using "!DEC$" rather than "!MS$" in our "ATTRIBUTE" code.  Also, the naming conventions for mixed language is inconsistent from 32- to 64- bit Windows.  To make up with this, we use the "decorate" flag.  We also needed to change the "calling convention" in project settings from "CVF" to "default".

Also other minor cleanups on project files.

Tested:
32-bit: VS.NET and VS2005
64-bit: VS2005
2007-08-09 09:04:05 -05:00
Scott Wegner
88c194fd78 [svn-r14056] Purpose: Take advantage of new H5_HAVE_SIGLONGJMP flag in H5detect.c
Description:
Visual Studio does not have the function siglongjmp.  Therefore, we have created a new configure flag H5_HAVE_SIGLONGJMP that tests for this.  We use this within H5detect.c.

Tested:
VS.NET
h5committest
2007-08-08 17:51:43 -05:00
Pedro Vicente Nunes
a1fcb56d78 [svn-r14051]
Make the compare to itself file test be another due to the recently introduced file with Nans

Tested: linux, solaris
2007-08-07 16:47:29 -05:00
Pedro Vicente Nunes
021ed070b2 [svn-r14048]
Added a dataset with NaN values to the h5diff file generator program and new binary file

Tested: linux
2007-08-07 16:08:39 -05:00
Mike McGreevy
753a60f184 [svn-r14047] Purpose: Adding H5_HAVE_SIGLONGJMP macro to configure.
Description: Configure will now detect the presence of the 'siglongjmp' function. If present,
             the macro H5_HAVE_SIGLONGJMP will be defined in src/H5pubconf.h.

Tested: kagiso, smirom, linew
2007-08-07 16:01:15 -05:00
Pedro Vicente Nunes
c897b7ea07 [svn-r14044]
updated the usage message to say the STR option is implemented

tested: windows, linux
2007-08-07 14:14:26 -05:00
Scott Wegner
363eb578c8 [svn-r14043] Purpose: Add new test
Description:
Add new h5import test "teststr" which was added to other platforms this morning.

Tested:
VS.NET on WinXP
2007-08-07 13:22:28 -05:00