Commit Graph

8047 Commits

Author SHA1 Message Date
Quincey Koziol
e21f821fc3 [svn-r11490] Purpose:
Bug fix

Description:
    Fix "double root open" bug and apply same fix to datasets & named datatypes.

    Also fix bug in symbol table entry lookup code that would "transfer" an
object from one file handle to another file handle when the two file handles
were opened on the same actual file.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-10-03 00:50:05 -05:00
HDF Admin
c13178a42d [svn-r11489] Snapshot version 1.7 release 51 2005-10-02 04:07:35 -05:00
Quincey Koziol
6e7ed46998 [svn-r11487] Purpose:
Code cleanup

Description:
    Tweak copyright on C++ source files to reduce whining by copyright checking
script.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++
2005-10-01 10:29:18 -05:00
Albert Cheng
56bc9fad04 [svn-r11486] Purpose:
Bug fix.

Description:
mpich2 using f95 did not support function 'unlink'.
Removed the unlink call for now.  Need a better solution.

Platforms tested:
heping using mpich and mpich2 versions of mpif90.

Misc. update:
2005-09-30 17:26:15 -05:00
Quincey Koziol
41c595e269 [svn-r11485] Purpose:
Code cleanup

Description:
    Clean up & optimize (a little) the recent "hyperslab rebuilding" code
w/Kent.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-09-30 16:46:56 -05:00
Leon Arber
3888942e3a [svn-r11483] Purpose:
bug fix.

Description:
The complex derived datatype test assumed that the fill value would be 0.  This is not
the case on all systems.

Solution:
Modified the test to check against a known value in the outbuf array, instead of the fill value.

Platforms tested:
heping and MCR.

Misc. update:
2005-09-29 15:49:51 -05:00
Leon Arber
202b9ec55c [svn-r11481] Purpose:
bug fix.

Description:
Fixed typo in a comment.  The word "file" was supposed to be "fill."  The explanation of
how the complex derived datatype test works is much clearer now.

Solution:

Platforms tested:
minor change.

Misc. update:
2005-09-29 13:54:57 -05:00
Fang Guo
25b5aa05f3 [svn-r11480] Purpose:
Maintenance on Windows
Description:
No alarm function on Windows, opt out
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-09-29 12:34:18 -05:00
Fang Guo
3d21af7eb8 [svn-r11479] Purpose:
Maintenance on Windows
Description:
No Alarm function on Windows
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-09-29 12:33:09 -05:00
Albert Cheng
55c4f63df7 [svn-r11478] Purpose:
bug fix.

Description:
When a parallel test script test fails, make would continue because the
way it was setup inside a for loop.  Fixed it by issuing an exit 1 inside
the loop.

There was also a typo error in the newer command comparision that it
must be $${chkname} in order to be valid.  Also, the test script itself
was not checked in the newer lists.  All fixed.

Platforms tested:
h5committested and also hand tested in heping pp mode.
2005-09-29 00:17:06 -05:00
Albert Cheng
bf9b7eb39c [svn-r11477] Purpose:
feature.

Description:
added the recognition of -lmpich as a form of MPI library.

Platforms tested:
Tested in heping. Real test will be in MCR.
2005-09-29 00:09:21 -05:00
Albert Cheng
412fbdfad3 [svn-r11476] Purpose:
feature.

Description:
added the recognition of -lmpich as a form of MPI library.

Platforms tested:
Tested in heping. Real test will be in MCR.
2005-09-28 23:57:44 -05:00
John Mainzer
6baed67905 [svn-r11475] Purpose:
Bug fix

Description:

In production builds, H5MM_malloc was undefined in H5AC.c


Solution:

Include H5MMprivate.h in H5AC.c, which defines H5MM_malloc() in
both debug and production modes.


Platforms tested:

h5committested, serial production build on Heping

Misc. update:
2005-09-28 17:00:55 -05:00
Albert Cheng
be9a23cac3 [svn-r11471] Purpose:
revision.

Description:
The copyright notice for Makefile(in) were fixed at the beginning of the files.
But they are now generated by automake and autoconf such that Gnu jams its
own copyright block at the beginning.

Solution:
Changed the rule such that the HDF5 copyright notice can be somewhere else
in the file as long as they are together as one paragraph.

Also added recognition of Makefile.am as a possible MAKEFILE type.

