Commit Graph

10826 Commits

Author SHA1 Message Date
Scott Wegner
de2091c7cd [svn-r15585] Purpose: Use H5test_kind_SIZEOF.f90 rather than H5test_kind.f90 in Windows
Description:
A new version of H5test_kind is safer for platforms that support sizeof.  We have replaced H5test_kind.f90 with it on Windows
2008-09-03 10:39:07 -05:00
Scott Wegner
779b0a7dfb [svn-r15584] Purpose: Add new extensible array source code and test project for Windows
Description:
In revision 15549, new source code was added for the extensible array interface.  This checkin adds the source code to Windows, along with the new test project, earray.

Note: The new H5EA interface causes compilation errors on Windows, and will need to be fixed in the source.
2008-09-03 10:09:10 -05:00
Christian Chilan
e9256348ab [svn-r15582] Added script to build h5perf_serial in standalone mode.
Tested on kagiso, smirom, and linew.
2008-09-02 16:22:51 -05:00
Scot Breitenfeld
74457ab98c [svn-r15577] Description:
Moved AM_CONDITIONAL([FORTRAN_HAVE_SIZEOF]....) outside of Fortran conditional loop so that the value gets registered regardless of whether Fortran is enabled.
2008-09-02 10:04:59 -05:00
Scot Breitenfeld
709654724b [svn-r15576] Decription:
Added the file:

 ./fortran/src/H5test_kind_SIZEOF.f90
2008-09-02 09:16:56 -05:00
Scot Breitenfeld
641df34ddb [svn-r15573] Description:
Compiles either H5test_kind.f90 or H5test_kind_SIZEOF.f90 depending on the availability of intrinsic Fortran function SIZEOF (indicated by the status of FORTRAN_HAVE_SIZEOF).
2008-09-01 10:40:30 -05:00
Scot Breitenfeld
a3f1ca5e7d [svn-r15572] Desciption:
Was not returning the correct fortran types when -i8 and -r8 flag was specified, fixed. This code is now depreciated and only used when SIZEOF function is not available, H5test_kind_SIZEOF.f90 should be used instead.
2008-09-01 10:36:29 -05:00
Scot Breitenfeld
97757e7217 [svn-r15571] Description:
H5test_kind_SIZEOF.f90 is the preferred portable program used for Fortran type detection. It uses the intrinsic Fortran function SIZEOF. This program should be used instead of H5test_kind.f90 if the SIZEOF function is available. Most of the newer Fortran compilers support SIZEOF.
2008-09-01 10:33:07 -05:00
Scot Breitenfeld
a66c8bf293 [svn-r15570] Description:
Added a test for the availability of intrinsic Fortran function SIZEOF. Sets the global variable FORTRAN_HAVE_SIZEOF depending if SIZEOF is available.
2008-09-01 10:25:02 -05:00
HDF Tester
529585c757 [svn-r15565] Snapshot version 1.9 release 15 2008-08-31 06:28:09 -05:00
Christian Chilan
489e339019 [svn-r15563] Added support for serial prefix HDF5_PREFIX.
Tested on kagiso, smirom, and linew.
2008-08-29 16:33:14 -05:00
Quincey Koziol
c78dc8defa [svn-r15561] Description:
Update extensible array code with function to open an existing earray,
add more tests and avoid running the test when core/split/family/multi VFDs
are used.

	Clean up fractal heap test code a bit and expand some of the tests a
little bit also.

Tested on:
        Mac OS X/32 10.5.4 (amazon) in debug mode
        Mac OS X/32 10.5.4 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2008-08-29 15:44:11 -05:00
Pedro Vicente Nunes
90e4c87706 [svn-r15559] new feature for h5repack (alignment) 2008-08-29 15:41:50 -05:00
Pedro Vicente Nunes
42e4838163 [svn-r15557] bug fix: the -m flag add a long description of "--threshold" that was changed to "--minimum" because "--threshold" now refers to the threshold parameter for H5Pset_alignment
tested: linux
2008-08-29 15:06:10 -05:00
Pedro Vicente Nunes
cf05c2d762 [svn-r15556] Check options for H5Pset_alignment.
threshold is zero default (a valid value) but zero is not a valid alignment

tested: windows, linux
2008-08-29 14:54:21 -05:00
Neil Fortner
5d49cf770a [svn-r15552] Fix potential memory leak in H5E_close_msg_cb.
Tested: kagiso
2008-08-28 17:07:32 -05:00
Pedro Vicente Nunes
f384b17625 [svn-r15551] 1) There are 2 new command line parameters for h5repack. Together they allow a call to H5Pset_alignment to be made
-t T, --threshold=T     Threshold value for H5Pset_alignment
   -a A, --alignment=A     Alignment value for H5Pset_alignment

