357 Commits

Author SHA1 Message Date
Quincey Koziol
0a29514b9d [svn-r8383] Purpose:
Code cleanup

Description:
    Clean up lots of warnings based on those reported from the SGI compilers
as well as gcc.

Platforms tested:
    SGI O3900, IRIX64 6.5 (Cheryl's SGI machine)
    FreeBSD 4.9 (sleipnir) w/ & w/o parallel
    h5committest
2004-04-17 23:10:09 -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
61a451f89e [svn-r8117] Purpose:
Code cleanup

Description:
    Add C++ and FORTRAN wrappers for new H5Pdelete_filter routine, along with
documentation and a note in the release notes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (verbena) w/ C++ and FORTRAN
    Too minor for full h5committest
2004-01-27 15:39:20 -05:00
Albert Cheng
c08c387235 [svn-r8043] Purpose:
Feature

Description:
Added option -showconfig which Shows the HDF5 library configuration summary

Platforms tested:
No h5committest test which does not test these tools.
Tested in eirene by hand.

Misc. update:
2004-01-08 15:08:36 -05:00
Quincey Koziol
feaa5bb9d5 [svn-r8038] Purpose:
Bug fix

Description:
    When two property lists are compared, the H5Pequal routine was just
comparing the raw information for the property values.  This causes problems
when the raw information contains pointers to other information.

Solution:
    Allow a 'compare' callback to be registered for properties, so that a user
application get perform the comparison itself, allowing for "deep" compares of
the property value.
    This was exported to the H5Pregister & H5Pinsert routines in the development
branch, but not the release branch.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-01-08 09:55:11 -05:00
Elena Pourmal
850696344c [svn-r8033]
Purpose: Maintenance

Description: Fortran APIs MAC OS X port for IBM XL Fortran compiler

Solution: Brought back changes from 1.6 branch

Platforms tested: pommier, h5comittested; this time h5committest
                  complained about copperpp directory and didn't run;
                  tests on verbena and sol passed.

Misc. update:
2004-01-06 15:54:55 -05:00
Quincey Koziol
e865f21190 [svn-r7934] Purpose:
Add new feature

Description:
    Add FORTRAN wrappers for new H5I routines.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-12-11 13:29:25 -05:00
Quincey Koziol
179d839555 [svn-r7643] Purpose:
Code cleanup

Description:
    Clean up warnings, remove unused routines, tidy things up a lot.

Platforms tested:
    h5committest
2003-10-15 15:17:11 -05:00
Quincey Koziol
a467184280 [svn-r7642] Purpose:
Code cleanup

Description:
    Remove unused 'HD5c2fstr' routine and clean up coding for other routines.

Platforms tested:
    h5committest
2003-10-15 15:15:26 -05:00
Quincey Koziol
6a516752c7 [svn-r7641] Purpose:
Code cleanup

Description:
    Start stripping leftovers from HDF4 out of this file, working toward
getting everything defined at configure time, instead of depending on the
framework of ifdef's used in HDF4.

Platforms tested:
    h5committest
2003-10-15 15:14:26 -05:00
Quincey Koziol
6df8b198a6 [svn-r7639] Purpose:
Code cleanup

Description:
    Remove UNICOS-specific ifdefs and replace with portable code.

Platforms tested:
    h5committest
2003-10-15 15:04:31 -05:00
Quincey Koziol
eb878857a7 [svn-r7638] Purpose:
Code cleanup

Description:
    Clean up compiler warnings

Platforms tested:
    h5committest
2003-10-15 15:02:51 -05:00
Quincey Koziol
e2518919c9 [svn-r7626] Purpose:
Update dependencies and tracing information

Platforms tested:
    Linux 2.4 (verbena) w/FORTRAN
    too minor for h5committest
2003-10-14 10:46:38 -05:00
Elena Pourmal
3aa8cd1223 [svn-r7621]
Purpose: Rolling over changes from 1.6 branch

Description: h5pget(set)_cache_f functions had a wrong type of the
             third parameter

Solution: Fixed the type to be INTEGER(SIZE_T)

Platforms tested: kelgia, arabica 64-bit, copper 64-bit

Misc. update:
2003-10-13 17:25:59 -05:00
Quincey Koziol
6dbba8d7af [svn-r7612] Purpose:
Code cleanup

Description:
    Added missing prototypes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (verbena) w/FORTRAN
    too minor for h5committest
2003-10-13 14:22:33 -05:00
Quincey Koziol
9bc89569d6 [svn-r7611] Purpose:
Code cleanup

Description:
    Cleaned up various compiler warnings

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (verbena) w/FORTRAN
    too minor for h5committest
2003-10-13 14:21:41 -05:00
Quincey Koziol
ed23cda102 [svn-r7610] Purpose:
Code cleanup

Description:
    Removed "H5Git" routines, now that there are library routines which perform
the same functionality.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (verbena) w/FORTRAN
    too minor for h5committest
2003-10-13 14:18:22 -05:00
Elena Pourmal
c72601e0d6 [svn-r7601]
Purpose: Bug fix

Description: Parameter rdcc_nelmts of the h5pget_cache_f subroutine
             had wrong INTEGER(SIZE_T) instead of INTEGER type.

Solution: Fixed the type

Platforms tested: arabica in 64-bit mode (where INTEGER(SIZE_T) is not
                  the same as INTEGER)

Misc. update:
2003-10-10 17:19:00 -05:00
Quincey Koziol
f766b32d07 [svn-r7559] Purpose:
Add feature

Description:
    Add H5Fget_freespace() routine, to check the amount of free space in a
    file.  This information is only valid until the file is closed currently,
    however (until we start recording the free space information in the file
    itself).

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-07 08:32:32 -05:00
Elena Pourmal
b6be270f1f [svn-r7529] Purpose: Code cleanup
Description: On Linux systems valdrind tool complained about memroy leaks in the
             following statements like
               if(!a) free(a);

Solution: replaced the statements with
          if ( a != NULL) free(a);

Platforms tested: eirene (too small for committest)

Misc. update:
2003-10-01 11:10:53 -05:00
Quincey Koziol
4105dfedb9 [svn-r7379] Purpose:
Code cleanup

Description:
    Changed version #'s returned from H5Pget_version from 'int *' to
'unsigned *' since we are never going to be using negative version #'s... :-)

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small to need h5committest
2003-08-18 11:29:33 -05:00
Albert Cheng
374ad0ef30 [svn-r7361] Description:
Updated the copyright notice--mostly by rearranging
some text to make them consistent.

Solution:

Platforms tested:
"h5committested"--sol is down, so, no SUn test.

Misc. update:
2003-08-13 23:58:29 -05:00
Albert Cheng
641f9f2fea [svn-r7341] Purpose:
Updated, cleanup or added Copyright notice.

Platforms tested:
"h5committested"

Misc. update:
2003-08-11 14:37:59 -05:00
Quincey Koziol
f3c2fbaff5 [svn-r7318] Purpose:
Code cleanup

Description:
    Switched 'hobj_ref_t' from funny structure with array inside to just be
'haddr_t', since that was equivalent and less confusing.

Platforms tested:
    h5committested
2003-08-08 14:20:57 -05:00
Quincey Koziol
870d4cdacc [svn-r7295] Purpose:
Code cleanup

Description:
    Removed unused and out of date H5E flags

Platforms tested:
    h5committested
2003-08-08 13:36:39 -05:00
Bill Wendling
e7bcad6e7b [svn-r7274] *** empty log message *** 2003-07-29 14:24:10 -05:00
Bill Wendling
0603e2db00 [svn-r7269] Purpose:
Update

Description:
    Revamped the configuration system. The configurations for the Fortran
    and C++ libraries are no longer separate from the "main"
    configuration system. This involved removing the "configure*" and
    "aclocal.m4" files from the fortran/ and c++/ subdirectories. Also
    merging settings in the config/ subdirectories into the main config/
    subdirectory.

    Fortran header files had to be modified a little for Linux. It was
    checking if it was a Linux machine by some #defines, however with the
    -std=c99 switch, these defines weren't there. I added a check for
    some other ones which should be there whether the -std=c99 switch is
    used or not.

Platforms tested:
    Verbena (Fortran & C++)
    Sol (Fortran & C++)
    Copper (Fortran & C++)
    Modi4 (Parallel, Fortran, & C++)

Misc. update:
2003-07-28 16:38:04 -05:00
Raymond Lu
0d22a663df [svn-r7265] *** empty log message *** 2003-07-25 21:55:47 -05:00
Quincey Koziol
932101bb80 [svn-r7201] Purpose:
Code cleanup

Description:
    Finish converting the B-tree 'K' values to use unsigned integers, rather
than signed ones, since negative amounts of entries in a B-tree node aren't
meaningful.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-10 14:39:04 -05:00
Quincey Koziol
06f27f99b0 [svn-r7192] Purpose:
Code cleanup

Description:
    Clean up various minor warnings in the library.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small to need h5committest
2003-07-09 14:16:17 -05:00
Quincey Koziol
4e23c80758 [svn-r7181] Purpose:
Version update

Description:
    Removed 1.4 compatibility code in the library.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-07 14:02:46 -05:00
Elena Pourmal
29b3bd1fe0 [svn-r7133] Purpose: Typo fix
Description: When Quincey and I updated Fortran SZIP flags, we accidentally
             renamed one of the C flags H5_SZIP_ALLOW_K13_OPTION_MASK used
             by Fortran C-stub routine.

Solution: Fix the typo.

Platforms tested: Linux 2.5 and True64

Misc. update:
2003-07-01 12:24:07 -05:00
Quincey Koziol
dc62afc420 [svn-r7130] Purpose:
Tweak code

Description:
    Change FORTRAN flags for szip so they are shorter.

Platforms tested:
    eyeballed...
    too minor for quad check
2003-07-01 10:05:25 -05:00
Quincey Koziol
93622d0b7a [svn-r7129] Purpose:
Bug fix

Description:
    Propogate szip flag changes into FORTRAN source & tests

Platforms tested:
    h5committest
2003-07-01 09:53:37 -05:00
Elena Pourmal
15349afd34 [svn-r7114]
Purpose: Bug fix

Description: Makefile.in has hardcoded dependencies. H5Zff.lo was
             missing for the sequential version. That caused parallel
             make to fail, since module HDF5 was built before H5Z.

Solution: Added H5Zff.lo to dependencies list.

Platforms tested: This is an obvious error and also due to the seminar and picnic
                  schedule I am checking in without testing. I will test it later today.

Misc. update:
2003-06-27 09:46:13 -05:00
Elena Pourmal
0489e2726c [svn-r7064]
Purpose: IA64 (titan) cleanup and backing up previous change to the
         H5f90global.f90 file

Description: We defined IA64 variable for C-stubs compilation
             on IA64 systems. But system defines __ia64 and
             it is better to use it as we do on all other systems.
             Fortran test failed since global variable became undefined.

Solution: Removed -DIA64 and use __ia64 instead.
          Somehow removal of COMMON statements from H5f90global.f90
          caused errors on titan. Most of the global fortran variables became
          undefined. I am not sure why it is happenning. It may be ecc compiler
          or there is an error in the Fortran code. Since it may take some time
          to track it, I decided to remove this change.
Platforms tested: titan, arabica

Misc. update:
2003-06-19 14:38:32 -05:00
Quincey Koziol
1aeaa7fbb1 [svn-r7059] Purpose:
Refactoring

Description:
    Track changes to H5Fget_obj_<foo> API functions.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:52:54 -05:00
Elena Pourmal
e29d7fc478 [svn-r7050]
Purpose: Bug fix

Description: On Windows Fortran szip test failed in debug mode.
             It turned out that C-stub for H5Pget_filter_by_id didn't
             calculate the correct value of namelen parameter that is
             passed to the H5Pget_filter_by_id function. As a result
             fortran parameter that hold creation property id was overwritten
             and h5fdcreate_f failed.



Solution: Fixed the value of namelen parameter to the H5Pget_filter_by_id
          function.

Platforms tested: Windows 2000 with VF both debu and release modes,
                  sol, verbena.

Misc. update:
2003-06-18 12:14:57 -05:00
Elena Pourmal
6a15443e7c [svn-r7045]
Purpose: Code cleanup

Description: For some unknown to myself reason I used COMMON in the
             HDF5 module that has to be included in all Fortran
             HDF5 application. This is redundant and may cause
             problems for optimization. Also COMMON is an "OLD"
             feature and shouldn't be used.

Solution: Removed COMMON statements.

Platforms tested: modi4 sequential and parallel, arabica, vebena,
                  Windows with Visual Fortran.

Misc. update:
2003-06-17 18:16:09 -05:00
Albert Cheng
1be010d74f [svn-r6995] Purpose:
cleanup

Description:
Move the removal of libhdf5_fortran.settings from clean to
distclean target.

Platforms tested:
Tested in copper only since the change is trivial.

Misc. update:
2003-06-08 21:56:46 -05:00
Elena Pourmal
c67aff706f [svn-r6966]
Purpose: Bug fix

Description: One of the arguments to the h5pset(get)_preserve_f and
             h5pset(get)_fapl_core_f had fortran INTEGER instead
             of LOGICAL type.

Solution: Changed the type

Platforms tested: arabica and verbena
                  This is a very simple change, and I want to go home :-)
                  I will be doing more testing anyway on modi4 tomorrow.