Platforms tested:
Tested by hand in heping.
2005-09-27 15:04:37 -05:00
John Mainzer
c100b0bf26 [svn-r11470] Purpose:
Repair synchronization bug in the metadata cache in PHDF5

Also repair numerous other bugs that surfaced in testing the
bug fix.


Description:

While operations modifying metadata must be collective, we allow
independant reads.  This allows metadata caches on different processes
to adjust to different sizes, and to place the entries on their dirty
lists in different orders.  Since only process 0 actually writes
metadata to disk (all other processes thought they did, but the writes
were discarded on the theory that they had to be collective), this made
it possible for another process to modify metadata, flush it, and then
read it back in in its original form (pre-modification) form.  The
possibilities for file corruption should be obvious.


Solution:

Make the policy that only process 0 can write to file explicit, and
visible to the metadata caches.  Thus only process 0 may flush dirty
entries -- all other caches must retain dirty entries until they are
informed by process 0 that the entries are clean.

Synchronization is handled by counting the bytes of dirty cache entries
created, and then synching up between the caches whenever the sum
exceeds an (eventually user specified) limit.  Dirty metadata creation
is consistent across all processes because all operations modifying
metadata must be collective.

This change uncovered may bugs which are repaired in this checkin.
It also required modification of H5HL and H5O to allocate file space
on insertion rather than on flush from cache.


Platforms tested:

H5committest, heping(parallel & serial)

Misc. update:
2005-09-27 00:20:11 -05:00
Albert Cheng
f9fc749ca2 [svn-r11467] Purpose:
Add the detection of the alarm function.

Platforms tested:
Tested in heping.
2005-09-26 22:26:03 -05:00
MuQun Yang
e1eccc4987 [svn-r11466] Purpose:
Code refinement

Description:
Make the re-build hyperslab selection code shorter to be maintained easily

Solution:

Platforms tested:
Sol 2.9, linux 2.4, Aix 5.1

Misc. update:
2005-09-26 21:08:20 -05:00
Albert Cheng
692194d16b [svn-r11464] Purpose:
Feature.

Description:
Added the copyright checking--most settings are temporary.  Need
cleanup or fixes when most copyrights notices are completed.

Platforms tested:
Tested by hand.
2005-09-26 11:14:02 -05:00
Quincey Koziol
19b78cae7b [svn-r11463] Purpose:
Code cleanup

Description:
    #ifdef out blksize field in file structure for non-GPFS builds.

Platforms tested:
    None - just eyeballed - very minor.
2005-09-23 17:01:58 -05:00
Fang Guo
ec51e77e66 [svn-r11462] Purpose:
Maintenance on Windows
Description:
Modify Batch file due to the changes of output of H5diff tool
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-09-23 10:17:56 -05:00
James Laird
c8c43d2b9a [svn-r11461] Purpose:
Code cleanup

