Commit Graph

8226 Commits

Author SHA1 Message Date
Fang Guo
cf98f1786b [svn-r11808] Purpose:
Maintenance on Windows
Description:
move hl c examples to windows/hl/examples
Solution:

Platforms tested:

Misc. update:
2005-12-20 15:45:53 -05:00
Fang Guo
469773938c [svn-r11807] Purpose:
Maintenance on Windows
Description:
Move hl c examples to windows/hl/examples directory
Solution:

Platforms tested:

Misc. update:
2005-12-20 15:43:53 -05:00
Fang Guo
740f519575 [svn-r11806] Purpose:
Maintenance on Windows
Description:
Move hl c examples to the directory hl/examples
Solution:

Platforms tested:

Misc. update:
2005-12-20 15:35:05 -05:00
Fang Guo
9121ddec83 [svn-r11805] Purpose:
Maintenance on Windows
Description:
Add batch file to test hl fortran examples
Solution:

Platforms tested:
Windows XP
Misc. update:
2005-12-20 15:32:27 -05:00
Fang Guo
91ddc081ba [svn-r11804] Purpose:
Maintenance on Windows
Description:
Add hl fortran examples
Solution:

Platforms tested:
Windows XP
Misc. update:
2005-12-20 15:31:38 -05:00
Fang Guo
d6c3f66882 [svn-r11803] Purpose:
Maintenance on Windows
Description:
Add in hl fortran examples
Solution:

Platforms tested:
Windows XP
Misc. update:
2005-12-20 15:30:02 -05:00
Fang Guo
ffc727c3de [svn-r11802] Purpose:
Maintenance on Windows
Description:
Add in instruction for building hl fortran examples
Solution:

Platforms tested:

Misc. update:
2005-12-20 15:22:45 -05:00
Fang Guo
2d2775376f [svn-r11801] Purpose:
Maintenance on Windows XP
Description:
Change project settings due to Petro's changes to h52gif
Solution:

Platforms tested:
Windows XP
Misc. update:
2005-12-19 13:31:24 -05:00
Fang Guo
308cb926e9 [svn-r11800] Purpose:
Maintenance on Windows
Description:
Update project settings due to Petro's new changes to h52gif
Solution:

Platforms tested:
Windows XP
Misc. update:
2005-12-19 13:30:05 -05:00
James Laird
51fdb1ebcf [svn-r11799]
Purpose:
Bug fix

Description:
Libraries were listed in the wrong order in tools/gifconv Makefile.am, confusing
the linker.

Solution:
Put HDF5 library after tools library in Makefile.am and ran reconfigure.

Platforms tested:
mir, sleipnir
2005-12-16 10:58:37 -05:00
Albert Cheng
a735b263d3 [svn-r11798] Purpose:
Feature.

Description:
Modified it so that it can be compiled outside of HDF5 library as a standalone
program.  e.g., mpicc -DSTANDALONE prog.c.

Platforms tested:
Tested in Red storm and heping.
2005-12-16 03:08:54 -05:00
Pedro Vicente Nunes
3f1ee5ee1d [svn-r11796] Purpose:
h52gif bug fix (494)

Description:

 the reading routines were using file datatype sizes for memory allocation

 Changed the HDF5 read routines to use memory types and sizes,
 for both the image and pallete datasets


Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-12-15 15:07:11 -05:00
HDF Admin
ba606b4fea [svn-r11795] Snapshot version 1.7 release 54 2005-12-14 10:12:03 -05:00
HDF Admin
4d005161a5 [svn-r11793] Purpose:
Improvement

Description:
Release action now prints a message showing Release version and where it
deposits it.

Platforms tested:
Change is simple and will test by hand after check in.

Misc. update:
2005-12-14 10:04:11 -05:00
James Laird
7a4780e0de [svn-r11792] Purpose:
Makefile fix

Description:
The h5diff parallel test script depends on the serial test script.
Added this dependency.

Solution:
Used SCRIPT_DEPEND variable.  Also added ph5diff (when it is compiled).

Platforms tested:
mir
2005-12-13 16:55:57 -05:00
James Laird
fde99876a3 [svn-r11791] Purpose:
Bug fix

Description:
Fogot to commit file config/examples.am in previous checkin.

Solution:
The examples.am file contains common Makefile rules for the example
directories.
2005-12-13 16:37:15 -05:00
Albert Cheng
92a508bdb8 [svn-r11790] Purpose:
Improvement

