Commit Graph

4853 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
5e3fa2a3b5 [svn-r6811] Purpose:
remove a test file for h5diff that was left over

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-06 16:46:21 -05:00
Bill Wendling
b6740c1689 [svn-r6810] Purpose:
Update

Description:
    Some of the TRACE macros were updated to reflect a new parameter.

Platforms tested:
    Linux
    Solaris w/ zlib
    Irix w/ zlib

Misc. update:
2003-05-06 16:05:00 -05:00
Bill Wendling
eefb691edf [svn-r6809] Purpose:
Bug Fix

Description:
    The "mkstemp()" function isn't as portable as I hoped it would be (it
    fails on Crays and other beasts).

Solution:
    Removed and just use a fixed filename instead.

Platforms tested:
    Linux
    Solaris w/ zlib
    Irix w/ zlib

Misc. update:
2003-05-06 16:04:39 -05:00
Pedro Vicente Nunes
ba8fd7feb2 [svn-r6808] Purpose:
code warrior fix

Description:
eliminate the CW failure on getname.c
restrict the H5_NO_FILE_SHARING just to the test file_close of testhdf5 test

Solution:
the CW failure on getname.c  can be eliminated if a unmount of the file is made before closing it
on tfile.c the failure is due to the file sharing flag of CW, and the test is maintained as before

Platforms tested:
Windows 2000 (octopus)
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)


Misc. update:
2003-05-06 14:38:35 -05:00
Bill Wendling
d30d2ba5b9 [svn-r6807] Purpose:
Change

Description:
    Instead of using the "USE_GPFS" macro, use the "H5_HAVE_GPFS" macro
    which is defined during configuration and then use the new parameter
    to the H5P{get,set}_fapl_mpiposix functions to control if GPFS is
    enabled or not.

Platforms tested:
    Modi4 (only affects the parallel stuff, so no need for full testing).

Misc. update:
2003-05-06 12:44:35 -05:00
Bill Wendling
52ebd22217 [svn-r6806] Purpose:
Bug Fix

Description:
    When I changed the H5P{set,get}_fapl_mpiposix functions to accept
    another parameter, I didn't change it in these files.

Solution:
    Added the new "use_gpfs" parameter.

Platforms tested:
    Modi4 (only affects the parallel stuff, so no need for full testing).

Misc. update:
2003-05-06 12:43:42 -05:00
Quincey Koziol
3e982207dd [svn-r6805] Purpose:
Revert last change (at least temporarily)

Description:
    Revert last "NO_SHARED_WRITING" ifdefs after reviewing the tests that were
ifdef'ed out.  I don't think that these tests should cause a problem, so I
would like them reviewed again to see if there is a file handle leak in the
library (or test).

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Triple check not needed.
2003-05-06 09:26:27 -05:00
Quincey Koziol
d6bacf6304 [svn-r6804] Purpose:
Code restructure.

Description:
    Restructured tests so they shouldn't depend on shared open()'s and can be
    tested with CodeWarrior

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Triple check not needed.
2003-05-06 09:21:42 -05:00
Quincey Koziol
e19e9e2a28 [svn-r6803] Purpose:
Code cleanup.

Description:
    Cleaned up a few debugging printfs.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Triple check not needed.
2003-05-06 09:20:31 -05:00
Pedro Vicente Nunes
65f6af7110 [svn-r6802] Purpose:
removed this test file. it was the -l option test

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-05 22:32:27 -05:00
Pedro Vicente Nunes
180b83bbbe [svn-r6801] Purpose:
h5diff update

Description:
removed the -l , list, option
this feature will be part of a different tool

Solution:

Platforms tested:
Windows 2000 (octopus)
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)




Misc. update:
2003-05-05 22:29:39 -05:00
Pedro Vicente Nunes
e18c556519 [svn-r6800] Purpose:
updated release doc to say that we suport only version 8 of CW

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-05 17:25:58 -05:00
Pedro Vicente Nunes
0da425bf4c [svn-r6799] Purpose:
code warrior port

Description:
added H5pubconf.h with H5_NO_SHARED_WRITING and new code warrior project without the fix
to enable shared writing in the open CW function

Solution:

Platforms tested:
CW

Misc. update:
2003-05-05 17:18:13 -05:00
Pedro Vicente Nunes
1d06baa334 [svn-r6798] Purpose:
code warrior port

Description:
added a flag H5_NO_SHARED_WRITING, it is defined only for CW in the H5pubconf.h
this avoids doing some tests for CW that fail on shared writing

Solution:

Platforms tested:
windows (cw and ms)
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)


Misc. update:
2003-05-05 17:04:14 -05:00
Bill Wendling
117444cc25 [svn-r6797] Purpose:
Feature

