Commit Graph

8215 Commits

Author SHA1 Message Date
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
Fang Guo
151e0e1620 [svn-r11753] Purpose:
Description:

Solution:

Platforms tested:

Misc. update:
2005-12-02 10:52:42 -05:00
Fang Guo
0d008c805c [svn-r11752] Purpose: Maintenance on Windows
Files updates due to the difference of copyright information
Description:

Solution:

Platforms tested:

Misc. update:
2005-12-02 10:50:05 -05:00
James Laird
c46e4e51d9 [svn-r11751] Purpose:
Cleanup

Description:
Changed comments in C++ packet table code to refer to entries as
"packets" instead of "records."

Solution:
The APIs were changed to correspond to the C API, but the documentation
wasn't.  This is fixed.

Platforms tested:
mir, shanti, sleipnir

Misc. update:
This corresponds to documentation update earlier this week.
2005-12-01 11:18:24 -05:00
Fang Guo
b6d7ebf3bb [svn-r11748] Purpose:
Maintenance on Windows
Description:
Fix some typoes
Solution:

Platforms tested:

Misc. update:
2005-11-29 14:21:22 -05:00
Albert Cheng
000da5785e [svn-r11747] Purpose:
Cleanup and new feature.

Description:
Remove old code no longer used (LOCATE_GASS, LOCATE_FORTRAN, LOCATE_HDF4.
Added new option to locate szlib.

Platforms tested:
Tested in heping and shanti.
2005-11-23 15:33:48 -05:00
Raymond Lu
5125354f7e [svn-r11742] Purpose: Minor correction.
Description: H5Eset_auto_stack() and H5Eset_auto() used FUNC_ENTER_API.  It would clear the error
stack from the previous API call.  It's better to use FUNC_ENTER_API_NOCLEAR to avoid clearing
the stack.


Platforms tested: fuss - simple change.
2005-11-18 16:18:13 -05:00
James Laird
0f870b0f47 [svn-r11741] Purpose:
Bug fix

Description:
Fortran type generation was broken in two ways.  Fixed both.

Solution:
Firstly, there were a couple of path problems.  Fixed a typo and
specified the full path of a file.
Secondly, the dependencies weren't right when building with HDF5-specific
commands (make lib, make check-s, etc.).  Tweaked dependencies
to fix the problem.

Platforms tested:
mir, modi4, sleipnir
2005-11-18 15:31:53 -05:00
Pedro Vicente Nunes
0426d8d7e1 [svn-r11740] Purpose:
code check

Description:
changed the name of a few variables that were misleading in its name

Solution:

Platforms tested:
linux

Misc. update:
2005-11-18 15:09:28 -05:00
MuQun Yang
c7e562c755 [svn-r11739] Purpose:
slight code change for efficiency of iteration of chunk address
Description:
Quincey picked this up because of my inexperience of C. A pair of redundant malloc and free calls will be removed.

Solution:

Platforms tested:
heping(Linux 2.4)
too little to be tested.

Misc. update:
2005-11-18 11:01:53 -05:00
James Laird
4f8ca8e026 [svn-r11738] Purpose:
Configure feature

Description:
Added 'make trace' target.

Solution:
Added tracing to 1.7.  This was done automatically in 1.6, but left out
of 1.7 until now (oops!).
Tracing in 1.7 only happens manually, when the user types 'make trace.'
Tracing automatically requires more framework than it's worth.
I also fixed a couple of tracing bugs and ran trace.

Platforms tested:
mir, sleipnir, modi4

Misc. update:
2005-11-18 10:55:22 -05:00
James Laird
75ea10e5f5 [svn-r11737] Purpose:
Bug fix

Description:
Before this checkin, 'gmake check-s' would fail if there was a file in
the current directory named 'check-s'.
This is fixed under gmake (not sure how to fix for other makes).

Solution:
check, progs, install, etc. are what gmake calls "phony" targets,
which means that no file should be created.  These targets can be
specified by a line of the form
.PHONY: check progs install ...
Automake adds this line for targets it knows about, but HDF5 has a
lot of custom rules.  This checkin adds a .PHONY line for those rules.
I believe that only gmake recognizes the .PHONY line (at least, pmake
doesn't seem to), but a partial solution is better than none.
This error should occur very rarely anyway (the user has to manually
create files with names like 'build-check-s' or '_test').

Platforms tested:
mir, sleipnir, modi4
2005-11-17 13:49:28 -05:00