Commit Graph

8226 Commits

Author SHA1 Message Date
James Laird
bcf3f797d4 [svn-r11566] Purpose:
Makefile bug fix

Description:
Previously, automake didn't output rules to build perform/mpi-perf or
the test/gen_* programs.
Now these can be built by typing 'make mpi-perf' (or 'make foo') or by
configuring with --enable-build-all.

Solution:
Automake doesn't like having rules for programs it doesn't build.  Tricked
it by having these programs built "sometimes"--whenever the user enables
--build-all.  This should be used mostly for testing and to ensure that
these helper programs compile.

***IMPORTANT***
These programs do *not* currently compile.  When --enable-build-all is used
(not the default), gen_new_fill fails because it uses an old API.  This is
an existing "bug" that has simply been exposed by this checkin.

Platforms tested:
sleipnir, modi4, sol

Misc. update:
2005-10-14 17:52:13 -05:00
Albert Cheng
1199296120 [svn-r11563] Purpose:
Added commands to show host status such as uptime and disk usages.

Platforms tested:
Eyeballed.  Will check the output of daily test.
2005-10-14 15:37:52 -05:00
MuQun Yang
504fbbe27f [svn-r11562] Purpose:
Avoid bug for family file driver backward compatibility with 1.6.

Description:
Because there is no srcdir on windows, string pathname should be
initialized as NULL before using strcat.


Solution:
Changed the code as above.

Platforms tested:
too minor to test.

Misc. update:
2005-10-14 14:16:54 -05:00
Quincey Koziol
b76762fab1 [svn-r11558] Purpose:
Bug fix

Description:
    Check in Kent's fixes to hyperslab rebuilding code that should correctly
detect situation when different sub-hyperslabs exist in a higher dimension.

Solution:
    Remember previous sub-hyperslab information and compare that with newly
generated sub-hyperslab to make certain they are the same.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-10-13 16:39:51 -05:00
Quincey Koziol
39220e7a30 [svn-r11557] Purpose:
Bug fix

Description:
    Mark continuation message & chunk as dirty for case where chunk is
extended.

    Also refactored code to reduce duplication.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
    Too minor to require h5committest
2005-10-13 15:19:28 -05:00
Binh-Minh Ribler
c02f067558 [svn-r11555] Purpose: Code cleanup
Description:
    Removed obsolete function CompType::getMemberDims.
    Fixed some typos.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
2005-10-12 02:36:33 -05:00
Albert Cheng
e2cf3a6b1a [svn-r11551] Purpose:
UPdated Copyright notice.
2005-10-11 16:13:42 -05:00
Albert Cheng
49572ab65e [svn-r11550] Purpose:
Updated Copyright notice.
2005-10-11 16:08:02 -05:00
Albert Cheng
76c527a58e [svn-r11548] Purpose:
Added another case of shell-like style file--if lines leading by #'s
are found, treat it like a shell-like style file.

Platforms tested:
hand tested in heping.
2005-10-11 16:06:17 -05:00
Albert Cheng
414249dcea [svn-r11544] Purpose:
New feature.

Description:
Added code that try to guess what type of file it is by inspecting the
first 5 lines.  Then it tries to find the Copyright notice according
to the guess.
2005-10-11 14:40:43 -05:00
James Laird
1227373c51 [svn-r11543] Purpose:
Copyright fix

Description:
Added copyright notice to fortran/src/H5match_types.c and
fortran/src/H5test_kind.f90


Platforms tested:
heping
2005-10-11 13:26:53 -05:00
Albert Cheng
7b2b61891d [svn-r11542] Purpose:
Inserted Copyright notice.

Platforms tested:
tested in heping.
2005-10-11 13:12:57 -05:00
Albert Cheng
8f7c1ce206 [svn-r11539] Purpose:
Added Copyright notice.

Platforms tested:
Tested in heping.
2005-10-11 12:25:18 -05:00
Albert Cheng
5b4b3d574f [svn-r11537] Purpose:
Fixed the copyright notice.

Tested in heping.
2005-10-11 11:55:29 -05:00
Albert Cheng
184167de7d [svn-r11536] Purpose:
Fixed the copyright notice.
2005-10-11 11:54:56 -05:00
Albert Cheng
8304162ea2 [svn-r11535] Purpose:
Another revamp.

