Commit Graph

10471 Commits

Author SHA1 Message Date
Albert Cheng
ca94c839d5 [svn-r15036] Bug fix.
Description:
The fortran Makefile.am used HDF_FORTRAN to indicate it is part of the
Fortran API source so that conclude.am will give fortran api prefix in the
test output.  The symbox HDF_FORTRAN is also used in configure for a different
purpose (indicated --enable-fortran). They conflicted.
Similar problem for the symbol HDF_CXX.

Solution:
Changed all the involved Makefile.am to use "FORTRAN_API" instead. It is
a more appropriate name.  Same for CXX_API.

Along the way, discovered that the Makefile.am of hl/fortran/test and
hl/cxx/test did not have those symbols at all.  Added them in.

Platform tested:
Kagiso only. It is a trivia change.
2008-05-19 00:06:51 -05:00
Quincey Koziol
2adc43f812 [svn-r15034] Description:
Correct another case of using 'size_t' for chunk sizes where 'uint32_t'
was necessary.

Tested on:
	FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN
2008-05-18 23:34:02 -05:00
Elena Pourmal
12c5e315c5 [svn-r15030] Maintenance: Fixed a comment 2008-05-17 22:06:48 -05:00
Elena Pourmal
35261670d8 [svn-r15026] Maintenance: Fixed a typo in the fortran h5tget(set)_fields_f subroutines.
Platfomrs tested: kagiso with GNU compilers (this is bug 1046, I am not closing it since there is
                  no tests for those routines yet)
2008-05-17 21:56:31 -05:00
Scot Breitenfeld
5c122eeb8b [svn-r15025] Purpose:
Cleaned up unused code (i.e. commented out) and removed extraneous output to standard out.

Tested:
N/A - No critical executable source lines were modified, only comments and write statements.
2008-05-16 15:46:10 -05:00
Christian Chilan
6c787d56aa [svn-r15023] Revise man page of the serial benchmarking tool.
Tested on kagiso, smirom, and linew.
2008-05-16 14:53:14 -05:00
Scott Wegner
1a1374c374 [svn-r15022] Purpose: Minor updates to Windows documentation via Kent's recommendations. 2008-05-16 13:48:26 -05:00
Mike McGreevy
e894bb1ec6 [svn-r15020] Purpose: Configure Fix
Description: The test program h52gifgentst was getting installed in the bin
             directory during 'make install', and it shouldn't. Make now
             builds the program for use in testing but doesn't install it
             during 'make install'.

Tested: kagiso
2008-05-16 12:52:19 -05:00
Albert Cheng
9fd6621c92 [svn-r15017] Purpose:
bug fix.

Description:
Removed a few debug print statments that was left in by mistake.
Removed initialization for macro system INSTRUMENT to match how it
behaves before.

Tested platforms:
h5committested (kagiso, smirom and linew).  It failed in fortran
test in smirom but I believed that was not caused by my changes
in configure.in.
2008-05-15 23:00:28 -05:00
Quincey Koziol
22f48585bd [svn-r15015] Description:
Detect chunks that are >4GB before dataset gets created and return error
to application.

    Tweak lots of internal variables that hold the chunk size/dimensions to
use an 'uint32_t', instead of a 'size_t', so that the integer size is constant.

    Correct a number of our tests which were creating datasets with chunks
that were >4GB and add some specific tests for >4GB chunk size detection.

    Minor whitespace & other code cleanups.

Tested on:
    Mac OS X/32 10.5.2 (amazon)
    Forthcoming testing on other platforms...
2008-05-15 22:04:56 -05:00
Mike McGreevy
afbdbb8e93 [svn-r15014] Purpose: Configure Macro Modification
Description: The macro H5_HAVE_WINDOW_PATH is now defined to 1 only when
             MinGW is in use. This is needed to fix the "links" test, and
             the external link feature in the library.

Tested: kagiso
2008-05-15 16:35:13 -05:00
Mike McGreevy
134ec13cdc [svn-r15012] Purpose: New configure option
Description: The configure option --disable-sharedlib-rpath will disable
             embedding of the '-Wl,-rpath' information into executables
             when shared libraries are produced.

Tested: kagiso
2008-05-15 16:08:23 -05:00
Scot Breitenfeld
89276c0f7e [svn-r15010] Purpose:
Fixed validation failure when compiled with -i8 and the g95 compiler

