Commit Graph

10896 Commits

Author SHA1 Message Date
Scot Breitenfeld
60534aa268 [svn-r15633] Description:
Added test routines for h5t_get/set_fields_f.
2008-09-16 12:31:33 -05:00
Scot Breitenfeld
3f9b3bcb47 [svn-r15630] Description:
In nh5tget_offset_c:

(1) The return value type of H5Tget_offset was set to size_t where
    it should be of type int.

(2) Was if offset was equal to 0 it returned the error code of -1 back to 
    Fortran, this was changed to return an error code of -1 when the
    offset value is < 0.

In h5tget_norm_c:

(1) was if the return value of H5Tget_norm = 0 it would return an error
code to Fortran, but from enum of the return value:

typedef enum H5T_norm_t {
    H5T_NORM_ERROR       = -1,  /*error                                      */
    H5T_NORM_IMPLIED     = 0,   /*msb of mantissa isn't stored, always 1     */
    H5T_NORM_MSBSET      = 1,   /*msb of mantissa is always 1                */
    H5T_NORM_NONE        = 2    /*not normalized                             */
    /*H5T_NORM_NONE must be last */
} H5T_norm_t;

only when -1 is returned is there an error, changed it to return an error 
only if the value of H5T_NORM_ERROR = -1.
2008-09-16 12:00:11 -05:00
Quincey Koziol
bdd7d59902 [svn-r15628] Description:
Remove trailing whitespace from C/C++ source files, with the following
script:

    foreach f (*.[ch] *.cpp)
        sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f
    end

Tested on:
    Mac OS X/32 10.5.5 (amazon)
    No need for h5committest, just whitespace changes...
2008-09-16 10:52:51 -05:00
MuQun Yang
8bc0d5ed90 [svn-r15627] This check-in fixes a bug inside parallel HDF5 testsuite.
When enable-debug is turned on, a special macro block H5_HAVE_INSTRUMENTED_LIBRARY inside HDF5 will be executed to check if some collective chunk IO test cases are being run with the correct settings(one link, multiple chunk etc.). However,when complicated derived datatype in some mpi-io packages are not supported, the library has to switch one link IO with/without the optimization to multiple chunk IO with/without the optimization. The current testsuite doesn't know this and generates a false assertion failure message.

This check-in fix this problem by providing a second property to avoid the false faiure message.


Tested at abe(NCSA linux cluster) and kagiso.
2008-09-16 10:03:45 -05:00
MuQun Yang
e7ff2aafa5 [svn-r15626] This check-in fixes a bug inside parallel HDF5 testsuite.
When enable-debug is turned on, a special macro block H5_HAVE_INSTRUMENTED_LIBRARY inside HDF5 will be executed to check if some collective chunk IO test cases are being run with the correct settings(one link, multiple chunk etc.). However,when complicated derived datatype in some mpi-io packages are not supported, the library has to switch one link IO with/without the optimization to multiple chunk IO with/without the optimization. The current testsuite doesn't know this and generates a false assertion failure message.

This check-in fix this problem by providing a second property to avoid the false faiure message.


Tested at abe(NCSA linux cluster) and kagiso.
2008-09-16 10:03:21 -05:00
Scott Wegner
876844988a [svn-r15622] Purpose: Add new source files to Windows projects
Description:
This checkin adds the following source files to our Windows projects:
 -- H5EAiblock.c
 -- H5EAstat.c
 -- H5EAdbg.c
2008-09-15 10:09:10 -05:00
HDF Tester
63042260d9 [svn-r15619] Snapshot version 1.9 release 17 2008-09-14 05:39:04 -05:00
Quincey Koziol
93f29787ed [svn-r15618] Description:
Add additional test and make a few cleanups in extensible array unit
test.

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-09-11 16:04:30 -05:00
Quincey Koziol
5fb061e46e [svn-r15617] Description:
Clean up how v2 B-tree (and extensible array) classes are determined in
h5debug.

	Add support for extensible array headers and index blocks to h5debug

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-09-11 15:16:05 -05:00
Quincey Koziol
f1d22675ff [svn-r15614] Description:
More extensible array features: add support for setting/getting
elements in the array's index block.

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-09-11 09:03:23 -05:00
Quincey Koziol
37ebc24cf8 [svn-r15612] Description:
Minor formatting cleanups

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-09-11 07:30:35 -05:00
Quincey Koziol
c465e18a68 [svn-r15609] Description:
Omnibus compiler warning cleanup & some reformatting also.

Tested on:
    Mac OS X/32 10.5.4 (amazon)
    Too minor to require h5committest
2008-09-10 14:10:41 -05:00
MuQun Yang
068620ea81 [svn-r15604] The MPI compiler(mvapich2-0.9.8p2patched-intel-ofed-1.2) at NCSA's linux cluster(Abe) fails to handle collective IO calls with very complicate MPI derived datatype. All the values of input parameters from HDF5 are correct before passing to MPI-IO collective calls. Sometimes the following errors happen:
rank 0 in job 77  honest1.ncsa.uiuc.edu_60945   caused collective abort of all ranks
  exit status of rank 0: killed by signal 9

Up to this point, we decide to turn off the use of advanced MPI derived datatype features inside HDF5 so that complicated selection tests are ensured to be handled by HDF5.  This check-in reflects this.
2008-09-08 17:50:47 -05:00
Scot Breitenfeld
0423d629ce [svn-r15601] Description:
Added windows fortran DLL function file, hdf5_fortrandll.def
2008-09-08 10:48:41 -05:00
Scot Breitenfeld
077b644606 [svn-r15598] Description:
Moved all the windows DLL function declarations to one file (hdf5_fortrandll.def).
2008-09-08 10:02:44 -05:00
HDF Tester
e43736b22b [svn-r15595] Snapshot version 1.9 release 16 2008-09-07 07:52:03 -05:00
Scot Breitenfeld
7aa2e68257 [svn-r15591] Description:
Changed the detection of double back which was failing on 32 bit machines.
2008-09-03 12:03:50 -05:00
Scot Breitenfeld
143073f4cc [svn-r15590] Description:
Changed blank spacing in Fortran output so the output aligns correctly
2008-09-03 12:01:51 -05:00
Scott Wegner
8dea24602d [svn-r15588] Purpose: Add new h5repack tests to Windows
Description:
New h5repack tests were added in revision 15551 and 15557, and also the syntax of one test was changed.  This was causing errors on Windows.  This checkin should fix those errors.

Tested:
VS2005 on WinXP
2008-09-03 10:59:59 -05:00
Scot Breitenfeld
510daa2995 [svn-r15586] Description:
Changed the test for intrinsic Fortran function SIZEOF by using AC_TRY_RUN instead
of AC_TRY_COMPILE.
2008-09-03 10:40:38 -05:00
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