Description:
Some parallel system would dump some system messages in the stdout
stream of an MPI application.  That caused the output matching script
to fail unnecessarily.

Solution:
Added the STDOUT_FILTER feature to filter out those system messages
out of stdout result.

Platforms tested:
Tested in LANL Lambda.
2005-12-13 13:29:09 -05:00
Albert Cheng
0d47bd3c05 [svn-r11789] Purpose:
Improvement.

Description:
Splitted the "make check" into "make check-s" and "make check-p" so that
it is clearer which nature of tests are being tested.

Platforms tested:
heping (serial and pp).
2005-12-12 17:38:50 -05:00
Albert Cheng
cfbc02d030 [svn-r11788] Purpose:
Patch.

Description:
Copper would fail with a message of
0032-113 Out of memory  in routine unknown, task 0
when run with 3 processes and size 1MB in MPI-IO tests.
It seems to be a copper MPIO error.

Solution:
Reduced the upper bound of default write size to 1/2MB (but
tests only go to 1/4MB) for now, pending permenant fix from
Copper.

Platforms tested:
Copper.
2005-12-12 14:42:34 -05:00
Quincey Koziol
d4667a02cd [svn-r11787] Purpose:
Bug fix

Description:
    Remove several macros that are already defined in H5private.h and are
causing failures on copper.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-12-11 22:47:10 -05:00
Leon Arber
8d90fdaf96 [svn-r11786] Purpose:
Minor bug fixes.

Description:
1.  Changed free() calls to HDfree()
2.  Corrected behavior of -m command-line parameter
3.  Changed return value to always return 0.

Solution:

2.  The -m flag tells the test to run only the MPI IO tests.  However, it would incorrectly make
the test run both the MPI and POSIX tests (same as the default behavior).

3.  This test is known to fail on many platforms, and, even on those platforms where it usually passes,
it is known to suffer transient failures (especially with small test file sizes).  It's outcome is
also very dependent on the filesystem on which the testfile is created.  Corrected
the program to always return success, so that it doesn't interfere with the daily tests.

The motivation for this is that
this test has nothing to do with the HDF library and is an auxiliary test.  Failures in t_posix_complaint
do not necessarily mean that parallel HDF will fail, but simply indicate something to look into,
especially on new platforms.  This is now an "output only" test, and any errors will be only be visible
in the output.

Platforms tested:
copper (all of these were minor changes)

Misc. update:
2005-12-11 13:40:07 -05:00
Albert Cheng
86ee1cc2ff [svn-r11785] Purpose:
Patch for red-storm.

Description:
A temporary patch for redstorm, must open a file in the same parallel
data filesystem before H5_init_library.  Otherwise, it hangs with error:
(client.c:568:ptlrpc_check_status()) @@@ type == PTL_RPC_MSG_ERR, err == -114 req@0x57a9660 x1/t0 o38->mds_l2@MDS_PEER_UUID:12 lens 240/272 ref 1 fl Rpc:R/100000/0 rc 0/-114

Platforms tested:
Red-storm.
2005-12-10 23:35:41 -05:00
Albert Cheng
34007b3fb8 [svn-r11784] Purpose:
Customize more for the red-storm platform.

Platforms tested:
Red-storm.
2005-12-10 23:33:10 -05:00
Albert Cheng
8ec440e959 [svn-r11783] Purpose:
bug fix.

Description:
Fixed the segmentation fault errors in modi4, copper and tg-login.
It was due to the misuse of trying to realloc a pointer returned by
getenv_all. (not supposed to.)

Also rearranged the code so that option is checked first, then check
with environment variable, then use default setup.  This saves the
need to do realloc at all.

Platforms tested:
Heping, modi4, shanti, copper (copper showed a different error now.)
2005-12-10 23:28:31 -05:00
Albert Cheng
67f39db8a0 [svn-r11782] Purpose:
bug fix.

Description:
Mpich2 also has the derived type errors but some mpich2 gave no
verison number and some gave 1.0.2.

Solution:
Added those two cases to catch mpich2 that had these sort of errors.

Platforms tested:
heping using mpich and mpich2.
2005-12-10 23:15:12 -05:00
Quincey Koziol
fe505c2bbf [svn-r11781] Purpose:
Bug fix