Description:
Now search the copyright notice within the beginning 60 lines only.
(This applies to source code.  For HTML files, it is still search
all the way through the file.)

Platforms tested:
Hand tested.
2005-10-11 10:49:16 -05:00
Albert Cheng
85bd04bff8 [svn-r11532] Purpose:
Added copyright notice.

Platforms tested:
not tested as they are not even in Makefile.
2005-10-11 09:32:42 -05:00
Albert Cheng
8cad61e8a6 [svn-r11526] Description:
A near total rewrite, added initialization feature, more flexible where
the copyright notice is.

Platforms tested:
Hand tested.
2005-10-11 00:03:43 -05:00
Albert Cheng
fd1a21eaf4 [svn-r11525] Purpose:
Feature.

Description:
Initialization file for chkcopyright.

Platforms tested:
Hand tested.
2005-10-11 00:02:03 -05:00
Albert Cheng
3920d718b7 [svn-r11524] Purpose:
Inserted copyright notice.

Platforms tested:
Tested in heping only since only a comment block was added.
2005-10-10 22:27:47 -05:00
James Laird
b101eca9f1 [svn-r11519] Purpose:
Bug fix

Description:
Some platforms complain that tcp.h is present but cannot be compiled.

Solution:
This is because tcp.h needs in.h to be included.
Checked for netinet/in.h and included it when netinet/tcp.h is being
checked.

Platforms tested:
mir, cu11
2005-10-10 15:38:42 -05:00
Binh-Minh Ribler
cbf1ec6eb4 [svn-r11517] Purpose: Fixed comments
Description:
    Fixed the description of two parameters that were swapped by
    mistake.

Platforms tested:
    Linux 2.4 (heping) - very minor
2005-10-10 11:25:47 -05:00
Albert Cheng
fc0acb35f5 [svn-r11515] Purpose:
Fixed copyright notice.

Description:
A line is missing in the copyright notice. Fixed.

Platforms tested:
No test since it is only a fix in a comment block.
2005-10-10 09:00:11 -05:00
James Laird
ea5d1f4325 [svn-r11514] Purpose:
Bug fix

Description:
Fixed config file for apple powerpcs.  Should detect xlf more
often (though not infallibly).
Should disable shared libraries when xlf is being used.

Solution:
Since neither xlf nor f95 have "version" options (which could
be used to identify which compiler is being used), the config
file checks if the fortran compiler is named 'xlf' (or /path/xlf).
If not, it assumes the compiler must be f95.
xlf is still the default if no compiler is named at all.

Platforms tested:
pommier (change only to mac-specific config file)
2005-10-07 12:56:38 -05:00
Fang Guo
fe5d592288 [svn-r11513] Purpose:
Maintenance on Windows
Description:
hl fortran debug dll tests missed and hl fortran release dll tested twice before
Add in hl fortran debug dll tests and remove one hl fortran release dll test
Solution:

Platforms tested:
Windows XP
Misc. update:
2005-10-07 10:44:09 -05:00
Fang Guo
69656b1e53 [svn-r11512] Purpose:
Maintenance on Windows
Description:
Enable talign test on Windows.
Solution:

Platforms tested:
Windows XP
Misc. update:
2005-10-07 09:22:21 -05:00
James Laird
6647c2f406 [svn-r11507] Purpose:
Mentioned support for Cray X1 in 1.7 release notes.

Solution:
Cray X1 has been working for a while, just never wrote it down before now.
2005-10-06 12:05:14 -05:00
Albert Cheng
aa07a19a40 [svn-r11504] UPdated with the adding of mpich2 informal support. 2005-10-06 09:05:15 -05:00
Albert Cheng
2669c8e9fe [svn-r11500] Bug fix.
SETUP Was using "cp" command which means file $2 will inherit the permission
setting of file $1.  If $1 is read-only, so will $2.  That will cause
failure when the test attempts to write it later on.  Changed to use
the "cat" command.

Tested in LANL QSC and Flash.
2005-10-05 13:59:38 -05:00
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