Misc. update:
2003-06-04 18:19:55 -05:00
Quincey Koziol
bb042d83c7 [svn-r6950] Purpose:
API tweak.

Description:
    The H5Sget_select_bounds() API call was using hsize_t arrays for retrieving
the 'start' and 'end' coordinates, which is counter to the rest of the dataspace
API.

Solution:
    Change the arrays to be hssize_t instead.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committested

Misc. update:
    Updated all docs for this change.

    Added 1.4 compatibility #ifdef's
2003-06-04 10:22:23 -05:00
Elena Pourmal
c84277c53f [svn-r6918]
Purpose: Support for Fortran Absoft compiler on Linux

Description: Absoft has its own name translation rules
             for the names of C functions called from Fortran

Solution: Added "if defined H5_ABSOFT" statement to the linux portion
          of the H5f90i.h file to define correct translations.
          For now, Fortran users who use ABSOFT fortran compiler have to specify
          -DH5_ABSOFT flag for their C compiler.

Platforms tested: Remote laptop running SuSE8.1 with Absoft compiler,
                  verbena with icc and ifc just to make sure that
                  our current linux configuration still works.
                  Since it is a pure Linux change, I didn't test it on
                  other systems.

Misc. update:
2003-05-27 14:52:40 -05:00
Bill Wendling
6377386751 [svn-r6881] Purpose:
Update