Description:
    Include more header files with prototypes to make CC=g++ builds work.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/CC=g++
    Too minor to require h5committest
2005-12-10 12:43:37 -05:00
James Laird
b1fd3f5657 [svn-r11780] Purpose:
Added high-level example directories

Description:
Refactored common code out of examples Makefiles.am, added high-level
example directories, added packet table examples.

Solution:
Examples now draw from a common config/examples.am file, which
contains rules for installing, uninstalling, and cleaning examples.
High-level example directories are mostly empty, except for the
C and C++ packet table tests.

Platforms tested:
mir, sleipnir, copper, shanti
2005-12-09 15:59:11 -05:00
Quincey Koziol
9124030f91 [svn-r11779] Purpose:
Bug fix

Description:
    Change unsigned index variable to signed index variable (again), to fix
error introduced with last Windows warnings cleanup.

Platforms tested:
    Linux 2.4 (heping) w/FORTRAN
    Too minor to require h5committest
2005-12-09 11:18:05 -05:00
Leon Arber
4d6d659c41 [svn-r11778] Purpose:
Bug fix.

Description:
For some strange reason, getopt() does not appear to be defined in unistd.h
on colonelk when the source is compiled with -D_POSIX_SOURCE.


Solution:
Inserted some extern's for the missing variables to make the compiler happy.

Platforms tested:
colonelk, copper

Misc. update:
2005-12-08 16:44:55 -05:00
Leon Arber
1ff1d02c68 [svn-r11777] Purpose:
Feature

Description:
Added blurb about future todo's for this test.

Added support for HDF5_PARAPREFIX to determine the directory where the test file
is stored.

Solution:
Used getenv_all to get the value of HDF5_PARAPREFIX.  Note that, if a command-line
parameter is passed to the program to specify a path, it will override the value of
HDF5_PARAPREFIX.

Platforms tested:
copper, colonelk

Misc. update:
2005-12-08 16:24:51 -05:00
Leon Arber
3f766acd0c [svn-r11776] Purpose:
Added t_posix_compliant to the rest of the build and patched up minor
compile bugs/warnings encountered on other platforms.

Description:
It seems that <getopt.h> needs to be included to get the file to build, even though the man page
seems to indicate that <unistd.h> should be sufficient.

Solution:

Platforms tested:
copper, colonelk, sol
2005-12-08 15:33:19 -05:00
Quincey Koziol
48514c008f [svn-r11774] Purpose:
Extra test

Description:
    Add test to make certain that trying to call H5Fopen() on a non-existant
file fails.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-12-08 14:35:34 -05:00
Leon Arber
cf7ec2cfd9 [svn-r11773] Purpose:
Added new t_posix_compliant.c file

Description:

Solution:

Platforms tested:

Misc. update:
2005-12-08 14:16:06 -05:00
Leon Arber
5e58d47b98 [svn-r11772] Purpose:
Feature

Description:
Added posix compliance tests.

Solution:
These tests do increasingly complicated sets of writes followed by reads.
POSIX standards say that any read that can be proven to occur after a write
must include the data in that write.  These tests attempt to verify whether the
underlying filesystem and i/o layer provide such guarantees.


Platforms tested:
copper, colonelk, red storm

Misc. update:
2005-12-08 14:14:28 -05:00
Quincey Koziol
88c15b1617 [svn-r11771] Purpose:
Code cleanup

Description:
    Fix a bunch of warnings flagged by Windows compilers.


Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-12-08 13:34:51 -05:00
Albert Cheng
bfa65eed0f [svn-r11770] Updated with newly added and removed files. 2005-12-08 12:13:50 -05:00
HDF Admin
ee8efd25df [svn-r11769] Purpose:
Temporary fix.

Description:
Since the file format is unstable, we don't want the snapshot tarball
be readily available to any FTP users.  Change the snapshot archived
location to a directory that is not accessible by Anon. FTP.  If someone
wants to use one of these snapshot versions, give him/her a copy of these
files.

When file format is restored, switch this back to the previous default
location.

Platforms tested:
no test since change is pretty trivial.  I have scheduled a snapshot
release tonight to see if it will put it in the right place.
2005-12-08 11:46:10 -05:00
Albert Cheng
b10cbe3cc9 [svn-r11768] Purpose:
Feature.

Description:
Removed the entry for tflops which has retired.
Added a special --host entry for redstorm.
This allows "configure --host=redstorm" for building in RedStorm.

