Commit Graph

4228 Commits

Author SHA1 Message Date
HDF Admin
0b99dd414c [svn-r5912] Snapshot version 1.5 release 35 2002-09-07 10:47:53 -05:00
Pedro Vicente Nunes
d3f2e1bdff [svn-r5911]
Purpose:
    bug fix in 'ID to name' function
Description:
    the function replace_name was only checking for immutable datatypes
Solution:
added a new function H5T_is_named, that checks for named datatypes


Platforms tested:
windows 2000, linux, solaris with Fortran
2002-09-04 10:50:12 -05:00
Bill Wendling
46d9c62ba1 [svn-r5910] Purpose:
Bug Fix
Description:
    Some macros had "NULL" instead of "FAIL" as the return value.
Solution:
    Change from NULL to FAIL.
Platforms tested:
    Eirene (C++), Arabica (Fortran), Modi4 (pp and Fortran).
2002-09-03 18:08:30 -05:00
HDF Admin
ac96356230 [svn-r5908] Snapshot version 1.5 release 34 2002-08-31 11:26:35 -05:00
Pedro Vicente Nunes
dd44d88893 [svn-r5907]
Purpose:
    bug turnaround in test_hdf5_fortran on a h5fmount_c call
Description:
    the H5I_nmembers(H5I_GROUP) call that is made inside
   h5fmount_c  -> H5G_replace_name -> H5I_nmembers(H5I_GROUP)

is not detecteting correctly that the entry belongs to the group list
therefore a call is made to H5I_search(H5I_DATATYPE) (there are always non-named datatypes)
and H5G_replace_ent is called with a search for the datatype group
ent = H5T_entof((H5T_t*)obj_ptr);

which returns a NULL ent

a tweak for this is to add
if( !ent) goto done;



Platforms tested:

windows 2000, Linux, Solaris with fortran
2002-08-30 16:59:22 -05:00
Albert Cheng
35ea1840d1 [svn-r5905] Purpose:
Bug fix
Description:
    script did not work for SP system.
Solution:
    added "eval" command to launch the mpi execution.  This works fine
    for SP and is basically a no-op for non-batch systems like workstations.
    Also got rid of the wrongle implemented TESTING message since the
    result was not printed and the tests output mess up the format already.
Platforms tested:
    SP (snow).  Did not test more since it has been tested out fine
    in the v1.4 checkin.
2002-08-28 18:10:42 -05:00
Pedro Vicente Nunes
7bff4eb559 [svn-r5904]
Purpose:
    Added 'ID to name' support
Description:

    There is a new API function H5Iget_name
    Most of the changes are on H5G.c , regarding the symbol table entry struct H5G_entry_t
    which has 2 new fields 'name' and 'old_name'

    A new private function was introduced H5G_ent_copy, that does a deep copy
    between 2 symbol table entries

    The test file is getname.c


Platforms tested:
    windows 2000, Linux, Solaris
2002-08-28 13:34:12 -05:00
MuQun Yang
fc5e3b4897 [svn-r5903]
Purpose:
update windows project files for fortran, fix bugs, including new files etc.
Description:
Solution:
Platforms tested:
windows 2000
2002-08-27 16:15:44 -05:00
Quincey Koziol
966adccc59 [svn-r5900] Purpose:
Code cleanup/New Feature

Description:
    Improve the space allocation in the file by re-using freed space more
    effectively.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/serial & parallel
2002-08-27 14:59:12 -05:00
Quincey Koziol
44f3c84cc9 [svn-r5899] Purpose:
Update release notes

Description:
    Mention new space allocation features.
2002-08-27 14:54:40 -05:00
Quincey Koziol
7ee60ff06d [svn-r5898] Purpose:
Additional test

Description:
    Add in a fill-value to one of the tests, to make certain that they are
    handled correctly.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/serial & parallel
2002-08-27 14:31:04 -05:00
Bill Wendling
dec82bd98e [svn-r5897] Purpose:
Cleaned up the documentation
Description:
    There were some small errors in the documentation in the source file.