Description:
    Added new flag to the H5pubconf.h file --- NO_SHARED_WRITING
    (H5_NO_SHARED_WRITING). It's only defined for CodeWarrior and should
    never be defined for other platforms unless the "open()" bug that CW
    has shows up on other platforms.

Platforms tested:
    Verbena. Configure only, so no need for full tests.

Misc. update:
2003-05-05 16:13:49 -05:00
Bill Wendling
1aa1ed9b94 [svn-r6796] Purpose:
Fix

Description:
    Fortran's configure was trying to read the "README.txt" file from the
    "$srcdir", where it won't be.

Solution:
    Changed it to look in "$srcdir/.." for the "README.txt" file.

Platforms tested:
    Verbena. Configure only, so no need for full tests.

Misc. update:
2003-05-05 16:13:31 -05:00
Bill Wendling
c12f91908b [svn-r6795] Purpose:
Feature Add

Description:
	Added knob so that the programmer can enable or disable GPFS
	hints during runtime instead of having it only enabled at
	configure/compile time. Some of the public APIs were changed
	to add an extra parameter for this option...

Platforms tested:
	Blue (LLNL). It only affects the MPI/POSIX driver, so no need
	to test it on non-GPFS platforms.

Misc. update:
2003-05-05 15:48:33 -05:00
HDF Admin
f69ae67faa [svn-r6793] Snapshot version 1.5 release 52 2003-05-03 06:54:14 -05:00
Quincey Koziol
774b4724b1 [svn-r6792] Purpose:
Initial pass for gcc3.3 support

Description:
    Added section for gcc 3.3+ and cleaned up the gcc 3.2+ section a little.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/gcc 3.3 snapshot
    Triple check unneeded.
2003-05-02 09:31:08 -05:00
Elena Pourmal
8bb8876923 [svn-r6791]
Purpase:   Fortran Windows DLL support

Description: Fortran test uses functions h5_fixname and h5_cleanup from h5test.c.
             Those were not exported, and Fortran could not link while using DLLs.


Solution: Added H5_DLL to functions prototype to export them from C DLL.

Platforms tested: Windows, h5committested.

Misc. update:
2003-05-01 15:27:03 -05:00
Elena Pourmal
5b13e08ba6 [svn-r6790]
Purpose: Maintenance/code cleanup/fight with Windows Fortran DLLs

Description: While strugling with Fortran DLLs on Windows I noticed
             some missing export definitions that are necessary
             for exporting correctly data and functions.

Solution: Added missing definitions

Platforms tested: h5committested; Windows with MSVC++ and Visual Fortran
                  on Windows. Fortran DLLs partially work, only 2 tests
                  fail, but failure doesn't make any sense. To make
                  things worse, most of the C DLL tests start to fail when
                  Fortran is built. I am still investigating...


Misc. update:
2003-05-01 15:23:42 -05:00
Pedro Vicente Nunes
b0880f9331 [svn-r6789] Purpose:
new feature

Description:
during the sequencial match list, by default the differences between matched datasets were printed.
added an -m option that allows to turn this off, just printing the file differences

Solution:

Platforms tested:
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)



Misc. update:
2003-05-01 14:57:56 -05:00
Bill Wendling
c3748e1b0b [svn-r6788] Purpose:
Update

Description:
    Fixed description. Should be 1-byte instead of 1-bytes

Platforms tested:
    Linux (Small change, no need for full checking)

Misc. update:
2003-04-30 17:44:31 -05:00
Bill Wendling
d5ccf919e4 [svn-r6787] Purpose:
Update

Description:
    Fixed description. Should be 1-byte instead of 1-bytes

Platforms tested:
    Linux

Misc. update:
2003-04-30 17:44:20 -05:00
Bill Wendling
4aad34af3e [svn-r6786] Purpose:
Update

Description:
    Updated with description of new h5dumper --string feature.

Platforms tested:
    Mozilla

Misc. update:
2003-04-30 17:43:51 -05:00
Bill Wendling
a306b38d67 [svn-r6785] Purpose:
Feature Add

Description:
    It's now possible to print out characters as actual characters
    instead of their decimal equivalent numbers. It's the same thing that
    h5ls does. The flag to do this is "--string" or "-r".

Platforms tested:
    Verbena (Fortran & C++)
    Arabica (Fortran)
    Modi4 (Fortran & Parallel)

Misc. update:
2003-04-30 17:37:06 -05:00
Quincey Koziol
60754030c7 [svn-r6784] Purpose:
Bug fix

Description:
    Corrected a couple of problems with Ray's v1.4 compat checkin yesterday.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/ & w/o --enable_hdf5v1_4 compat switch
    Triple check unnecessary.
2003-04-30 08:55:51 -05:00
Albert Cheng
d67139f909 [svn-r6783] Purpose:
Bug fix

