Commit Graph

6922 Commits

Author SHA1 Message Date
Albert Cheng
b992aace96 [svn-r10133] Purpose:
Updated with 1.7.x changes of retiring GASS Virtual File Driver.
2005-03-03 15:59:54 -05:00
James Laird
965fef45d9 [svn-r10132] Purpose:
Bug fix

Description:
When C flags are passed in using $CC variable, this can confuse test
commands in configure (for instance, CC='pgcc -tp k8-32').

Solution:
Previous solution didn't entirely solve problem.  Wrote a sed snippit
to strip flags from $CC for purposes of test in configure.

Platforms tested:
mir (just a configure bug)
2005-03-03 14:39:10 -05:00
Albert Cheng
f5c24bc9a4 [svn-r10130] Purpose:
Retired GASS driver.

Platforms tested:
H5committested.
2005-03-03 13:10:16 -05:00
Albert Cheng
85917a7341 [svn-r10129] Corrected typos which should have said SRB instead of GASS.
NOt tested since there is no SRB server to test with.
2005-03-03 12:26:26 -05:00
Albert Cheng
69c9a7e3a6 [svn-r10128] Purpose:
Removed GASS from summary printout.

Platforms tested:
Tested in heping.  No h5committest since it was trivial
and involved in configure stage only.
2005-03-03 09:17:32 -05:00
Albert Cheng
f7c62b1e19 [svn-r10127] Updated with new file. 2005-03-03 08:13:14 -05:00
Albert Cheng
9d8d5392b2 [svn-r10125] Purpose:
Feature--to provide a standalone mode for t_mpi.c so that it can
be built outside of PHDF5 environment.

Description:
Move definitions that are common to all parallel test programs
to a new header file called testpar.h.
Leave only Parallel HDF5 tests related definitions in testphdf5.h.

Platforms tested:
heping (pp) and modi4(PP).  Copper was down.

Misc. update:
2005-03-02 23:06:14 -05:00
Albert Cheng
0d514907a9 [svn-r10123] Purpose:
Removed GASS configuration and software packages associated with
it.  The following software are no longer configurable.

checking for main in -lcrypto... yes
checking for SSL_get_version in -lssl... yes
checking globus_common.h usability... yes
checking globus_common.h presence... yes
checking for globus_common.h... yes
checking for globus_module_activate in -lglobus_common... yes
checking for main in -lglobus_gass_cache... yes
checking for main in -lglobus_gaa... yes
checking for main in -lglobus_gss... yes
checking for main in -lglobus_gss_assist... yes
checking for main in -lglobus_io... yes
checking for main in -lglobus_gass_transfer_assist... yes
checking for main in -lglobus_gass_transfer... yes
checking for globus_gass_open in -lglobus_gass_file... yes

Platforms tested:
h5committested (but copper was down.) tested in modi4 too.
2005-03-02 15:02:55 -05:00
Albert Cheng
bf815e12e7 [svn-r10122] Purpose:
typo fix and small improvement.

Description:
t_coll_chunk.c:
ccdataset_vrfy() was using a wrong routine name to identify itself.

testphdf5.c:
Add a definition of NFILENAME to be the common dimension size of
FILENAME[] and filenames[][] since they must have the same first
dimension size.

Platforms tested:
h5committested.
2005-03-02 12:06:39 -05:00
Albert Cheng
e044ae5ee2 [svn-r10120] Purpose:
updated with MPIPOSIX fix.
2005-03-02 09:13:04 -05:00
HDF Admin
6b4752cedd [svn-r10118] Snapshot version 1.7 release 45 2005-03-02 08:34:32 -05:00
Albert Cheng
940955df65 [svn-r10117] Purpose:
Bug fix.