2002-08-27 13:44:31 -05:00
Quincey Koziol
c6f898c3c7 [svn-r5896] Purpose:
Code cleanup

Description:
    Cleaned up some compiler warnings.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/serial & parallel.  Will be testing on IRIX64
    6.5 (modi4) in serial & parallel shortly.
2002-08-27 08:42:40 -05:00
Quincey Koziol
c2869d6a57 [svn-r5895] Purpose:
Code cleanup/More tests

Description:
    Cleaned up some compiler warnings and wrote additional tests for space
    allocation and storage size routines.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/serial & parallel.  Will be testing on IRIX64
    6.5 (modi4) in serial & parallel shortly.
2002-08-27 08:42:22 -05:00
Quincey Koziol
32b58cef08 [svn-r5894] Purpose:
Bug fix/Code cleanup/New Feature

Description:
    Correct problems with writing fill-values to external storage and allocate
    the data storage at the correct times.

    Also, mostly straighten out the strange code which allocates and fills
    raw data storage for datasets.  Things are still a bit odd in that the
    fill-values for chunked datasets are written when the space is allocated,
    instead of in a separate routine, but there are two reasons for this:
    it's inefficient (especially in parallel) to iterate through all the chunks
    twice, and (more importantly) the space needed to store compressed chunks
    isn't known until we've got a buffer of compressed fill-values ready to
    write to the chunk.

    Additionally, add in the H5D_SPACE_ALLOC_INCR and H5D_SPACE_ALLOC_DEFAULT
    setting for the "space time", which incorporate the previous behavior of
    the space allocation for chunked datasets.

    The default settings for the different types of dataset storage are now
    as follows:
        Contiguous - Late
        Chunked    - Incremental
        Compact    - Early

    This checkin also incorporates a change to the behavior of external data
    storage in two ways - fill-values are _never_ written to external storage
    (under the assumption that writing fill-values is triggered by allocating
    space in an HDF5 file, and since space is not allocated in the file, the
    fill-values should not be written) and external data files are now created
    if they don't exist when data is written to them.  The fill-value will
    probably need to be revisited at some time in the future, this just seemed
    like the safer course currently.

    I think I cleaned up some compiler errors also, before getting bogged down
    in the fixes for the space allocation and fill-values.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/serial & parallel.  Will be testing on IRIX64
    6.5 (modi4) in serial & parallel shortly.
2002-08-27 08:41:32 -05:00
Raymond Lu
d85657351a [svn-r5893]
Purpose:
    bug fix
Description:
    The H5Dget_storage_size test doesn't handle the situation when no
    compression is configured.
Platforms tested:
    IRIX 6.5
2002-08-26 16:01:42 -05:00
Bill Wendling
1c2937343e [svn-r5890] Purpose:
Bug Fix
Description:
    Some more naming mistakes.
Solution:
    Stopped calling it ds_start and calling the structure its real name.
Platforms tested:
    NERSC
2002-08-23 14:49:20 -05:00
Bill Wendling
c749cde426 [svn-r5889] Purpose:
Bug Fix
Description:
    Structure elements in the GPFS code weren't named correctly.
Solution:
    Changed the names to the correct values.
2002-08-23 14:36:58 -05:00
MuQun Yang
403be84e62 [svn-r5888]
Purpose:
Update windows including zlib macro updating, new source adding and some source code tuning.
Description:
Need to update fortran case later.
Solution:
Platforms tested:
windows 2000
2002-08-23 09:36:38 -05:00
Quincey Koziol
caf088c960 [svn-r5887] Purpose:
Regression test for bug fix

Description:
    Adjust selection so chunked data needs to be read from pre-allocated chunks
    w/filters, to verify that filter is applied correctly.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/parallel
2002-08-23 07:43:58 -05:00
Quincey Koziol
a2567e36f0 [svn-r5886] Purpose:
Bug fix