Description:
 Fixed "off by one error" when converting C character buffer 
into fortran character buffer in h5aget_name_by_idx_c
2008-05-15 15:10:41 -05:00
Christian Chilan
d7751c5f8c [svn-r15009] Revise file of the serial benchmarking tool to include new man page.
Tested on kagiso, smirom, and linew.
2008-05-15 12:43:01 -05:00
Mike McGreevy
389cc309c5 [svn-r15007] Purpose: configure cleanup
Description: cleaning up configure related to removal of --disable-hsizet
             flag, which we no longer support.

Tested: kagiso
2008-05-15 11:42:03 -05:00
Scott Wegner
fb1776dd9e [svn-r15005] Purpose: Minor updates to Windows documentation.
Description:
-- INSTALL_Windows.txt:
   -- Update szip version number to 2.1
   -- Extra details for setting up 64-bit builds
   -- Explain adding HDF5 link settings more clearly
   -- Add link to FAQ
   -- Misc. typos and formatting
-- INSTALL_Windows_From_Command_Line.txt
   -- Add note about 64-bit support
-- INSTALL_Windows_Short_NET.TXT
   -- Add notes detailing features unsupported on VS.NET
-- INSTALL_Windows_Short_VS2005.TXT
   -- Add notes about extra features.
2008-05-15 09:21:11 -05:00
Albert Cheng
7b7f10a444 [svn-r15003] Purpose:
Improvement.

Description:
src/libhdf5.settings was the initial configure summary and is installed.
Then configure is changed to dump a summary of the configure settings to
the output and also append it to src/libhdf5.settings.  That created
two different output formats and duplicated information.  This is the
initial attempt to clean up this confusion and unify the output format.

It is decided to use the src/libhdf5.settings template as the unified means.
This requires more macros symbols be defined. The following symbols are
all related to generating the src/libhdf5.settings file.

AC_SUBST(EXTERNAL_FILTERS)
AC_SUBST(MPE) MPE=no
AC_SUBST(STATIC_EXEC) STATIC_EXEC=no
AC_SUBST(HDF_FORTRAN) HDF_FORTRAN=no
AC_SUBST(FC) HDF_FORTRAN=no
AC_SUBST(HDF_CXX) HDF_CXX=no
AC_SUBST(CXX) HDF_CXX=no
AC_SUBST(HDF5_HL) HDF5_HL=yes
AC_SUBST(GPFS) GPFS=no
AC_SUBST(LINUX_LFS) LINUX_LFS=no
AC_SUBST(INSTRUMENT) INSTRUMENT=no
AC_SUBST(CODESTACK) CODESTACK=no
AC_SUBST(HAVE_DMALLOC) HAVE_DMALLOC=no
AC_SUBST(DIRECT_VFD) DIRECT_VFD=no
AC_SUBST(THREADSAFE) THREADSAFE=no
AC_SUBST(STATIC_SHARED)
AC_SUBST(enable_shared)
AC_SUBST(enable_static)
AC_SUBST(UNAME_INFO) UNAME_INFO=`uname -a`

The src/libhdf5.settings.in has CONDITIONAL's added to it too.  The
untrue conditions turned into a "#" and these lines are cleaned by the 
post processing script.

Platform tested:
h5committest on kagiso, smirom and linew.
2008-05-15 00:12:00 -05:00
Scot Breitenfeld
c57a9ec023 [svn-r15002] Purpose:
Made all subroutine names lowercase.
2008-05-14 15:07:31 -05:00
Scott Wegner
037d82e53d [svn-r15000] Purpose: Minor Windows documentation updates
Description:
Small changes to the documentation-- update version strings to 1.8.1 and document the HDF5TestExpress variable
2008-05-14 14:36:38 -05:00
Scott Wegner
d6bbfa5da3 [svn-r14999] Purpose: Minor updates to MinGW installation notes
Description:
Small changes, such as commenting out an additional test and fixing the search path, have been added to the MinGW install instructions.

