Commit Graph

10501 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
0838a8ddc7 [svn-r15122] command line parsing and usage
tested: windows
2008-06-02 11:28:14 -05:00
Pedro Vicente Nunes
9178314ee9 [svn-r15117] added repo entries for the h52jpeg test generator program 2008-06-02 10:29:35 -05:00
Mike McGreevy
2b715cd29b [svn-r15112] Purpose: Bug fix
Description: While '-Wl,-rpath' information was being removed from compile
             lines when using --disable-sharedlib-rpath, some information
             was still hidden in another variable tht never got reset and
             thus snuck into the executables. This fix should take care of
             that issue.

Tested: kagiso, smirom
2008-05-30 16:47:44 -05:00
Scot Breitenfeld
c9702f551c [svn-r15110] Description:
Changed the error output formatting so that the 
test status writes to standard out looks correct when using the
sun compiler (it did not correctly tab the output).
2008-05-30 15:30:11 -05:00
Scott Wegner
56caada315 [svn-r15104] Purpose: Work around Windows FC bug in h5dump xml test script
Description:
In some rare instances, FC (diff equivalent) command on Windows will fail when comparing ASCII files with opposite line-ending formats (Unix uses LF, while Windows uses CRLF).  This was an issue for one test case in our test script.  It only came up when testing from a release tarball, because the expected output was not converted to Windows-style.  In this situation, FC was reporting false differences.

To workaround, we double-check failure cases and convert the EOL characters if neccessary.

Tested:
VS2005 on WinXP
2008-05-30 10:54:14 -05:00
Pedro Vicente Nunes
93eb1b8972 [svn-r15103] added h52jpeg 2008-05-30 10:49:01 -05:00
Pedro Vicente Nunes
2e4611e94e [svn-r15099] location for h52jpeg 2008-05-30 09:05:38 -05:00
Scott Wegner
ebd6e8a9c6 [svn-r15096] Purpose: Windows Project Cleanup-- Unify Windows h5tinit
Description:
Previously, there was Windows-dependent code inside H5detect.c, because not all projects could access the gethostname() function.  However, we standardize our project-files to link with WS2_32.lib, so now this function is available.  Thus, the Windows-specific code has been removed from H5detect.c.

Tested:
VS2005 on WinXP
VS.NET on WinXP
no need to test other platforms, Windows-specific source change
2008-05-29 14:19:30 -05:00
Scott Wegner
735967fb12 [svn-r15094] Purpose: Cleanup Windows project files-- standardize program debug information
Description:
In our debug project configurations, many of the projects were generating debug information for "Program Database and Edit & Continue".  Other projects were using different settings, or none at all. We standardize to use "Program Database" setting, because it generates much smaller .obj files and cuts out unnecessary debug information.

This is another project cleanup and enhancement from user suggestions outlined in bug #1164

Tested:
VS2005 on WinXP
VS.NET on WinXP
2008-05-29 13:53:31 -05:00
Scott Wegner
15024258cb [svn-r15093] Purpose: Cleanup Windows project files-- remove ignored system library
Description:
In many of our project files on Windows, we have our linker setting set to ignore old link libraries-- either libc.lib or libcd.lib.  This is a relic from converting project files from old versions of Visual Studio to newer ones, and is unnecessary.  Per a user's suggestion, we remove the ignored library from the project files.  This actually makes no difference in the output binaries.

Tested:
VS2005 on WinXP
VS.NET on WinXP
2008-05-29 12:45:36 -05:00
Christian Chilan
64b2c94612 [svn-r15090] Revise copyright notice. 2008-05-29 11:17:56 -05:00
Scott Wegner
9cc6eeb7e8 [svn-r15089] Purpose: Support Visual Studio .NET builds from command-line
Description:
In our Windows command-line build script, we now support building with Visual Studio .NET, although VS2005 is still the default.  Building with VS.NET still imposes the same feature restrictions as through the IDE:
-- 64-bit builds are unsupported
-- Fortran is unsupported

Tested:
VS.NET on WinXP
VS2005 on WinXP
2008-05-29 09:42:26 -05:00
Scot Breitenfeld
c06ae0d558 [svn-r15075] Description: removed temporary files created by test programs. 2008-05-27 11:55:50 -05:00
Elena Pourmal
f15c901b8f [svn-r15074] Maintenance: This check-in should fix daily tests failures:
Uninstall target had non-existant file to remove; error_handler module triggered
             a race condition for parallel make with Intel and PGI compilers, therefore we
             removed the module and created a subroutine instead.