Description:
"testphdf -p" would with data verification errors.  The reasons were
that the MPIPOSIX driver file open and close, especially the close
routine provide no "coordination" between processes.  The testphdf5
tests reuse the same file for test data file by opening using H5Fcreate
with the HDF5_FCC_TRUNC option.  The test routines do not provide any
code to ensure that all processes have finished one test before moving
to the next test.  Some "faster" process would have finished verifying
its portion of data as correct and move to the next test which opens
the same file with TRUNCATOIN which truncates the previous data file.
But some "slower" processes are still verifying the "previous" data
file which all of a sudden got truncated by the "faster" process.

Solution:
Technically, the test program should be fixed to ensure all processes
have finished one test before any is allowed to move to the next test.
OTOH, the MPIO VFD has no problem with this test because MPI-IO requires
File open and close be called collectively correct and ensure it is
returned properly.
I choose to fix the MPIPOSIX close routine to provide some sort of
coordination between processes by requiring all processes to have
completed the close of a file before it is returned to user space.
This makes the MPIPOSIX close routine behaves more like the MPIO
close routine, thus provide more protection for user applications
that fail to code in the coordination.  But having the barrier
in the MPIPOSIX close routine would penalize applications where
it is "okay" for some processes to close its file handle and race
ahead to do other things since it is not going to access this file,
therefore whether other processes are still using the file is immaterial.

Maybe this protective coordination should be optional and can be turned
off by confident users who need not this sort of protection.

Platforms tested:
"h5committested" and tested in modi4 and tesla.

Misc. update:
2005-03-01 21:30:46 -05:00
James Laird
921d331fc8 [svn-r10114] Purpose:
Bug fix

Description:
Libtool simply doesn't seem to support shared libraries for pgcc, but
tries to build them anyway.

Solution:
Edited configure to disable shared libraries in libtool script when
pgcc is being used.
This is a more drastic fix than the problem requires, but it is
difficult to detect when this problem will occur.  There is
discussion online about shared libraries with pgcc, so hopefully
libtool will support pgcc and this fix will become unneccesary.

Platforms tested:
sol, copper, mir, sleipnir

Misc. update:
2005-03-01 20:01:45 -05:00
Raymond Lu
7baf33d19b [svn-r10113] Purpose: Bug fix
Description:  Condition check of macro H5_ULLONG_TO_FP_CAST_WORKS was accidentally
taken out in last revision.  This macro is defined for Windows because Windows
doesn't support conversion from "unsigned long long" to any floating-point type.

Solution:  Added it back to H5T_conv_ullong_xxx() functions(xxx is any of "float",
"double", or "long double").

Platforms tested: tested on Windows.
2005-03-01 14:40:39 -05:00
James Laird
2f4f7d07b1 [svn-r10112] Purpose:
Bug fix

Description:
A test in configure.in redirected output in a way that made
mir (at least) unhappy (test: too many arguments).

Solution:
Changed the semantics so that mir was happy.  This didn't seem to make any
other platforms unhappy, either.

Platforms tested:
eirene, modi4, copper, mir, sleipnir (only tested configure)
2005-03-01 13:47:23 -05:00
Robert E. McGrath
206aad5bb2 [svn-r10111] Purpose:
bug fix

Description:
H5DSget_scale_name, H5DSget_lablel return wrong value when truncating to 1
character array.

Solution:
fix it.

Platforms tested:
verbena,shanti,copper

Misc. update:
2005-03-01 13:09:32 -05:00
Xiaowen Wu
119bd4c7b1 [svn-r10109] Purpose:
Bug fix.

Description:
    The nbit filter does not check error when calling some utility functions
    that can return a failure.

Solution:
    Add error handling for these utility functions.

Platforms tested:
    heping, copper

Misc. update:
2005-02-28 21:10:23 -05:00
James Laird
11fabfd693 [svn-r10108] Purpose:
Bug fix

Description:
C++ tests would die with strange linking-type errors.

Solution:
C++ build needs to be static, too.  Applied -static flags liberally in
c++/src and c++/test directories.

