Commit Graph

5955 Commits

Author SHA1 Message Date
Elena Pourmal
6f0be2df0d [svn-r8239] Purpose: Brought back changes from 1.6 branch (small bug fix)
Description: Wrong datatype was used to calculate the size of data buffer


Solution: Used correct the datatype

Platforms tested: partially h5comittested (sol and verbena);
                  tested manually for sequential version on copper

Misc. update:
2004-03-08 15:09:52 -05:00
Quincey Koziol
73b756fe33 [svn-r8235] Purpose:
Bug fix

Description:
    Fix build on sparc64 platform for FreeBSD by modifying the config/gnu-flags
to not insert '-march=i686' on non-Intel platforms.  (This change allows HDF5
to run correctly on all five of the main FreeBSD platforms... :-)

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest not run since it's a FreeBSD-specific fix.
2004-03-06 21:26:31 -05:00
Quincey Koziol
51ecb0ecea [svn-r8233] Purpose:
Bug fix/code update

Description:
    Upgrade to latest version of config.guess & config.sub, which work
    correctly on Cray X1 (and may help on NEC SX-6).

    NOTE: This upgrade has _nothing_ to do with autoconf or libtool, these
    shell scripts are _not_ tied to any particular version of those tools.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
    Cray X1
2004-03-05 16:32:59 -05:00
Pedro Vicente Nunes
2a93f99317 [svn-r8232] Purpose:
new feature

Description:
added a check for the return value of the tools h5repack and h5diff
in the run script.
the return value is used to print PASSED (tool returns 0) or FAILED

Solution:

Platforms tested:
linux

Misc. update:
2004-03-04 11:55:07 -05:00
Pedro Vicente Nunes
931efcb5eb [svn-r8229] Purpose:
1) new function  for tools library
2) new test script for h5repack


Description:
1) currently all the tools (h5dump, h5diff, etc)  do not check if a filter is available
for reading some dataset that might have a filter not available on the current configuration (the behaviour
of the tools until now was to trigger a library error, saying that the dataset cannot be read
due to the lack of the filter)


Solution:
1) added a new function h5tools_canreadf that checks if a dataset can be read
depending on the availability of filters.
this function was added in calls for h5diff and h5repack.
instead of triggering the library error, a message is printed, saying that the dataset
cannot be read (the print is optional, it is on on verbose mode)

2) added a shell script that tests the commannd line tool behaviour of h5repack
the script does a series of runs of h5repack  with several options on the same file (this file test4.h5
was added to the testfiles dir).
then, it runs the h5diff tool, with the input and output files , in each run.
the goal of the test is also to check item 1) . the binary file was saved with filters
that might not be available on other configurations


Platforms tested:
linux (all filters enabled)
linux (some filters disabled)
solaris (some filters disabled)
AIX (some filters disabled)
windows (all filters on and off )


Misc. update:
2004-03-02 13:12:25 -05:00
Albert Cheng
77d3875c5b [svn-r8228] Purpose:
Incremented the release number.  The previous one is used
by the fphdf5 alpha0 release.

Platforms tested:
Tested in Eirene with fortran and cxx.
2004-03-01 18:14:30 -05:00
Pedro Vicente Nunes
8e0adc3208 [svn-r8227] Purpose:
these output files have the output without a removed printed new line

Description:

Solution:

Platforms tested:

Misc. update:
2004-03-01 16:01:58 -05:00
Pedro Vicente Nunes
a9c0f6f616 [svn-r8226] Purpose:
removed a print of a new line

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-03-01 16:00:40 -05:00
HDF Admin
ddd683737b [svn-r8225] FPHDF5 alpha0 release 2004-02-27 05:37:49 -05:00
Pedro Vicente Nunes
b20cf81c5c [svn-r8224] Purpose:
bug fix

Description:
I introduced some #ifdef <have_filter> on the check in yesterday on the places
that generated datasets, that had no corresponding on the read part.
this caused failures in the configurations  where a filter was not defined

Solution:
just removed the #ifdefs

Platforms tested:
linux

Misc. update:
2004-02-26 09:32:21 -05:00
Pedro Vicente Nunes
40357176e3 [svn-r8223] Purpose:
bug fix

Description:
generating a dataset in linux 2.4 (verbena) with the pgcc compiler gave an error with the following
sequence

1) make a space id1 and a dcpl
2) make a space id2, create and write a dataset with space id2, close
3) attempt to create a dataset with space id1 fails and calling a set_filter function with the dcpl in 1) fails