Description:
Removed Fortran type sizes from config/* files.

Solution:
These lines weren't doing anything anymore; they've been replaced by automatic
type generation.  This is just housekeeping to remove them from
the config/* files.

Platforms tested:
mir, sol, modi4
2005-09-22 18:02:40 -05:00
James Laird
14acfddff2 [svn-r11460] Purpose:
Documentation update

Description:
Updated config/Makefile.am.blank now that I know better.
2005-09-22 14:30:23 -05:00
MuQun Yang
e42782fa3a [svn-r11459] Purpose:
A bug fix

Description:
MPI_Status_IGNORE is treated as a NULL pointer for mpich 1.2.4 or similar MPI packages.
It caused segmentation fault for MPI derived datatype test.


Solution:
Define MPI_STATUS status,
and pass &status into MPI_File_read and MPI_File_write.

Platforms tested:
too trivial to test.

Misc. update:
2005-09-22 09:39:32 -05:00
Albert Cheng
d67e59d9b2 [svn-r11458] Purpose:
Improvement.

Description:
The test may hang if there are system failures that some processors
are not working.

Solution:
Added the ALARM calls to limit all tests be done with the default
alarm time.  So, even if a process is hanging, the ALARM signal
would terminate the process.

Platforms tested:
tg-login2 of NCSA.

Misc. update:
2005-09-21 23:32:24 -05:00
Fang Guo
34b9451f33 [svn-r11457] Purpose:
Maintenance on Windows
Description:
Update all.sln
Solution:

Platforms tested:

Misc. update:
2005-09-21 16:24:58 -05:00
Fang Guo
d9e193ceb1 [svn-r11456] Purpose:
Add in two new project file for tool h5stat
Description:

Solution:

Platforms tested:

Misc. update:
2005-09-21 16:23:05 -05:00
Fang Guo
1edf88aa23 [svn-r11455] Purpose:
Maintenance on Windows
Description:
Add in two new project files (h5stat.dsp and h5statdll.dsp)
Solution:

Platforms tested:
Visual Studio .Net on Windows XP
Misc. update:
2005-09-21 16:20:41 -05:00
Fang Guo
1816076d5d [svn-r11454] Purpose:
Maintenance on Windows
Description:
Add in two new project files (h5stat.dsp and h5statdll.dsp)
Solution:

Platforms tested:

Misc. update:
2005-09-21 16:19:28 -05:00
Fang Guo
434aee58c3 [svn-r11453] Purpose:
Maintenance on Windows
Description:
Add dll project file for tool h5stat
Solution:

Platforms tested:
MSVS  6.0 on Windows XP
Misc. update:
2005-09-21 16:04:16 -05:00
Fang Guo
4a9d533290 [svn-r11452] Purpose:
Maintenance on Windows
Description:
Add the static project file for tool h5stat
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-09-21 16:03:14 -05:00
Fang Guo
638084ea5b [svn-r11451] Purpose:
Maintenance on Windows
Description:
Add two new project files for tool h5stat
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-09-21 16:01:24 -05:00
Pedro Vicente Nunes
f9a87fa0f4 [svn-r11450] Purpose:
bug fix

Description:

the MPI_File_get_size returns a different value in one of the tests in Windows
comment the code and not run the test in windows
a ULL suffix on the harcoded return VRY return number is needed on AIX

Solution:

Platforms tested:
Windows
AIX

Misc. update:
2005-09-21 11:45:19 -05:00
James Laird
36ffea6f61 [svn-r11449] Purpose:
Bug fix

Description:
Fixed typo in configure.in.

Platforms tested:
SX6, mir

Misc. update:
2005-09-21 10:07:44 -05:00
Pedro Vicente Nunes
d09ca66a26 [svn-r11448] Purpose:
new features

Description:

add support for compiling the library and testphdf5 in Windows


Solution:

Platforms tested:
Linux
AIX
Solaris
Windows VC6

Misc. update:
2005-09-21 08:41:09 -05:00
MuQun Yang
4114f888c6 [svn-r11447] Purpose:
Hyperslab re-build optimization

Description:
Previously only singluar selection can be rebuilt from span-tree application.
This optimization is supposed to rebuild for other regular selection case(such
as count =2, block = 2, stride =3)

Solution:


Platforms tested:
shanti(sol 2.9), heping(Linux 2.4), NCAR SGI(IRIX 6.5)
Misc. update:
2005-09-20 18:10:08 -05:00
James Laird
3267458b64 [svn-r11446] Purpose:
Bug fix

Description:
Massaged the newer script and config/conclude.am to make SX6 happy.


Platforms tested:
SX6, sol, mir
2005-09-20 16:46:24 -05:00
Pedro Vicente Nunes
8d7dbd9dc1 [svn-r11445] Purpose:
h5diff new feature

Description:

a user asked for the message
"Some objects are not comparable"
to be more noticeable

Solution:


--------------------------------
Some objects are not comparable
--------------------------------




Platforms tested:
linux

Misc. update:
2005-09-20 13:56:59 -05:00
James Laird
52b811cc98 [svn-r11444] Purpose:
Updated release notes

Description:
Mentioned that shared C++ and Fortran libraries are supported in
INSTALL and RELEASE.txt.


Platforms tested:
documentation change only
2005-09-20 09:30:06 -05:00
Pedro Vicente Nunes
dca5ad5754 [svn-r11443] Purpose:
new features

Description:

added support for the scale/offset filter
there is a new filter symbol 'SOFF'
-f SOFF=<scale_factor,scale_type>

scale_factor = integer
scale_type = 'IN' or 'DS'


Solution:

Platforms tested:
Linux
SunOS

Misc. update:
2005-09-19 16:12:35 -05:00
Albert Cheng
465f9be6e3 [svn-r11441] Purpose:
Feature.

Description:
Added ALARM_ON, ALARM_OFF feature to terminate tests that run more than
the default time limit.  So far, the feature is applied in the standard test
frame.

Platforms tested:
heping PP.
2005-09-19 15:32:18 -05:00
James Laird
bd24d226d6 [svn-r11439] Purpose:
Bug fix

Description:
Using the -xarch=v9 flag to specify 64-bit compilation breaks C++ shared
libraries.
Disable shared C++ libraries if this flag is used.

Solution:
Instead of trying to disable compilers which recognize the -xarch flag,
grep for it in CXX, CXXFLAGS, etc.

Platforms tested:
modi4, shanti, sleipnir

Misc. update:
Update to RELEASE and build instructions will be forthcoming once
shared Fortran/C++ libraries are regularly passing the Daily Tests.
2005-09-19 14:38:02 -05:00
Albert Cheng
451ddeb902 [svn-r11437] Purpose:
Updated for the added build_h5perf_alone.sh tool.
2005-09-19 00:41:15 -05:00
Binh-Minh Ribler
9e57c81e32 [svn-r11436] Purpose: Change the appearance of the C++ API Reference Manual
Description:
    I couldn't get the HDF logo to appear, when the location for the
    html files generated by doxygen is arbitrary.  This arbitrary
    directory doesn't contain the logo image file, which would be
    placed in a planned directory.

    The logo is removed now, but the image file is kept in the CVS
    under hdf5/c++/src, just in case when I can find a solution.

Platforms tested:
    Linux 2.4 (heping)
    Windows XP

Misc. update:
2005-09-18 22:22:28 -05:00
Albert Cheng
baefef7705 [svn-r11435] Purpose:
updated with the build_h5perf_alone.sh addition.
2005-09-18 22:00:03 -05:00
Albert Cheng
38351fb778 [svn-r11434] Purpose:
New feature.

Description:
Command script to build the h5perf tool by standalone mode.

Platforms tested:
Tested by hand in heping using pre-release h5pcc.
2005-09-18 21:57:18 -05:00
Elena Pourmal
730a5a9b6d [svn-r11432]
Purpose: Typo fix

Description: Declaration of long double variable was after executable
             statement. Many compilers choked ;-(

Solution: Declare variable before the first executable statement

Platforms tested: shanti (compilation only), copper (tests passed)

Misc. update:
2005-09-18 12:18:02 -05:00
Albert Cheng
c0e83899c3 [svn-r11431] Purpose:
New feature.

Description:
Added the time command to the make check target to report time usage
of the execute of each test and test scripts.  This gives us some idea
how long each test takes and some vague idea it is compute bound or
not.

powerpc-ibm-aix5.x:
Change $RUNPARALLEL default setting to allow it being invoked by the
time command.

Platforms tested:
h5committested.
2005-09-17 22:04:28 -05:00
Albert Cheng
28bb8b4694 [svn-r11428] Purpose:
Bug fix.

Description:
In some racing condition, the process ID file might be removed just
the moment before timekeeper cats its content. When that happens,
the $pid is a blank.  Timekeeper was not prepared for this.

Solution:
Added code to verify $pid is some number before proceeding.

Platforms tested:
Tested by hand only.
2005-09-17 20:41:57 -05:00
Elena Pourmal
f8e7064269 [svn-r11427] Purpose: SX-6 port
Description:

Fortran multi_file test failed on SX-6. It turned out that compiler
could not handle (long long HADDR_MAX) * ( float var). The result of this
operation was 0.

Solution:

Introduced long double variable to store the value of HADDR_MAX
and use the new variable in * operation. (Suggested by John)

Platforms tested: SX-6, mir with PGI compilers; a very minor change

Misc. update:
2005-09-17 18:43:27 -05:00
Elena Pourmal
2540abc1c9 [svn-r11426] Purpose: VMS port / bug fix
Description:

On VMS dsets test failed screaming about corrupted stack.
Debugging didn't show any obvious problems. Careful examination
of compilation warning messages (something like "function is used as
data in dsets") made me to search for duplicated names.

It turned out that two variables H5Z_SET_LOCAL and H5Z_CAN_APPLY
were confused with H5Z_set_local and H5Z_can_apply functions from
H5Z.c file.


Solution:

Changed variable names to H5Z_SET_LOCAL_TEST and H5Z_CAN_APPLY_TEST.


Platforms tested: Alpha VMS, heping; minor change

Misc. update:
2005-09-17 17:37:48 -05:00