Platforms tested:
sleipnir, heping
2005-02-28 18:23:46 -05:00
James Laird
5b4232e9d1 [svn-r10107] Purpose:
Bug fix

Description:
Fortran builds were dying with unknown flags.

Solution:
Fortran builds should be static, not shared.  Static flags had been specified
for libraries, but apparently were also needed for executables.
Solved problem by adding static flag to everything in fortran directories.

Platforms tested:
mir, eirene
2005-02-28 17:54:17 -05:00
James Laird
08bce1b7d2 [svn-r10106]
Purpose:
Bug fix

Description:
Libtool 1.5.14 added some extra flags that needed to be passed from the compiler
to the linker.  icc did not handle this correctly and complained when it saw
unknown flags.

Solution:
Set the -Wl flag correctly on freebsd so that icc knows to pass flags through
to the linker.

Platforms tested:
sleipnir (gcc, g++, icc, gcc40)
2005-02-28 15:08:54 -05:00
James Laird
08df46ab55 [svn-r10104] Purpose:
Bug fix

Description:
h5vers would spit out the output that reconfigure script produced.

Solution:
Sent output from reconfigure to /dev/null.  h5vers is now quiet as before.

Platforms tested:
verbena, eirene, heping
2005-02-28 11:24:32 -05:00
Albert Cheng
51d7ba738f [svn-r10101] Purpose:
Another attempt to change the format of the failed details reporting.
2005-02-27 18:29:44 -05:00
Xiaowen Wu
67ad854d9d [svn-r10099] Purpose:
Modifications of nbit filter.

Description:
    The nbit filter does not support datatypes other than integer,
    floating-point as well as array datatype and compound datatype consisting
    of integer or floating-point.

Solution:
    Change the nbit filter to accept all datatype at the top level, and if
    the datatype is not what described above, the filter will not do anything
    to the data instead of generating errors.
    Slight improvements of the filter's performance.

Platforms tested:
    heping, copper

Misc. update:
2005-02-26 22:58:02 -05:00
James Laird
d7883f21bf [svn-r10098] Purpose:
Bug fix

Description:
Some machines and compilers were having trouble creating fortran libraries
as shared libraries.