Description:
"$@" was used to represent all argument provided.  This has the
unfortunate effect as one argument of "" when actually no argument
was given.  Some machines throw the "" away but some like Tflops
and Alpha Q, retains them as a single argument of "".  This caused
the no filename given test to fail.

Solution:
Replaced "$@" with a plain $@.

Platforms tested:
h5committested

Misc. update:
2003-04-30 02:26:58 -05:00
MuQun Yang
38da700aa8 [svn-r6781] Purpose:
Add a little more comments on where to put DLL.

Description:
User can put HDF5DLL in the place where the application can find.
It doesn't have to be at system directory.

Solution:
Add comments to "only suggest the user to use system directory".


Platforms tested:
text file, no need to be tested.

Misc. update:
2003-04-29 15:45:51 -05:00
Raymond Lu
11fe5b0657 [svn-r6780] Purpose: Backward compatibility change
Description: 1.4 compatibility for H5G_obj_t type and H5Zregister test.

Solution: use macro H5_WANT_H5_V1_4_COMPAT

Platforms tested: h5committest
2003-04-29 14:49:49 -05:00
Raymond Lu
b58192dfe7 [svn-r6779] Purpose: Backward compatibility change
Description: 1.4 compatibility for H5G_obj_t type and H5Zregister test.

Solution: use macro H5_WANT_H5_V1_4_COMPAT

Platforms tested: h5committest
2003-04-29 14:49:48 -05:00
MuQun Yang
67985f540f [svn-r6778] Purpose:
Update stdio driver supported on windows

Description:
To tell users how to set and use stdio driver.

Solution:

Platforms tested:
Text file doesn't have to be tested.

Misc. update:
2003-04-29 14:28:40 -05:00
MuQun Yang
f555485a00 [svn-r6777] Purpose:
A bug fix for windows.
Description:
Many tests failed on windows when stdio driver is on.
I suspect it is the compiler bug.
After some investigation, the symptom is:
The signature of HDF5 file cannot be found.
The real problem is the signature was appended at the end of the whole
file instead of inserting at the starting of the file.
It seems when the file pointer(signature) is reset to the starting of the file,
windows mis-placed it to the end of the file after finding the file is close to
the end.

Solution:
Fortuately, ftell and fseek still function well on windows,
so I use ftell and fseek to force the file pointer to go to the position it is supposed
to go.

Platforms tested:
since the only change in this file is within ifdef WIN32 macro; it won't
affect the mainstream platforms, so I don't have to three platforms.

Platforms to confirm(test with basic function): Linux 2.4
Platforms to throughly test: windows 2000 with VS6.0
test on three different

Misc. update:
2003-04-29 14:13:21 -05:00
Pedro Vicente Nunes
6c21457720 [svn-r6776] Purpose:
removed and change comments

Description:
removed the modification  comment about the while loop, it is not sufficiently important to be there
changed the "Id to name" comment in the test description, it was incorrecly about other thing

Solution:

Platforms tested:
none , just comments

Misc. update:
2003-04-29 12:30:16 -05:00
Pedro Vicente Nunes
2faf013f73 [svn-r6775] Purpose:
removed one h5diff testfile, that was accidentely left there

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-29 09:57:43 -05:00
Elena Pourmal
5546c22361 [svn-r6774]
Purpose: Windows maintenance

Description: New C tests were never added to the Fortran Work Space.

Solution: Added new C tests to the Fortran Work Space

Platforms tested: Windows
                  Static tests pass, DLL fails. Sigh...

Misc. update:
2003-04-28 19:03:34 -05:00
Elena Pourmal
2db5bd023a [svn-r6773]
Purpose: Windows maintenance and code cleanup

Description: There were a lot of places in the source code where varibale
             was declared but never used.

Solution: Cleaned the source code to avoid warnings on Windows and Unix
          platforms.

Platforms tested: arabica, modi4, Windows
                  Probably my environment is wrong on Linux, cannot
                  compile at all when fortran is enabled
                  If daily tests fails tomorrow, this will be my fault
                  but I want to go home now :-)

Misc. update:
2003-04-28 19:01:04 -05:00
Elena Pourmal
e42dba5336 [svn-r6772]
Purpose: Windows maintenance and code cleanup

Description: There were a lot of places in the source code where varibale
             was declared but never used.

Solution: Cleaned the source code to avoid warnings on Windows adn Unix
          platforms.

Platforms tested: arabica, modi4, Windows
                  Probably my environment is wrong on Linux, cannot
                  compile at all when fortran is enabled
                  If daily tests fails tomorrow, this will be my fault
                  but I want to go home now :-)

Misc. update:
2003-04-28 19:00:22 -05:00
Pedro Vicente Nunes
c37bcc12fc [svn-r6771] Purpose:
added more tests, described in the test matrix