Solution:
just changed the order 2) to 1)


Platforms tested:
linux 2.4 (verbena) with pgcc compiler

Misc. update:
2004-02-25 14:37:45 -05:00
Frank Baker
2f8fc11a3f [svn-r8222]
Purpose:
    Update page footer.

Platforms tested:
    IE 5
2004-02-24 17:13:37 -05:00
Frank Baker
9fb77d56b8 [svn-r8221]
Purpose:
    Clean up RM formatting.
    Modify RM HTML code to facilitate automated generation of PDF version.
    Minor edits.

Description:
    Reworked format of "Parameters" sections.
    Added HTML tags (and pseudo-HTML tags) used by HTMLdoc to
        generate PDF files.
    Fixed the "Copyright" link on RM_H5Front.html.
    Other minor copy edits.

Platforms tested:
    IE 5
2004-02-24 17:10:12 -05:00
Pedro Vicente Nunes
f29e2a01e3 [svn-r8218] Purpose:
bug fix in H5Zshuffle.c
add more tests to h5repack that exposed the bug

Description:
when creating a dataset with the shuffle filter and duplicating it in a new dataset (file)
the call to H5Z_set_local_shuffle failed. this is because the value of cd_nelmts of the filter
structure is set to 1 (H5Z_SHUFFLE_TOTAL_NPARMS) when the original dataset is created, but when
the new dataset is created there is a checking instruction that fails if the value of
cd_nelmts is not 0 (its original value, H5Z_SHUFFLE_USER_NPARMS)

Solution:
just remove that check condition, since the value of cd_nelmts is not used anyway.
if we decide that the value of cd_nelmts is necessary, then the H5O_pline_copy function
must be changed to update this value (a different update for each filter)

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-02-23 11:52:45 -05:00
HDF Admin
fe388e2c13 [svn-r8216] Snapshot version 1.7 release 18 2004-02-22 04:16:37 -05:00
Quincey Koziol
78c6d91664 [svn-r8214] Purpose:
Bug fix

Description:
    Update threadsafe flags for FreeBSD and allow C++ to be built with
    threadsafe enabled.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/C++ & thread-safe
2004-02-21 12:44:44 -05:00
Albert Cheng
691fae29d4 [svn-r8212] Purpose:
Bug fix.

Description:
The -g in H5detect somehow does not work with 64bit mpicc in arabica.
Remove it for now for better solution.

Platforms tested:
no test as the change is trivia.

Misc. update:
2004-02-18 17:31:05 -05:00
Frank Baker
6f3c3be256 [svn-r8210]
Purpose:
    Corrected reference to PDF version.

Platforms tested:
    IE 5
2004-02-18 16:11:49 -05:00
Albert Cheng
5937bcd021 [svn-r8207] Purpose:
Bug fix, sort of.


Description:
Some compilers, e.g., intel compiler, would take a long time
to compiler H5detect.c if optimization is on.


Solution:
Setup special make rules for H5detect to be compiled always with
optimization off by using -g.  Since H5detect is run once to generate H5Tinit.c,
it does not matter that much if it is optimized or not.


Platforms tested:
"h5committested".
Tested in Titan too.
2004-02-16 23:25:40 -05:00
Quincey Koziol
715460cf62 [svn-r8203] Purpose:
Doc cleanup

Description:
    Correct several grammar problems, as well as clarify a few more things,
based on John's feedback.
2004-02-14 09:39:18 -05:00
Quincey Koziol
31596fc1bd [svn-r8201] Purpose:
Code cleanup/bug fix

Description:
    Fix configuration files to allow 64-bit compilation of the library with
a 64-bit version of zlib.

Solution:
    Moved important compiler flags settings from CC macro to CFLAGS macro.
Instead of setting CC (F9X, CXX) environment variable for compiling for 64-bit
code, users should just set the CFLAGS (FFLAGS, CXXFLAGS) to -q64.
    Updated INSTALL file to reflect this change.

Platforms tested:
    IBM p690 (copper) w/parallel, FORTRAN, C++, srcdir.
    Platforms specific - h5committest does not apply.
2004-02-13 15:08:18 -05:00
Quincey Koziol
b8edc9384d [svn-r8199] Purpose:
Bug fix typo