Description:
    Correctly apply filters (like compression) to fill values in chunks that
    are pre-allocated.

    This is OK in parallel also, since all the chunks are identical at this
    point and any chunk may be written by any process.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/parallel
2002-08-23 07:42:56 -05:00
Quincey Koziol
b7b36d7d06 [svn-r5884] Purpose:
Bug fix/Code cleanup

Description:
    Clean up memory leak in fill value code

    Also rearrange logic of code a bit

Platforms tested:
    FreeBSD 4.6 (sleipnir)
2002-08-21 07:36:18 -05:00
Raymond Lu
8bae559146 [svn-r5883]
Purpose:
    Rename variables.
Description:
    In this file, dataset address offset is misnamed as file offset.  Changed
    them back to dset_offset_XXX or dset_offset.
Platforms tested:
    eirene
2002-08-20 16:42:42 -05:00
Raymond Lu
250bbd4aba [svn-r5882]
Purpose:
    Bug fix.
Description:
    In H5D_init_storage, contiguous dataset is not initialized properly when
    fill value is library default.
Platforms tested:
    eirene
2002-08-20 16:28:31 -05:00
Albert Cheng
b35b6c0411 [svn-r5881] Purpose:
bug fix
Description:
    Last change of FUNC_ENTER to FUNC_ENTER_NOAPI did not include
    definition of variable ret_value and label done.
Solution:
    Added the missing ret_value and label done.
    Not sure if the logic is correct since the function will abort
    if some assert fails.  This fix only takes care of the syntax
    error.
Platforms tested:
    eirene(pp).  Did not test on other machine since the syntax fix
    is pretty simple.
2002-08-20 15:29:30 -05:00
Raymond Lu
204426a530 [svn-r5880]
Purpose:
    add information of compact dataset.
2002-08-20 11:25:50 -05:00
Raymond Lu
29da4951f8 [svn-r5879]
Purpose:
    Design for compact dataset
Description:
    Compact dataset is stored in the header message for dataset layout.
Platforms tested:
    arabica, eirene.
2002-08-20 11:18:02 -05:00
Albert Cheng
45a34cf267 [svn-r5878] Purpose:
fix/feature
Description:
    v1.4's configure had enable-trace default as on.  That is not right for
    production code as it increase the object code and uses up compute time.
    Changed --enable-trace default to depend on --enable-debug.  If debug is
    on, trace is on. Otherwise it is off.
    Also added the printing of CFLAGS, CPPFLAGS, and LDFLAGS in the summary.
Platforms tested:
    eirene, arabica (pp).
2002-08-19 15:28:05 -05:00
Albert Cheng
cf834c832e [svn-r5876] Change the wording of the message from "current directory" to
"current setting".
latforms tested:
    Modi4
2002-08-17 02:54:35 -05:00
Quincey Koziol
841ee1c05a [svn-r5875] Purpose:
Additional regression tests & bug fixes

Description:
    There was no testing for the H5Dget_storage_size function and it seemed to
    be having problems with compressed, chunked datasets, so write some tests
    to verify that its working correctly.

    Also, fix case for allocating storage early for chunked datasets

Platforms tested:
    FreeBSD 4.6 (sleipnir) serial & parallel
2002-08-14 09:34:01 -05:00
Quincey Koziol
c85063bfad [svn-r5872] Purpose:
Code cleanup

Description:
    Move get/set routines for each type of property list (file creation,
    dataset creation, file access and dataset transfer) into their own source
    code module.

Platforms tested:
    FreeBSD 4.6 (sleipnir)
2002-08-12 13:13:27 -05:00
Quincey Koziol
5112232ddf [svn-r5871] Purpose:
Code cleanup

Description:
    Combined H5P_isa_class and H5I_object functionality into a new internal
    H5P API function: H5P_object_verify, which checks that a property list is
    the appropriate class and then returns the property list object associated
    with the property list ID.

    This reduces the source code by about 200 LOC and trims the library binary
    some more.