Description:
    Regenerated

Platforms tested:
    Modi4 (Fortran & Parallel)
    Verbena (Fortran & C++)
    Arabica (Fortran)
    (though not with GPFS enabled...)

Misc. update:
2003-05-15 18:26:18 -05:00
Bill Wendling
16d78f2456 [svn-r6859] Purpose:
Bug Fix

Description:
    Porting preprocessor (-E) bug fix from h5cc to h5fc.

Solution:
    See Description.

Platforms tested:
    Eyeballed (small fix).

Misc. update:
2003-05-13 12:17:56 -05:00
Elena Pourmal
c0de1ca9fe [svn-r6820]
Purpose: Fortran updtae

Description: Created new functions h5pset(get)_fapl_mpiposix_f


Platforms tested: Compilation was tested with semi-manual h5committest.
                  (I ahd to built and test manullay on modi4 parallel because
                   of some weird failure of h5committest on modi4)
                  There are no tests yet for those functions. Kent was
                  going to use them in the MEAD project to test
                  the performance.
Misc. update:
2003-05-06 18:20:39 -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
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
Bill Wendling
68b1950013 [svn-r6746] Purpose:
Bug Fix

Description:
    When going to compile on a platform (like HP-UX) which doesn't have
    libz.a in it's path, the script would fail. The reason was that the
    LDFLAGS variable which holds the directories to these libraries was
    last in the compile line. So the compiler couldn't find the library

Solution:
    Put the LDFLAGS variable before the linker variables.

Platforms tested:
    Kelgia (Fortran)
    Verbena (Fortran, no C++ since only Fortran affected)
    Arabica (Fortran)
    Modi4 (Fortran & Parallel)

    Also ran "make check-install"

Misc. update:
2003-04-24 15:22:43 -05:00