Description:
    Correct typo in last fix... *sigh*

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest - Really! :-)
2004-02-13 08:47:15 -05:00
Pedro Vicente Nunes
747dd91641 [svn-r8198] Purpose:
small bug fix

Description:
a dataset creation property list was not closed

Solution:
closed it, calling H5Pclose(dcpl);

Platforms tested:
linux (small fix)

Misc. update:
2004-02-12 16:28:12 -05:00
Quincey Koziol
7efcee5e4f [svn-r8197] Purpose:
Bug fix

Description:
    Hack on include paths some more to make srcdir builds work correctly with
the [broken] dependency generation from the Intel 7.1 C compiler.

Platforms tested:
    Linux 2.4 (titan) w/srcdir build
    Too minor to require h5committest
2004-02-12 15:01:32 -05:00
Quincey Koziol
53904c8737 [svn-r8187] Purpose:
Bug fix

Description:
    Added directory where actual source code is located to allow broken Intel
C 7.1 compiler to generate dependencies correctly.

Platforms tested:
    Linux 2.4 (titan)
    too minor to need h5committest
2004-02-11 20:12:22 -05:00
Pedro Vicente Nunes
864b2dfab1 [svn-r8183] Purpose:
removed some harcoded zlib and szip library paths from the h5repack project
settings that were accidently left there

Description:

Solution:

Platforms tested:

Misc. update:
2004-02-11 14:12:12 -05:00
Albert Cheng
f55948e4ba [svn-r8181] Purpose:
Bug fix.

Description:
"make check" failed because the macro "$<" is not known to those
makes.

Solution:
Replace that macro with a string name in the form of a more basic
macro of "$@".

Platforms tested:
h5committested (copper used make.)

Misc. update:
2004-02-10 22:17:36 -05:00
Frank Baker
316a2ab99a [svn-r8178]
Purpose:
    Add 2004 to the copyright dates line.

Platforms tested:
    Viewed in vi.
2004-02-10 18:01:33 -05:00
Pedro Vicente Nunes
192c316dd5 [svn-r8176] Purpose:
new feature, bug fix, changed function

Description:
1) implemented the option that says if the dataset is too small , do not compress it
2) bug fix in the SZIP checking . only apply szip to atomic datatypes
3) made the apply_filters function more compact


Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-02-10 13:33:20 -05:00
Pedro Vicente Nunes
f1031738ef [svn-r8175] Purpose:
same changes that were done for 1.6 regarding CW install

Description:

Solution:

Platforms tested:

Misc. update:
2004-02-10 13:18:10 -05:00
Elena Pourmal
4408830c77 [svn-r8171] Purpose: Maintenance
Description: Copyright notice was missing from the examples files

Solution: Added copyright notice

Platforms tested: eirene

Misc. update:
2004-02-10 10:42:55 -05:00
Pedro Vicente Nunes
808e48bede [svn-r8166] Purpose:
updated the h5repack projects with the new source files

Description:

Solution:

Platforms tested:

Misc. update:
2004-02-09 15:38:00 -05:00
Pedro Vicente Nunes
2739ca4476 [svn-r8165] Purpose:
updated the windows project files for h5repack and h5repacktst with new source files

Description:

Solution:

Platforms tested:

Misc. update:
2004-02-09 15:33:17 -05:00
Quincey Koziol
a3ec241c61 [svn-r8164] Purpose:
Test cleanup

Description:
    Move the perl postprocessing step on the .depend file out of the loop over
all the files, which should get rid of redundant rescanning of the .depend file.

Platforms tested:
    Linux 2.4 IA64 (titan)
    too minor to require h5committest
2004-02-07 15:33:28 -05:00
Quincey Koziol
d08dacbecb [svn-r8163] Purpose:
Bug fix

Description:
    Add ifdef around most of this file, to protect it from the Intel 7.1 C
compiler which seems to have bugs in its -MG flag for creating dependency
information.

Platforms tested:
    Linux IA64 (titan)
    too obscure to require testing on other platforms
2004-02-07 15:09:32 -05:00
Albert Cheng
3bf8c96888 [svn-r8161] Purpose:
Bug fix

Description:
make check without doing make first would fail to build testphdf5.

Solution:
Put the testphdf5 back in the target of TEST_PROG_PP and removed
the "testphdf" without any parameter from testph5.sh.

Platforms tested:
copper parallel. This is not relevant to non-parallel cases.