Platforms tested:
    FreeBSD 4.6 (sleipnir)
2002-08-12 08:33:42 -05:00
HDF Admin
694e9bb380 [svn-r5869] Snapshot version 1.5 release 33 2002-08-10 03:41:20 -05:00
Quincey Koziol
aae989869c [svn-r5868] Purpose:
Code cleanup

Description:
    Cleanup up a few compiler warnings...

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-08-09 16:55:44 -05:00
Quincey Koziol
8f7425d2a2 [svn-r5867] Purpose:
Code cleanup

Description:
    Changed the last HRETURN* statements in the FUNC_ENTER macros into HGOTO*
    macros, which reduces the size of the library binary in certain
    configurations by another 10%

Platforms tested:
    FreeBSD 4.6 (sleipnir) serial & parallel, IRIX64 6.5 (modi4) serial &
    parallel
2002-08-09 15:48:23 -05:00
Quincey Koziol
d48558126d [svn-r5866] Purpose:
Code cleanup

Description:
    Cleaned up a few warnings from compiling with --disable-hsizet on Linux

Platforms tested:
    Linux 2.2.x (eirene)
2002-08-09 15:23:28 -05:00
Quincey Koziol
a7028fb006 [svn-r5865] Purpose:
Bug fix

Description:
    hsize_t comparisons for selection boundaries (in H5Sget_select_bounds)
    were failing on Linux with --disable-hsizet.

Solution:
    Changed comparisons to use use unsigned values instead of signed ones.

Platforms tested:
    Linux 2.2.x (eirene)
2002-08-09 10:39:28 -05:00
Robb Matzke
71d795f3ef [svn-r5864] ./hdf5-devel/src/H5private.h
Purpose:
    Merged from 1.4 branch
Description:
    API tracing improvements
Platforms tested:
    Linux (--disable-hsizet didn't work before my changes and still doesn't
    work, but --enable-hsizet is fine).



Note: This checkin includes temporary code in H5FDmpiposix.c to turn
off GPFS byte range token prefetches on ASCI/Blue.  Once the HDF5 API
supports the necessary prerequisite functionality this temporary code
can be migraged up above HDF5.
2002-08-09 09:55:53 -05:00
Robb Matzke
90db3412d4 [svn-r5863] ./hdf5-devel/src/H5T.c
Purpose:
    Merged from 1.4 branch
Description:
    API tracing improvements
Platforms tested:
    Linux (--disable-hsizet didn't work before my changes and still doesn't
    work, but --enable-hsizet is fine).



Note: This checkin includes temporary code in H5FDmpiposix.c to turn
off GPFS byte range token prefetches on ASCI/Blue.  Once the HDF5 API
supports the necessary prerequisite functionality this temporary code
can be migraged up above HDF5.
2002-08-09 09:55:41 -05:00
Robb Matzke
77bc29e89e [svn-r5862] ./hdf5-devel/src/H5O.c
Purpose:
    Merged from 1.4 branch
Description:
    API tracing improvements
Platforms tested:
    Linux (--disable-hsizet didn't work before my changes and still doesn't
    work, but --enable-hsizet is fine).



Note: This checkin includes temporary code in H5FDmpiposix.c to turn
off GPFS byte range token prefetches on ASCI/Blue.  Once the HDF5 API
supports the necessary prerequisite functionality this temporary code
can be migraged up above HDF5.
2002-08-09 09:55:38 -05:00
Robb Matzke
20f5e2cc1b [svn-r5861] ./hdf5-devel/src/H5FDmpiposix.c
Purpose:
    Merged from 1.4 branch
Description:
    API tracing improvements
Platforms tested:
    Linux (--disable-hsizet didn't work before my changes and still doesn't
    work, but --enable-hsizet is fine).