2) bug fix
the printing of the dataset name was not done for references (verbose mode)

tested: windows, linux
2008-08-28 14:47:26 -05:00
Quincey Koziol
a4c82ed049 [svn-r15550] Description:
Clean up compiler warnings and code a bit.

Tested on:
	Mac OS X/32 10.5.4 (amazon)
	Too minor to require h5committest
2008-08-28 12:29:11 -05:00
Quincey Koziol
aa03e8bc94 [svn-r15549] Description:
Initial checkin of extensible array data structure prototype code and
regression tests.

	Initial definitions for revised FUNC_ENTER/LEAVE and error reporting
macros, which are being vetted in the extensible array code.

	Minor warning and formatting cleanups in other sections of code.

Tested on:
        Mac OS X/32 10.5.4 (amazon) in debug mode
        Mac OS X/32 10.5.4 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2008-08-28 09:57:13 -05:00
Pedro Vicente Nunes
d78821d619 [svn-r15547] fix typos
tested: linux
2008-08-27 10:39:24 -05:00
Scott Wegner
7d451b6fbc [svn-r15546] Purpose: Add new Fortran source file
Description:
There is a new Fortran file, H5_DBLE_InterfaceInclude.f90, which needs to be added to Windows.  There is also another version, *InterfaceExclude.f90, which is for users that build with the -r8 flag.  However, we don't include this on Windows, as it is not currently a common option.  If we get requests from users, we can add documentation for using this alternative interface.

Tested:
VS2005 w/ IVF9.1 on WinXP
2008-08-27 10:39:05 -05:00
Scot Breitenfeld
c1bfa064ba [svn-r15543] Description:
Put the  DOUBLE PRECISION interfaces in a separate module and added a USE statement for the module. The interfaces are included/excluded depending on
the state of FORTRAN_DEFAULT_REALisDBLE_F which detects if the default REAL is DOUBLE PRECISION. This allows the library to be compiled with -r8 Fortran flag without the user needing to change the source code.
2008-08-27 09:54:19 -05:00
Scot Breitenfeld
1ab7630780 [svn-r15541] Description:
Put the  DOUBLE PRECISION interfaces in a separate module. The interfaces are included/excluded depending on
the state of FORTRAN_DEFAULT_REALisDBLE_F which detects if the default REAL is DOUBLE PRECISION. This allows the library to be compiled with -r8 Fortran flag without the user needing to change the source code.
2008-08-26 15:30:38 -05:00
Scot Breitenfeld
6b9b12d643 [svn-r15540] Description:
Enable building shared library for fortran by adding the flag -fPIC to the compile flags for versions of Intel Fortran compiler >=9
2008-08-26 15:10:57 -05:00
Scot Breitenfeld
9559bd9130 [svn-r15539] Description:
Fixed spacing issue for fortran summary line.
2008-08-26 14:36:38 -05:00
Pedro Vicente Nunes
bc82138397 [svn-r15537] add a mention to h5repack new feature 2008-08-26 11:14:40 -05:00
Scot Breitenfeld
aa85cb74cc [svn-r15535] Description:
Added files:
./fortran/src/H5_DBLE_InterfaceInclude.f90
./fortran/src/H5_DBLE_InterfaceExclude.f90

Contains the DOUBLE PRECSION interfaces depending on
the state of FORTRAN_DEFAULT_REALisDBLE_F.
2008-08-26 11:08:43 -05:00
Scot Breitenfeld
d30db46df3 [svn-r15534] Description:
Added a test program to determine if -r8 or the default of REAL is DOUBLE PRECISION. Sets the variable FORTRAN_DEFAULT_REALisDBLE_F to true if default REAL is DOUBLE PRECISION.
2008-08-26 11:05:06 -05:00
Pedro Vicente Nunes
64842512fd [svn-r15527] turn off a debug print flag
tested: windows, linux
2008-08-25 11:05:00 -05:00
Pedro Vicente Nunes
0c8cee593f [svn-r15526] userblock options
only write the user block of a pre-existing file with user block in case there is no input user block file

tested: windows, linux
2008-08-25 10:57:14 -05:00
Scott Wegner
769daf5479 [svn-r15524] Purpose: Add new h5repack test to Windows
Description:
There was one new h5repack test added recently.  This commit also adds it to the Windows test script

Tested:
VS2005 on WinXP
2008-08-25 09:51:54 -05:00
Scott Wegner
3cf86baf8a [svn-r15522] Purpose: Fix Windows link dependencies in new app_ref DLL project
Description:
The app_refdll project was set to link with static version of hdf5 and libtest projects, which were causing the build to fail, only in Visual Studio .NET 2003, and was previously overlooked.  This corrects those errors.