Misc. update:
2004-02-07 12:24:57 -05:00
Raymond Lu
a2c349d32a [svn-r8159] Purpose: Disable a test.
Description:  Temporarily disable float(or double) - unsigned long long
software conversion because there is a bug in pgcc compiler.  Will enable it
once the problem is solved.


Platforms tested: RH 8
2004-02-06 16:57:34 -05:00
Quincey Koziol
d8cfeadd90 [svn-r8158] Purpose:
Code cleanup/optimization

Description:
    Query property list values once, at the beginning of the I/O routines,
instead of querying the property list values multiple (lots!) of times in
lower level routines.

Solution:
    Create "property list caches" for internal library queries of the property
list values.

Platforms tested:
    IBM p690 (copper) w/parallel & fphdf5
    h5committest
2004-02-06 10:34:01 -05:00
Quincey Koziol
aaeecad656 [svn-r8157] Purpose:
Code cleanup/optimization

Description:
    Hoist property list queries up out of inner loops to cache the values at
a higher level and pass them into the lower-level routines.

Platforms tested:
    IBM p690 (copper) w/parallel & fphdf5
    h5committest
2004-02-06 10:31:23 -05:00
Quincey Koziol
ad6408e384 [svn-r8154] Purpose:
Code cleanup

Description:
    Minor tweaks, cleanups & optimizations to new bit operation routines.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-02-05 11:10:40 -05:00
Raymond Lu
08aa29cd5e [svn-r8153] *** empty log message *** 2004-02-04 17:52:01 -05:00
Raymond Lu
45262c5b3d [svn-r8152] Purpose: new feature.
Description: software conversion from float to integer(integer to float hasn't
    be done yet).

Solution:       This is the software conversion.

Platforms tested: h5committest

Misc. update:  RELEASE.txt
2004-02-04 17:51:39 -05:00
Quincey Koziol
1b147875db [svn-r8151] Purpose:
Bug fix

Description:
    Fix h5tools routines to not try to call MPI_Init() unless an MPI-based
VFD is actually used.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/parallel
    Linux 2.4 (verbena) w/parallel
2004-02-04 17:43:00 -05:00
Pedro Vicente Nunes
c238a6c13c [svn-r8150] Purpose:
introduced the constant H5Z_FILTER_ALL, used to remove all filters in H5Premove_filter

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-02-04 15:35:37 -05:00
Pedro Vicente Nunes
78fb916259 [svn-r8149]
Purpose:
replaced name of delete filter with remove filter for the new function H5Premove_filter

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-02-04 14:36:12 -05:00
Quincey Koziol
517643f146 [svn-r8144] Purpose:
Bug fix.

Description:
    Revert the optimization to the MPI-I/O VFD from earlier this week that
eliminated calling MPI_File_set_size() when a file was truncated.  This doesn't
work because of the way we track the 'eoa' (end of allocated space) in the
file: we just advance the eoa value when space is allocated in the file and we
don't zero out the space in the file.  This causes a problem where we assume
that all "newly allocated" space in the file contains zero bytes, but if we
don't call MPI_File_set_size(), the file can contain the previous data (if the
file previously existed) and not zeros.
    Unfortunately, because we allow independent raw data parallel I/O, there
is no way to address this issue. :-(

Solution:
    Revert to previous method of retrieving the file's size, etc. from before
the optimization.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest.
2004-02-01 22:58:29 -05:00
Quincey Koziol
233319898d [svn-r8143] Purpose:
New Feature.  (Contributed by Robb)

Description:
    Allow h5ls to specify a VFL with the '--vfl=' command line flag.

    Add MPI-I/O & MPI-POSIX VFL drivers to list of drivers available for
h5ls and h5dump.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/parallel
    h5committested
2004-02-01 22:32:41 -05:00
Quincey Koziol
0ce42d9ed9 [svn-r8142] Purpose:
Fix build with C++ compiler

Description:
    Add file driver header files for prototypes.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/CC=g++
    too obscure to require h5committest
2004-02-01 22:19:39 -05:00
Quincey Koziol
fd442eae18 [svn-r8140] Purpose:
Bug fix

Description:
    Move assertion to allow closing non-HDF5 files with the MPI-I/O VFD to
work correctly again.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-01-31 23:06:22 -05:00
Quincey Koziol
7388e8a3e4 [svn-r8139] Purpose:
Code cleanup

Description:
    Clean up compiler warnings.

Platforms tested:
    h5committested
2004-01-31 13:54:28 -05:00