Note: This checkin includes temporary code in H5FDmpiposix.c to turn
off GPFS byte range token prefetches on ASCI/Blue.  Once the HDF5 API
supports the necessary prerequisite functionality this temporary code
can be migraged up above HDF5.
2002-08-09 09:55:36 -05:00
Robb Matzke
f72170ddf7 [svn-r5860] ./hdf5-devel/src/H5.c
Purpose:
    Merged from 1.4 branch
Description:
    API tracing improvements
Platforms tested:
    Linux (--disable-hsizet didn't work before my changes and still doesn't
    work, but --enable-hsizet is fine).



Note: This checkin includes temporary code in H5FDmpiposix.c to turn
off GPFS byte range token prefetches on ASCI/Blue.  Once the HDF5 API
supports the necessary prerequisite functionality this temporary code
can be migraged up above HDF5.
2002-08-09 09:55:34 -05:00
Robb Matzke
b3adb1eb3e [svn-r5859] ./hdf5-devel/release_docs/RELEASE.txt
Purpose:
    Merged from 1.4 branch
Description:
    API tracing improvements
Platforms tested:
    Linux (--disable-hsizet didn't work before my changes and still doesn't
    work, but --enable-hsizet is fine).



Note: This checkin includes temporary code in H5FDmpiposix.c to turn
off GPFS byte range token prefetches on ASCI/Blue.  Once the HDF5 API
supports the necessary prerequisite functionality this temporary code
can be migraged up above HDF5.
2002-08-09 09:55:31 -05:00
Bill Wendling
573675e071 [svn-r5844] Purpose:
Small Coding Change
Description:
    Zeroed out the MPI_Status structure in one of our tests to determine
    if MPI_Get_count() works on the machine or not. This is similar to
    what we do in the library code to the status...
2002-08-08 15:39:02 -05:00
Quincey Koziol
6680e94aeb [svn-r5843] Purpose:
Code cleanup

Description:
    Clean up a few warnings which were showing up with --enable-production
    turned on.

Platforms tested:
    FreeBSD 4.6 (sleipnir) serial & parallel
2002-08-08 12:52:17 -05:00
Quincey Koziol
d8397a6f42 [svn-r5842] Purpose:
Code cleanup

Description:
    Change most (all?) HRETURN_ERROR macros to HGOTO_ERROR macros, along with
    HRETURN macros to HGOTO_DONE macros.  This unifies the error return path
    from functions and reduces the size of the library by up to 10% on some
    platforms.

    Additionally, I improved a lot of the error cleanup code in many routines.

Platforms tested:
    FreeBSD 4.6 (sleipnir) serial & parallel and IRIX64 6.5 (modi4) serial &
    parallel.
2002-08-08 11:52:55 -05:00
HDF Admin
573307786a [svn-r5841] Snapshot version 1.5 release 32 2002-08-03 11:17:14 -05:00
Quincey Koziol
5588db111c [svn-r5840] Purpose:
Code cleanup

Description:
    Created a new H5I function which combined the some of the functionality of
    H5I_get_type and H5I_object: H5I_object_verify.

    Using this new function in the library trims another ~200 lines of code off
    the library and makes the resulting binaries smaller and faster also.

Platforms tested:
    FreeBSD 4.6 (sleipnir)
2002-07-31 14:17:12 -05:00
Quincey Koziol
17275779d0 [svn-r5839] Purpose:
Code cleanup

Description:
    Move operations on each type of selection into the source code file for
    each selection type (all->H5Sall.c, hyperslab->H5Shyper.c, etc.)

    Remove central H5S_select_<foo> operations, instead calling the operations
    through function pointers in each selection (a much more object-oriented
    approach).

Platforms tested:
    FreeBSD 4.6 (sleipnir)
2002-07-31 10:27:07 -05:00
MuQun Yang
79b2b5a321 [svn-r5838]
Purpose:
update windows support.
Description:
1. Since we don't support w98 anymore, delete the description about w98.
Actually DLL may work on w98.
2. Release dll work for new HDF5 release.
Solution:
Platforms tested:
2002-07-25 11:03:37 -05:00