Tested:
MinGW on WinXP
2008-05-14 14:27:31 -05:00
Scot Breitenfeld
45a23603ed [svn-r14997] Purpose:
Cleaned up get_name_by_idx_f test that uses the newest API.
2008-05-14 14:13:32 -05:00
Scot Breitenfeld
33483eafdc [svn-r14996] Purpose:
Updated the call using the new interface for the get_name_by_idx_f routine
2008-05-14 13:58:44 -05:00
Scot Breitenfeld
a30c706f79 [svn-r14995] Purpose:
Changed the interface for the get_name_by_idx_f routine

Description:
Changed the 'size' which is the correct size of the returned
buffer to be an optional parameter.
2008-05-14 13:50:15 -05:00
Scott Wegner
86790dab74 [svn-r14993] Purpose: Add support for building 64-bit Windows binaries from command line
Description:
We can dynamically detect the host architecture using the PROCESSOR_ARCHITECTURE variable.  This allows us to setup our build paths accordingly and build 64-bit Windows binaries from the command line.  This allows us to run autotests on 64-bit Windows as well.

Tested:
VS2005 on WinXP x64
VS2005 on WinXP x86
2008-05-14 09:46:44 -05:00
Elena Pourmal
ec4ae5213b [svn-r14991] Maintenance: Fixed some bugs discovered by daily testing and by manual testing using -i8 flag
Platforms tested: linew (as for daily tests), icc and pgf90 with -i8 on kagiso; g95 has the problem
                  with -i8 (will be looking into the problem)
2008-05-13 13:23:35 -05:00
Mike McGreevy
ea20e67829 [svn-r14990] Purpose: Bug Fix
Description: Typo in the configure.in script. CC_VERSION should be set using
             CC_NOFLAGS, but is currently using CC_NOFLAG, which does not exist.

Tested: kagiso (configure issue)
2008-05-13 11:43:42 -05:00
Scot Breitenfeld
523bfc1c76 [svn-r14987] Purpose:
Fixed the validation problem with H5Aget_info_f

Desciption:

Recast the interger type passed into 'validate' subroutine.
2008-05-13 11:10:19 -05:00
Pedro Vicente Nunes
46e270ef06 [svn-r14982] - h5dump: support for external links, display the object that the external link
points to. (PVN - 2008/05/12)
2008-05-12 15:38:26 -05:00
Scott Wegner
60f752301d [svn-r14980] Purpose: Update h5dump test script on Windows
Description:
One test has been added to h5dump test for custom output formats.  This adds the test on Windows as well.

Tested:
VS2005 on WinXP
2008-05-12 15:36:01 -05:00
Scot Breitenfeld
cc5f029ada [svn-r14979] Purpose:
Added additional verification test for H5Aget_info_f
2008-05-12 15:24:53 -05:00
Pedro Vicente Nunes
cfd4bf26c4 [svn-r14977] update comments, formatting
tested: windows, linux
2008-05-12 15:10:42 -05:00
Pedro Vicente Nunes
ed8882c52d [svn-r14976] Support for external links follow up. The format is to print the target object as part of TARGETPATH, noted with some extra indentation
The previous printing of 
LINKCLASS 64
was removed

HDF5 "textlinksrc.h5" {
GROUP "/" {
   EXTERNAL_LINK "ext_link1" {
      TARGETFILE "textlinktar.h5"
      TARGETPATH "dset"
         DATASET "dset" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 6 ) / ( 6 ) }
            DATA {
            (0): 1, 2, 3, 4, 5, 6
            }
         }
   }
}
}

There is no script test for this behavior so far, because test script uses complete paths that vary from test to test, making not possible to define a valid TARGETFILE in the file

tested: windows, linux, solaris
2008-05-12 14:32:13 -05:00
Scott Wegner
2fd80deb4d [svn-r14975] Purpose: Add Windows fixes for new Fortran code.
Description:
There were a number of small tweaks we needed to make to add the new fortran_1_8 code on Windows.  We create new project files, add new source to them, add the test to our test suite, and fix a few typos in the Windows-specific source code.

Tested:
VS2005 on WinXP
2008-05-12 13:14:12 -05:00
Scott Wegner
f9835e1019 [svn-r14973] Purpose: Fix bug in H5G_get_name_by_addr where buffer size is less than size of name
Description:
In the new tests merged from the fortran_1_8 branch, there is a test that fetches a dataset name in a small buffer.  The call to H5G_get_name_by_addr wrote an extra byte off the end of the buffer.  A simple and sufficient fix is to decrease the buffer size passed to strncmp by 1.  This bug was only caught by Visual Studio 2005 with extra debug checks on.