Platforms tested:
Red Storm.
2005-12-07 15:45:42 -05:00
Fang Guo
86b71e9586 [svn-r11767] Purpose:
Maintenance on Windows
Description:
Update expected output for C examples
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-12-06 13:11:38 -05:00
Fang Guo
1180b1bebb [svn-r11766] Purpose:
Maintenance on Windows
Description:
Update all.sln due the new changes of hdf5.dsp and hdf5dll.dsp
Solution:

Platforms tested:

Misc. update:
2005-12-06 12:55:21 -05:00
Fang Guo
16fb858103 [svn-r11765] Purpose:
Maintenance on Windows
Description:
Add H5Goh.c, H5Doh.c and H5Toh.c into hdf5dll.dsp
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-12-06 12:54:03 -05:00
Fang Guo
792b756e2b [svn-r11764] Purpose:
Maintenance on Windows
Description:
Add H5Goh.c, H5Doh.c and H5Toh.c into hdf5.dsp
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-12-06 12:52:45 -05:00
Binh-Minh Ribler
cf1d541356 [svn-r11763] Purpose: Adding tests
Description:
    Added tests for openFile and new getObjinfo.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    HPUX 11.00 (kelgia)
2005-12-05 16:05:33 -05:00
Binh-Minh Ribler
11d013f8cc [svn-r11762] Purpose: Adding more wrappers
Description:
    Added member function H5File::openFile and overloaded for convenience.
    Added overloaded getObjinfo to skip the middle parameter.
    Changed
        StrType(const size_t& size);
    to
        StrType(const int dummy, const size_t& size);
    because the first one clashed with
        StrType(const hid_t existing_id);

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    HPUX 11.00 (kelgia)
2005-12-05 15:23:12 -05:00
Albert Cheng
e969226fc7 [svn-r11761] Purpose:
Unstable format version marker.

Description:
This marks the Check in baseline for compact group revisions,
which radically revises the source code for managing groups and object headers.
Earlier versions (1.7.52 or earlier) have the original format.  This version
and later have the unstable format until further notice.

Platforms tested:
h5committested.
2005-12-05 13:41:27 -05:00
Quincey Koziol
8d344f96bc [svn-r11758] Purpose:
New feature

Description:
    Add in a combination of Peter's & my code to support copying
variable-length data from one file to another, although currently only
supported with contiguous data storage.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committest
2005-12-03 21:27:37 -05:00
Binh-Minh Ribler
4620776d72 [svn-r11757] Purpose: Example code improvement
Description:
    Improved the use of std members.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    Linux 2.4 w/PGI (colonelk)
2005-12-03 07:28:55 -05:00
Binh-Minh Ribler
2b41179280 [svn-r11756] Purpose: Test improvement
Description:
    Improved the use of std members.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    Linux 2.4 w/PGI (colonelk)
2005-12-03 07:27:14 -05:00
Binh-Minh Ribler
5ed48cf279 [svn-r11755] Purpose: Code improvement
Description:
    There was a workaround for predefined types, in the C++ library,
    implemented when the C++ library was handling the reference
    counting of the object ids on its own.  Currently, the C++ library
    is using the available APIs from the C library for that purpose,
    and there were bugs reported involving that part of the C++ library.
    So, I decided to remove the workaround completely.

    Also, improved the use of std members.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    Linux 2.4 w/PGI (colonelk)
2005-12-03 07:21:25 -05:00
James Laird
25576025eb [svn-r11754] Purpose:
Feature

Description:
bin/reconfigure now allows users to define the paths to the autotools on their
system.  bin/reconfigure also runs the trace script when it is invoked.

Solution:
The autotools are specified using environment variables: AUTOCONF, AUTOMAKE,
ACLOCAL, AUTOHEADER, and LIBTOOL_DIR.  See bin/reconfigure for the defaults.
The version of each of the autotools is checked before they are run, so
users can't invoke the wrong version of any autotool.
The trace script is run on all the .c files in the src directory when
reconfigure is invoked.  Ideally, bin/reconfigure should be run when any new
function is added to the library, but if the tracing information is out of
date the library will still work.
The trace script has also been modified to ignore the multi and stdio file
drivers (per Quincey's suggestion).

Platforms tested:
mir, shanti
2005-12-02 13:46:20 -05:00