Description:
test -r
test -l
expanded -d, -p and -n tests
test different types to include links and named types
test for non supported classes, e.g bitfield, opaque , etc

Platforms tested:
 Linux 2.4 (rockaway)
 SunOS 5.7 (arabica)
 IRIX 6.5 (modi4)

Misc. update:
2003-04-28 18:56:32 -05:00
Pedro Vicente Nunes
23a8546574 [svn-r6770] Purpose:
added testfiles for h5diff

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-28 18:51:14 -05:00
Albert Cheng
51dd09ec04 [svn-r6769] Purpose:
Minor improvement

Description:
Moved the H5FD_mpio_Debug initialization to H5FD_mpio_init() so
that it is done only once instead of every file open.

Fixed blocked out patch that checks on INFO object so that
H5FD_mpio_Debug can be set via the INFO object.

(All these had been done to v1.4, now folded them int v1.5)

Platforms tested:
Did not h5committest since this is purely parallel code.
The changes were made in an isolated copy in Copper.
Tested in Copper parallel.

Misc. update:
2003-04-28 18:08:35 -05:00
Bill Wendling
158d164b91 [svn-r6768] Purpose:
Bug Fix

Description:
	The compression stuff includes the "zlib.h" header file. This
	file on the SP machine was including another file which would
	#define const as nothing if the compiler wasn't a Standard C
	compiler.

Solution:
	Included a flag to make the compiler into an ANSI compiler.

Platforms tested:
	Blue (Only affects powerPC computers)

Misc. update:
2003-04-28 17:24:07 -05:00
Albert Cheng
83b2e3213a [svn-r6767]
Purpose:
Code cleanup

Description:
Removed debug statement bracketed by H5FDmpiposix_DEBUG or alike.
They were added in by mistakes.

Platforms tested:
Did not h5committested but tested in Copper since there changes are
limited in parallel codes.

Misc. update:
2003-04-28 16:06:40 -05:00
Bill Wendling
ebb263afa6 [svn-r6765] Purpose:
Bug Fix

Description:
    If there was a header file with a path like:

        /some/path/mpich.optimized/...

    The dependencies script would change that to

        /some/path/mpich.loptimized/...
                         ^--Note.

Solution:
    Mike McKay offered the solution to replace the substitution script
    from "s/\.o/\.lo/g" to "s/\.o(\b)/\.lo$1/g". It doesn't crash when
    run on Linux, but we need to make sure that it's okay for his
    machine.

Platforms tested:
    Linux, since this script is only run on GNU platforms.

Misc. update:
2003-04-28 13:39:41 -05:00
Albert Cheng
7da63ba3c2 [svn-r6764] Purpose:
Improvment

Description:
No default setting of fortran compiler when --enable-parallel is
used.

Solution:
Changed it to use mpxlf_r as the default parallel fortran compiler.
This is consistent with the default C compilers.

Platforms tested:
Did not h5committested because the changes were made offsite.
Tested in LLNL SP BLUE, both serial and parallel modes.
(There is a compiling error in src but the configure result are
verified.)

Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2003-04-28 12:42:36 -05:00
HDF Admin
6b7a945a65 [svn-r6761] Snapshot version 1.5 release 51 2003-04-26 05:03:11 -05:00
Albert Cheng
257e698ee0 [svn-r6759] Purpose:
bug fix

Description:
The default of CC used to be gcc which is not compatible with the
default fortran compiler of xlf.

Solution:
Copied the CC default setting from the C-API level.

Platforms tested:
Run test in Copper since this is a purely AIX change.

Misc. update:
2003-04-25 23:15:57 -05:00
Elena Pourmal
156bf14dbf [svn-r6757]
Purpose: Bug fix

Description: on Cray T90IEEE compact storage test (in test_misc8)
             fails since dataset dimensions are too big; dataset
             will not fit into the message header.

Solution: Reduced dimension sizes from 100 to 50.

Platforms tested: h5committested on arabica and mod4; verbena failed
                  because of the F90 license problem. I tested on verbena
                  by hand and C only; Cray T90IEEE

Misc. update:
2003-04-25 16:39:09 -05:00
Raymond Lu
b11c892b4f [svn-r6756]
Purpose: Verify library behavior

Description: A file is first opened as read only.  Then it's closed with
	an object left open.  A second open of the same file for read and
	write should fail.


Platforms tested: arabica - simply test to verify correct library behavior.
2003-04-25 15:55:10 -05:00
Albert Cheng
d76dfb1985 [svn-r6755] Purpose:
feature

Description:
added test_fapl_mpiposix_dup to verify the MPIPOSIX is making
duplicates of Communicator correctly.

Platforms tested:
Did not h5committested because these are all MPI code and well protected
by HAVE_PARALLEL.
Tested in eirene and modi4, both parallel mode.

Misc. update:
2003-04-25 09:27:36 -05:00