Tested:
VS2005 on WinXP
kagiso
2008-05-12 13:01:38 -05:00
Scot Breitenfeld
90205aa02c [svn-r14972] Purpose:
Corrected the way the total number of errors are summed up.
2008-05-12 12:48:23 -05:00
Scot Breitenfeld
6614c194d5 [svn-r14971] Purpose:
Added a test for H5Tget_create_plist_f
2008-05-12 12:46:12 -05:00
Mike McGreevy
41d0d0471b [svn-r14970] Purpose: updated RELEASE.txt document
Description: new autotool version information was missing from 1.9 
             documentation. It was added to 1.8, but I forgot to put it in 
             the trunk when I did that update. It's there now.

             New versions: Automake 1.10.1, Libtool 2.2.2

Tested: none needed, doc update only.
2008-05-12 10:25:42 -05:00
Mike McGreevy
63e372c569 [svn-r14969] Purpose: Bug Fix (Bug 1144)
Description: Tests in perform directory were never getting run, and
             h5perf* programs were not being installed.

Solution: Added another build option, 'make check-perform', which runs the 
          tests in the perform directory. Also modified the Makefiles in the
          perform directory to install (with 'make install') h5perf when 
          parallel is enabled, and h5perf and h5perf_serial when parallel
          is disabled.

Tested: kagiso, smirom, linew
2008-05-12 10:15:27 -05:00
HDF Tester
6cdadf3db5 [svn-r14965] Snapshot version 1.9 release 5 2008-05-11 05:41:59 -05:00
Scot Breitenfeld
2e1c8e196d [svn-r14963] Removed dependency on unused routines for the fortranlib_test_1_8
test program.
2008-05-09 15:51:51 -05:00
Scot Breitenfeld
9c6ec1afa0 [svn-r14962] Removed dependency on unused routines for the fortranlib_test_1_8
test program.
2008-05-09 15:47:46 -05:00
Scot Breitenfeld
5e3880e42d [svn-r14961] Fixed DEC$attributes for windows 2008-05-09 15:24:59 -05:00
Elena Pourmal
44b6a4de8f [svn-r14960] Maintenance: IRIX compiler exposed a problem in one of the new APIs. Fixed.
Platforms tested: kagiso and UCAR IRIX machine.
2008-05-09 14:06:12 -05:00
Scot Breitenfeld
c9d5c195cd [svn-r14958] Cosmetic changes and fixed integer type mismatch in C routine wrapper. 2008-05-09 11:13:24 -05:00
Scot Breitenfeld
b7efe1e536 [svn-r14955] Purpose:
* test passing integer constant to subroutine

Description:

  ! -- CHECK PASSING AN INTEGER CONSTANT IN DIFFERENT FORMS --

  ! 1) call by passing an integer with the _hsize_t declaration 
  
  ! 2) call by passing an integer with the INT(,hsize_t) declaration
  
  ! 3) call by passing a variable with the attribute hsize_t
2008-05-08 12:04:11 -05:00
Scot Breitenfeld
7771660c28 [svn-r14954] re-instated the test_attr_dense_open routine for debugging 2008-05-08 10:59:38 -05:00
Elena Pourmal
908f3a8c8d [svn-r14953] Maintenance: Fixed some minor bugs exposed by the Intel compiler on tungsten.
Platforms tested: tungsten is still configuring.
2008-05-08 10:53:10 -05:00
Pedro Vicente Nunes
d1c3370584 [svn-r14946] added an option to allow a user defined formatting string for printf regarding floating point numbers 2008-05-06 15:05:59 -05:00
Elena Pourmal
4e094b5ee3 [svn-r14944] Maintenance: Disabled -O3 optimization for gcc 4.3 2008-05-06 14:29:56 -05:00
Elena Pourmal
0a896c59a8 [svn-r14941] Maintenance: Cleaned up more test code, fixed more bugs in the test and source codes.
This check-in should address Fortran failures on liberty and smirom.

Platforms tested: kagiso with Intel, smirom with g95 -fPIC, liberty with gfortran42
2008-05-06 13:01:59 -05:00