Platforms tested: kagiso with GNU, Intel and PGI compilers.
2008-05-27 11:06:23 -05:00
Scot Breitenfeld
887c786693 [svn-r15070] Description:
fixed typo (minor fix)
2008-05-23 12:15:52 -05:00
Scot Breitenfeld
ac687db020 [svn-r15069] Purpose:
Added code to remove module files when make clean

Description:
The module files were not being removed when make clean
and caused compiling errors. fixed.
2008-05-23 12:08:30 -05:00
Elena Pourmal
ef3b2df975 [svn-r15067] Maintenance: Daily tests failed on several platforms due to the broken dependencies when
srcdir and parallel make are used; fixed (I hope)
Platforms tested: kagiso with srcdir and parallel make; pgcc and pgf90 -i8 compilers
2008-05-22 13:23:48 -05:00
Scot Breitenfeld
91c1f420e6 [svn-r15066] Description:
Change the interface argument to match that of the actual function.
2008-05-21 16:08:08 -05:00
Scot Breitenfeld
e8e47591f7 [svn-r15065] Description:
Broke-up longer lines over multiple lines

Removed unused variables.
2008-05-21 15:08:24 -05:00
Scot Breitenfeld
8332e5b7d3 [svn-r15064] Description:
Removed extra MPI calls in subroutine by just passing
MPI variables into subroutines.

Added checks for MPI errors.

Cleaned-up formatting.
2008-05-21 14:55:50 -05:00
Elena Pourmal
8394d07bb1 [svn-r15060] Maintenance: File space identifier was not closed causing memory growth; fixed
Platforms tested: kagiso (minor fix)
2008-05-21 14:21:23 -05:00
Scott Wegner
80b71590a8 [svn-r15057] Purpose: Fix Windows project libtestdll module path
Description:
The source file tf.f90 now produces a module error_handler.mod, which was being created in a wrong directory.  As a result, Visual Studio couldn't find it, and building failed.  This corrects the module path of libtestdll project.

Tested:
VS2005 on WinXP
2008-05-21 12:38:06 -05:00
Scott Wegner
75f21172fb [svn-r15056] Purpose: Update Windows h5repack test script
Description:
Merge changes from 1.8 branch into trunk.  New syntax and test added for "old syntax"

Tested:
VS2005 on WinXP
2008-05-21 10:39:29 -05:00
Scot Breitenfeld
fcf8a9a2cb [svn-r15054] Purpose:
Made reporting of the test status  global by handling the output
via a module. Cleaned-up output to the terminal.


Description:
Put writing the test status as a call to a subroutine
instead of on a per account basis. 
Added the dependency of compiling in the correct order
in the Makefiles for use of the Module.
2008-05-21 10:02:24 -05:00
Pedro Vicente Nunes
0c40ae2d42 [svn-r15052] Add a test for the 1.6.7 -i infile -o outifle for backward compability
Used the function TOOLTEST  from 1.6.7

Tested: linux
2008-05-21 09:53:53 -05:00
Pedro Vicente Nunes
e0e2b131ea [svn-r15047] bug fix regarding change from -i to -d regarding number of links in indexed format
tested: windows
2008-05-20 15:27:53 -05:00
Pedro Vicente Nunes
449941a28e [svn-r15044] backward compatibility for old -i infile -o outfile options
if these are detected this syntax is used, otherwise the one in usage is used
there was another -i option for 


-i L2, --indexed=L2     Minimum number of links in the indexed format


That was changed to -d


-d L2, --indexed=L2     Minimum number of links in the indexed format


Tested: windows, linux
2008-05-20 14:05:28 -05:00
Albert Cheng
e3180b57c0 [svn-r15043] Bug fix.
Description:
perf would crash at the end as it complained it was doing MPI calls after
MPI_Finalize() is called.  I suspect the HDF5 library is making MPI calls
in the at_exit area.  This should not happened.

Solution:
Added the H5exit() right before MPI_Finalize() fixed the problem.
But it needs to find out why HDF5 library is making MPI calls in
the at_exit() area.  It should not.
Also, changed the temporay data file name from /tmp/test.out to
perftest.out, both to avoid multiple instance of this may use the
same /tmp/xxx name and also make the file name less generic.

Tested:
Kagiso PP.
2008-05-20 13:34:00 -05:00
Mike McGreevy
e6715b9704 [svn-r15041] Purpose: Configure Fix
Description: Removing make target "check-perform". The extra target is unneeded
             because the perform tests don't take as long to run as initially 
             anticipated, and can be lumped in with 'make check'.

Tested: kagiso
2008-05-19 16:12:16 -05:00
Quincey Koziol
bdd56bd8da [svn-r15037] Description:
Better cleanup of internal structures when no szip encoder.

Tested on:
    Linux/32 2.6 (kagiso) w/szip-no encoder
2008-05-19 01:03:16 -05:00
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