Commit Graph

50 Commits

Author SHA1 Message Date
Mike McGreevy
a3d8f174dc [svn-r13616] This check-in updates the bin/reconfigure file to point to the most recent versions of the autotools.
Updated autotool versions are: autoconf 2.61, automake 1.10.0, and libtool 1.5.22.

Tested on kagiso.
2007-04-09 13:44:42 -05:00
James Laird
b94776f418 [svn-r13418] Cleaned up some old paths in config/commence.am and removed some comments in the
template file config/Makefile.am.blank.

This is just a cleanup checkin.  Tested on kagiso.
2007-02-27 12:26:25 -05:00
James Laird
0d86163705 [svn-r13379] Added 'make help' target. This actually runs a script, bin/makehelp (formatting
the output in the makefile was pretty hard).

Tested that make still works on kagiso; no code changes at all.
2007-02-23 14:14:11 -05:00
Albert Cheng
1b98fd4dbe [svn-r13365] Bug fix.
Description: Multiple copies of Copyright appeared in Makefile.in.  This was
due to automake copying the copyright right in the included files such as
config/commence.am.

Solution: Automake treats double hashes as comments and does not copy them
to Makefile.in.  Changed all the copyright notices in config/*.am to use
double hashes for the Copyright right notice.

Tested: kagiso via bin/reconfigure.
2007-02-21 10:43:35 -05:00
James Laird
c64266b78e [svn-r13359] Fixed a bug where the -shlib flag for h5cc would end up on the Dependency line
in the Makefile.

Makefile change only.  Tested on kagiso, to be used to test on cobalt.
2007-02-20 18:39:44 -05:00
Quincey Koziol
cec2dd6085 [svn-r13306] Description:
Mask off the storage utilization for the h5ls output, so that the
h5ls output is more portable (VL datatype size is reported as the memory size
instead of the file size, making the storage utilization incorrect - entered
in bugzilla)

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-14 15:30:41 -05:00
Quincey Koziol
efc45d5aab [svn-r13303] Description:
Blank out the modification time, to eliminate another portability issue.

Tested on:
    Linux/32 2.6 (chicago)
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.8 (amazon)
2007-02-14 12:56:26 -05:00
Quincey Koziol
7b54b0d787 [svn-r13302] Description:
Use the '-S' command line flag for h5ls, to make the output portable.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-14 12:45:20 -05:00
Quincey Koziol
f6a22fb0de [svn-r13301] Description:
Add '-p' flag to h5copy tool, to create intermediate "parent" groups
that don't exist in destination file yet.

    Add more tests to h5copy script.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-14 11:31:11 -05:00
Quincey Koziol
847f01442b [svn-r13299] Description:
Put paths to testfile input & output directories in one place, making it
easier to modify them if we choose to re-arrange our testfile locations in
the future (this should probably be carried over to other test scripts).

    Make h5copy exit more cleanly if no command line parameters are given.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-14 09:44:42 -05:00
Quincey Koziol
bb392083b2 [svn-r13297] Description:
Add small 'h5mkgrp' tool to create groups in an HDF5 file from the command
line, allowing the group structure for a file to be created in a script.  This
tool closely follows the 'mkdir' command line tool in UNIX/Linux.

    Allow tool library applications to pass a FAPL to the h5tool_fopen() call,
giving some additional flexibility to tools which are adding objects to an
existing HDF5 file (like h5copy & h5mkgrp).

    Fix missing files in MANIFEST from previous checkin(s).

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-14 08:54:11 -05:00
Quincey Koziol
a5662c4978 [svn-r13294] Description:
Add empty & "full" groups to source HDF5 file and test copying them.

    Test renaming objects during copy

    Test specifying root group path for source & destination objects

Tested on:
    Linux/32 2.6 (chicago)
    Too minor to require more tests
2007-02-13 18:45:13 -05:00
Quincey Koziol
c6b3059a92 [svn-r13293] Description:
Refactor h5copy testing script to abstract out some of the common behavior,
obey the "HDF5_NOCLEANUP" environment variable, delete any output file left
over from a previous run, add a "test variation" parameter to output file name
for adding next sequence of test variations, etc.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-13 18:21:07 -05:00
Quincey Koziol
d3c5ab50fc [svn-r13292] Description:
Add feature to h5copy to allow it to add an object to an existing file,
instead of blowing away existing file.

    Modify h5tools_fopen() routine to take access flags, so it can be used
to open an existing file for writing.

    Added check to h5copy test script that verifies it has produced a file
with the correct structure.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-13 17:42:43 -05:00
Albert Cheng
a7cac4a194 [svn-r13264] Updated Makefile.am with new THG copyright notice.
Ran reconfigure to generate the Makefile.in files.
2007-02-07 17:28:58 -05:00
Albert Cheng
84fa11d2c7 [svn-r13261] Updated copyright notices.
Tested: visual inspection as they are all just comments.
2007-02-07 14:56:21 -05:00
Albert Cheng
ed7d456e51 [svn-r13253] Updated all C and C++ style source code files with the THG copyright notice.
Tested platform:
Kagiso only since it is only a comment block change.  If it works in one
machine, it should work in all, I hope.  Still need to check the parallel
build on copper.
2007-02-07 09:56:24 -05:00
James Laird
59eccdaf69 [svn-r13181] Added a configure check to prevent a failure on Cygwin.
It seems that while Cygwin supports the time command, it has trouble with
the syntax
srcdir="../../hdf5/test" time ./testhdf5
and complains.
The solution is to test the above case in configure and not to use the time
command if it fails; Cygwin is fine with
srcdir="../../hdf5/test"  ./testhdf5

Tested on Cygwin and kagiso.  This feature shouldn't be a major compatibility
problem since every platform but Cygwin is already fine with the current
syntax.
2007-01-23 12:29:45 -05:00
Peter Cao
0055ec4a71 [svn-r13164] Add nullmsg flag for testing only 2007-01-22 12:04:38 -05:00
Peter Cao
416f0145ab [svn-r13160] Fixed help information to use stdout instead of stderr. 2007-01-19 15:24:30 -05:00
James Laird
6b5a918b1e [svn-r12929] Hopefully this really is a fix for the tg-login errors.
The version of libtool used by HDF5 isn't directly affected by the reconfigure
script; instead, libtoolize --force must be used by hand.  Libtool was the
source of the problem, so rolling its version back to 1.5.14 should solve the
issue (at least temporarily).

Reconfigure should still work on both heping and kagiso.

Tested on heping, kagiso, and tg-login3.
2006-11-16 15:44:35 -05:00
James Laird
a9397f3f51 [svn-r12911] Backed up to previous versions of automake and libtool. Hopefully this will fix
issues on tg-login3.

bin/reconfigure should still work on both heping/mir and kagiso.
2006-11-14 11:15:07 -05:00
James Laird
911e79b273 [svn-r12887] A fix for linking issues.
Should disable linking against shared libraries in Fortran for compilers that
don't support shared libraries.

Should also fix problem when the wrong Fortran file extension was specified.

If these changes don't solve the Daily Test issues, I'll look at backing out
the autotool version change until I have time to fix them.

Tested on heping, kagiso, juniper.
2006-11-10 14:56:04 -05:00
James Laird
a9350e86f0 [svn-r12882] Changed bin/reconfigure to work on kagiso as well as on AFS Linux machines.
Updated to the latest versions of autotools.

Tested on kagiso, heping, and juniper.  Let me know if you have any problems.
2006-11-08 13:39:15 -05:00
Quincey Koziol
2e8e42d6c9 [svn-r12869] Description:
Rename new H5Gcopy() routine to H5Ocopy() as discussed in last Friday's
design discussion.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-06 16:35:44 -05:00
Pedro Vicente Nunes
2d586abc27 [svn-r12772]
added more tests for h5copy (compressed datasets, vl named datatypes )
2006-10-17 15:59:10 -05:00
James Laird
de383a7edf [svn-r12741] Added support for direct I/O to check-vfd. The direct VFD is only tested
if it is enabled.

Added Direct VFD status to the configure summary.

Removed a line left over from pablo support.  Oops!
2006-10-10 15:47:24 -05:00
Pedro Vicente Nunes
c13697362a [svn-r12722]
added new tests for h5copy script, generated in the test file generator program
2006-10-05 14:46:45 -05:00
James Laird
e5f0444b3a [svn-r12715] Incorporated a user-submitted patch to better detect the 'tr' utility
and quote its arguments.  Also checks for the 'socket' library on
Solaris.

If this patch passes the Daily Tests and makes the user happy, I'll
port it back to the 1.6 branch.

Tested on mir and sol.
2006-10-03 17:41:34 -05:00
Quincey Koziol
c77e39522b [svn-r12680] Description:
Review, revise & checkin in Peter's latest round of object copy changes,
which add basic support for datasets & attributes with reference datatypes.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-25 17:22:14 -05:00
Pedro Vicente Nunes
b72f6dc836 [svn-r12671]
added a test file generator program for h5copy, modified test script to use
that file, added binary file to repo

tested on heping, shanti
2006-09-18 11:25:47 -05:00
Pedro Vicente Nunes
907c60a12a [svn-r12665]
added comments
2006-09-13 09:59:45 -05:00
Pedro Vicente Nunes
d135049773 [svn-r12664]
modified the h5copy test script so that it calls h5diff to check the
copied file/object
2006-09-13 09:46:30 -05:00
Albert Cheng
66d2d26f5d [svn-r12634] Purpose:
Code cleanup.

Description:
Removed argc and argv from the function arguments of h5tools_get_fapl() and
h5tools_fopen().  They were used to call MPI_Init() which was no longer
needed.

Tested:
heping (serial and parallel).
2006-08-27 19:55:27 -05:00
Pedro Vicente Nunes
896f001f33 [svn-r12628]
updated the usage message of h5copy
2006-08-24 16:48:51 -05:00
Pedro Vicente Nunes
35661615a5 [svn-r12626]
h5copy, new behavior according to RFC: introduction of -i, -o, -s , -d
switches for file and object names
2006-08-24 10:53:31 -05:00
James Laird
9d4229713e [svn-r12608] Checked in External Link C examples.
Since these examples need to follow filesystem paths, the Makefiles need
to create directories in the examples directory; added this to the
Makefile.am.

Tested on Windows, mir, juniper
2006-08-22 11:22:43 -05:00
James Laird
e5bc52d890 [svn-r12584] Mentioned VFD in test output to make it easier to tell which VFD is being used
when a test is run.

Running reconfigure also regenerated error header files (because someone edited
them manually?).
2006-08-17 09:18:03 -05:00
Albert Cheng
1be6fb8417 [svn-r12522] h5copy was not able to find the source file because it was not using
the $srcdir properly.  It is not right to chdir into testfiles and write
files there because in real srcdir mode, one should not changes things
in the srcdir area which could be shared by multiple builds simultanteously.

Solution: added the proper $srcdir components to the source file name.
Also clean up the indentation by cb.

Tested: only by hand in heping.
2006-08-01 09:31:45 -05:00
Pedro Vicente Nunes
26303bfdb5 [svn-r12520] bug fix
added a call to h5tools_close

tested: linux
2006-07-31 14:53:14 -05:00
James Laird
beb04ae817 [svn-r12519] Fixed "make check-vfd"
"make check-vfd" will now run all tests in the test directory with different
file drivers (at least, all of those tests that use the testing framework's
FAPL).  Tests that fail will be skipped.

This is not a perfect fix, but is better than nothing.

Along with this change, check-vfd should be added to the Daily Tests.
2006-07-31 14:46:16 -05:00
Pedro Vicente Nunes
c7384f49e0 [svn-r12513]
new feature
h5dump binary output. use little and big endian type conversions
2006-07-28 10:00:29 -05:00
Pedro Vicente Nunes
e5efc2f057 [svn-r12510] add a test for a missing file name
test: linux
2006-07-27 13:52:26 -05:00
Pedro Vicente Nunes
b7dd856aea [svn-r12504]
bug fix

calling h5tools_get_fapl running the mpio driver caused H5FD_pl_copy to
fail silently in some conditions. a MPI call was made before MPI_Init.

solution: corrected the MPI call to be made after MPI_Init and added error return
conditions to H5FD_pl_copy and h5tools_get_fapl

tested on copper parallel, mir, shanti
2006-07-27 10:01:48 -05:00
Pedro Vicente Nunes
59d5e5c6fb [svn-r12490]
commented h5copy calls that are failing with mpicc compiler
2006-07-21 13:33:17 -05:00
Pedro Vicente Nunes
29cd766ae0 [svn-r12489] removed some whitespace 2006-07-21 11:03:13 -05:00
Pedro Vicente Nunes
2b65473c85 [svn-r12487]
updated some comments
2006-07-20 16:33:25 -05:00
Pedro Vicente Nunes
9ddb68e9f3 [svn-r12486] added some tests to the h5copy shell script
tested: shanti, mir
2006-07-20 14:24:48 -05:00
Pedro Vicente Nunes
01c58f7fe9 [svn-r12483] Removed some white space from h5copy.c
his line, and those below, will be ignored--

M    h5copy/h5copy.c
2006-07-19 17:12:06 -05:00
Pedro Vicente Nunes
5d8a9053c7 [svn-r12482] new tool h5copy
it uses the API function H5Gcopy to copy groups and datasets from file
to file, read from a command line

note: the test script is not finished yet
tested on heping, copper, shanti
2006-07-19 16:47:33 -05:00