Tested:
VS.NET on WinXP
2008-08-25 09:27:44 -05:00
Pedro Vicente Nunes
a72dc6c92c [svn-r15521] #1184
Add a userblock to an HDF5 file during the repack.  The user gives  
give a filename and userblock size as command line parameters to  
h5repack and the contents of that file are stored in the  
userblock for the HDF5 file created by h5repack.

New flags to handle this -u and -b
Tested : windows, linux
2008-08-22 10:53:07 -05:00
Neil Fortner
e9f3b20b64 [svn-r15515] Fix faulty error checking in call to H5I_remove().
Add prototype to the top of app_ref.c to suppress warning.

Tested: kagiso
2008-08-21 17:38:46 -05:00
Quincey Koziol
c6e35f6abd [svn-r15512] Description:
Fix a few typos introduced in r15510.

Tested on:
    Mac OS X/32 10.5.4 (amazon)
    More testing upcoming
2008-08-21 15:41:12 -05:00
Quincey Koziol
f8a796ebfc [svn-r15510] Description:
Clean up warnings & formatting

Tested on:
	Mac OS X/32 10.5.4 (amazon)
	More tests forthcoming
2008-08-21 15:30:19 -05:00
Pedro Vicente Nunes
5f7de91688 [svn-r15509] bug fix
when comparing attributes, a type ID was not properly closed 

solution: close the Id on the iteration and continue instead of goto out of the cycle
2008-08-21 14:15:05 -05:00
Neil Fortner
9dbe3467d7 [svn-r15505] Change the names of some macros in app_ref.c to prevent warnings on Windows.
Tested: kagiso
2008-08-21 11:49:29 -05:00
Scott Wegner
e37c76af2b [svn-r15504] Purpose: Update MANIFEST
Description:
Add new Windows project files to MANIFEST

Tested:
none
2008-08-21 11:48:07 -05:00
Scott Wegner
6533abcb99 [svn-r15503] Purpose: Add new app_ref test to Windows projects
Description:
A new test program, app_ref, was added to the source and configure script.  We need to make special Windows project files for static and DLL versions of the test, and also VS2005 and VS.NET versions.  Finally, include the new test in our script

Tested:
VS2005 on WinXP
2008-08-21 11:41:49 -05:00
Quincey Koziol
12f65badc9 [svn-r15502] Description:
Clean up warnings.

Tested on:
    Mac OS X/32 10.5.4 (amazon)
    Too minor to require h5committest
2008-08-21 10:43:34 -05:00
Quincey Koziol
99e6360f4b [svn-r15491] Description:
Update release notes for last bug fix.
2008-08-19 14:44:20 -05:00
Quincey Koziol
a1f3523478 [svn-r15488] Description:
Fix bug where library could core dump when an invalid location ID was
passed to H5Giterate() (and add test for this case).

Tested on:
    Mac OS X/32 10.5.4 (amazon)
    Too minor to require h5committest
2008-08-19 14:37:35 -05:00
Neil Fortner
a59d91d192 [svn-r15485] Purpose: Allow library to shut down properly when objects have reference count
> 1.

Description: Added a new field 'app_count' to H5I_id_info_t struct, to track
    the reference count on an id due to the application.  the old 'count' field
    tracks the total.  Generally any id visible to the application gets placed
    in app_count.  Added app_ref boolean parameter to H5I_inc_ref, H5I_dec_ref,
    H5I_register, H5I_clear_type, and a few other functions, to specify whether
    the operation(s) being performed on the id(s) are due to the application
    (TRUE) or not (FALSE).  Test added for this case.

Tested: kagiso, smirom, linew (h5committest)
2008-08-19 11:35:16 -05:00
Neil Fortner
936e52b581 [svn-r15477] Removed vestigal code from H5SM_delete_from_index() which would have
dereferenced an uninitialized pointer if it had been reachable.  Closes bz
#1280.

Tested: kagiso, smirom, linew (h5committest)
2008-08-17 13:04:05 -05:00
HDF Tester
709c81d710 [svn-r15476] Snapshot version 1.9 release 14 2008-08-17 08:40:56 -05:00
Quincey Koziol
3f643412c8 [svn-r15472] Description:
Correct H5Dopen to H5Dopen2 in error printf

Tested on:
    None, just eyeballed, very trivial.
2008-08-14 06:30:08 -05:00
Neil Fortner
b94a1e9c43 [svn-r15468] Removed prototype for deleted function H5F_has_mount
Tested: kagiso
2008-08-12 14:15:12 -05:00
Pedro Vicente Nunes
c09041c7f7 [svn-r15467] remove h52jpeg 2008-08-12 10:18:53 -05:00
Pedro Vicente Nunes
4e2b072563 [svn-r15466] remove h52jpeg 2008-08-12 10:13:35 -05:00