Solution:
Added flag in Makefiles.am to create fortran libraries as shared libraries.
(This is how HDF5 was set up before automake changes; I forgot to add
these flags, and it didn't cause a problem until now.)

Platforms tested:
sleipnir, eirene, verbena

Misc. update:
2005-02-26 17:28:23 -05:00
Albert Cheng
a9b7b7d971 [svn-r10097] Purpose:
modified the output format of dumping logfile when failures have occurred.
2005-02-26 16:41:16 -05:00
Quincey Koziol
11a9d30177 [svn-r10094] Purpose:
New features & refactor

Description:
    Add basic record removal (only handles level-0 B-trees currently)

    Add query routine to check the number of records in a B-tree

    Add debugging routine to check the address of the root node in the B-tree

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Solaris 2.9 (shanti)
2005-02-26 08:05:41 -05:00
Binh-Minh Ribler
10df21a401 [svn-r10093] Purpose: Fix bug
Description:
    Fixed typo in using namespace; it was mistakenly opening the namespace.

Platforms tested:
    Linux 2.4 (heping)
    Very minor, and tested 3 platforms for 1.6 branch
2005-02-25 22:43:26 -05:00
Robert E. McGrath
a5b452c417 [svn-r10090] Purpose:
change

Description:
Minor changes to Dimension Scale API, to bring into alignment
with specification.

Solution:

Platforms tested:
verbena,shanti, copper64

Misc. update:
2005-02-25 16:43:03 -05:00
Raymond Lu
82ae8ac4e0 [svn-r10087] Purpose: New feature and test
Description:  Somehow, the hardware conversions between "long double" and other native floating-point
types were left out.

Solution:  Added the hardware conversion functions in H5Tconv.c and test cases in dtypes.c.

Platforms tested: h5committest and fuss.

Misc. update: updated MANIFEST to replace bin/reconfigure.sh with bin/reconfigure
2005-02-25 15:26:32 -05:00
Robert E. McGrath
cffc51b94c [svn-r10086] Purpose:
bug

Description:
bug in test

Solution:
fix bug

Platforms tested:
arabica,shanti

Misc. update:
2005-02-25 13:48:17 -05:00
James Laird
bcb3dd3a21 [svn-r10085] Purpose:
Bug fix

Description:
h5vers script called automake without using bin/reconfigure

Solution:
Altered h5vers script to use bin/reconfigure
Also:

***
CHANGED NAME OF reconfigure.sh TO reconfigure !
***

This matches the other scripts in the bin/ directory.  Also changed
permissions on reconfigure so it can be executed.

Platforms tested:
eirene

Misc. update:
2005-02-25 13:09:19 -05:00
Albert Cheng
76b809dd17 [svn-r10083] Purpose:
Updated to require autoconf v2.59.

Platforms tested:
in Eirene only since the change is trivial.
2005-02-25 10:13:48 -05:00
Raymond Lu
b0c346caa2 [svn-r10081] Purpose: Some Kind of Verification
Description:  The library didn't handle incorrect hardware conversion for datatype.  It simply did
convert to incorrect data if any hardware didn't handle correctly.

Solution:  During configuration, incorrect hardware conversion is detected and some macros are
defined.  Use these macros to decide whether to register hardware conversion in H5T.c.  If no hardware
conversion function is registered for certain pair of datatypes, software conversion function will
be used as the conversion path.  Although slower than hardware conversion, we're more confident
software conversion is accurate.

So in one sentence to describe library's behavior, if some hardware conversion doesn't work well,
software conversion will be used instead.

Platforms tested:  h5committest and fuss.

Misc. update:  some changes to configure's comments.
2005-02-24 17:54:05 -05:00
Albert Cheng
b67493fcda [svn-r10080] Purpose:
Feature

Description:
Added code to dump the beginnng and last few lines of the
test log file if errors have occurred.

Platforms tested:
Tested the code itself separatedly but daily test is where
it is really tested.  Should work.
2005-02-24 17:12:10 -05:00
Quincey Koziol
2be0f58f60 [svn-r10078] Purpose:
Bug fix & new feature

Description:
    Fix errors in tracking the total number of records "below" a node.

    Add feature to find the n'th record in a B-tree

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Solaris 2.9 (shanti)
2005-02-24 16:44:30 -05:00
Quincey Koziol
b1485cfdcf [svn-r10077] Purpose:
New feature, refactor code

Description:
    Add call to search for a record in a B-tree by key value

    Refactored some of the existing callbacks to simplify them.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Solaris 2.9 (shanti)
2005-02-24 12:23:26 -05:00
James Laird
13bb955536 [svn-r10076] Purpose:
Bug fix

Description:
c++/src directory was having trouble finding main HDF5 library.

Solution:
Replaced AM_CPPFLAGS with INCLUDES to include files in main src directory.

Platforms tested:
mir, modi4, verbena
2005-02-24 09:36:58 -05:00
HDF Admin
738eb4d830 [svn-r10073] Purpose:
feature

Description:
Starting to add a feature that will print out details from the snapshot
test logfile when the test fails.  Only a debug statment is added to
see if snapshot is reporting error status correctly.

Platforms tested:
Not tested.  Wait for daily test to show the result.
2005-02-23 21:57:53 -05:00
Quincey Koziol
e0a6b93e02 [svn-r10071] Purpose:
Bug fixes

Description:
    Fix several bugs in B-tree insertion code, which now appears to be fully
functional.  (Tested to 1,280,000 records at least...)

    Add random record insertion test to shake out boundary conditions, etc.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Solaris 2.9 (shanti)
2005-02-23 16:32:06 -05:00
Raymond Lu
d2e629a6c0 [svn-r10070] Purpose: Bug fix
Description:  On some Cray, the size of "short" is 8 byte but only the low-order 4 byte
are over used(precision is 4 byte).  The "perm" in struct "detect_t" contains "-1" for
bytes that aren't used, making detection of order invalid in function print_results().

Solution: Use a "for" loop to search through "perm" find the first non "-1" element,
and use it to decide the byte order of the machine.

Platforms tested: fuss - already tested for v1.6
2005-02-23 16:16:57 -05:00
Pedro Vicente Nunes
7fb30f4faa [svn-r10068] Purpose:
news tests (test several ranks for the datasets and scales )

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-23 15:28:44 -05:00
Robert E. McGrath
fedd036348 [svn-r10067] Purpose:
feature

Description:
h5repack support for scaleoffset compression

Checking in early to help debug the filter.

Solution:
Added messages and command line to handle new scale offset filter.

Note:  TESTS ARE DISABLED FOR NOW.  The filter is not
complete, repack tests may fail due to know problems.

PLEASE DO NOT MESS WITH THE SCALEOFFSET TESTS AT THIS TIME.

They will be enabled when the filter is ready.

Platforms tested:
verbena,copper,shanti

Misc. update:
MANIFEST
2005-02-23 12:52:03 -05:00
James Laird
0b83fea125 [svn-r10066] Purpose:
Libtool upgrade

Description:
HDF5 was using libtool 1.4.2.  Upgraded to libtool 1.5.14.

Platforms tested:
verbena, heping, pommier, copper, modi4, arabica
2005-02-23 11:47:00 -05:00
Pedro Vicente Nunes
3a3d518431 [svn-r10065] Purpose:
new definition for H5DSget_label (returns the label size)
more tests

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-22 17:04:46 -05:00
James Laird
081ac87fed [svn-r10064] Purpose:
Bug fix

Description:
This checkin addresses two bugs.
Firstly, I used the wrong semantics when detecting if $MAKE is defined to
the empty string or undefined.
Secondly, pmake on IRIX does not work well with automake's dependency tracking
if the build is not an in-place build.

Solution:
Fixed semantics in configure.in.
Disabled automatic dependency tracking automatically on IRIX.  This is not
the optimal fix, but it should work fine as long as no one is doing HDF5
development on IRIX, and it is much easier than trying to detect the exact
situations in which dependency tracking fails (or than trying to fix dependency
tracking!).

Platforms tested:
heping, modi4 (pmake and gmake)
2005-02-22 12:42:48 -05:00
Pedro Vicente Nunes
7ff30cd695 [svn-r10063] Purpose:
changed the function H5DSget_scale_name to return the size of the name buffer
added a test

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-22 12:14:13 -05:00
James Laird
643e9a38bd [svn-r10062] Purpose:
Bug fix

Description:
Discovered two small bugs.
When MAKE is defined as the empty string, a test in configure incorrectly
identifies it as pmake.  Skipped this test if $MAKE is the empty string.
Two .h5 files produced by a test in the hl directory were not cleaned.
Updated the Makefile.am.


Platforms tested:
heping, modi4 (very minor changes)
2005-02-21 16:30:49 -05:00
Robert E. McGrath
f712d13301 [svn-r10061] Purpose:
Description:

Solution:

Platforms tested:

Misc. update:
2005-02-21 14:28:39 -05:00
Robert E. McGrath
89ed8ceec2 [svn-r10060] Purpose:
feature

Description:
h5dump support for scaleoffset compression

Solution:

Platforms tested:
verbena, shanti,copper64

Misc. update:
2005-02-21 14:27:56 -05:00
Pedro Vicente Nunes
f20a793969 [svn-r10059] Purpose:
new features

Description:
added a new function H5DS_is_attached, more tests

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-21 14:08:59 -05:00