Commit Graph

6478 Commits

Author SHA1 Message Date
Albert Cheng
535c97a581 [svn-r9425] Purpose:
Bug fix

Description:
Removed the cache values of sizeof signed and unsigned int_fast8_t
and int_fast16_t since the vendor changes them often.

Platforms tested:
Tested in Copper only since it affected it only.

Misc. update:
2004-10-14 16:23:39 -05:00
Leon Arber
841a072c93 [svn-r9423] Purpose:
Description:
Make the test check transforms on all types, and expanded testing for unsigned types.

Solution:

Platforms tested:
sol + eirene
2004-10-14 14:56:27 -05:00
Leon Arber
f86b69ffb3 [svn-r9422] Purpose:
Description:
Code optimization and refactoring.
Added support for llong, ullong, and ldouble

Solution:
Significantly cut down on the amount of code required to do the transform,
while making the operations more efficient.

Platforms tested:
sol + eirene
2004-10-14 14:55:29 -05:00
Albert Cheng
a7073e240e [svn-r9420] Bug fix.
tconfig.c:
    Verified only the unsigned int types and did not detect inconsistencies
    on signed type such as int_fast16_t.
    Changed code to verify both signed and unsigned int types wherever
    applicable.  It also depends on signed and unsigned forms of an
    int type must be of the same sizes.

testhdf5.c:
    Shorten the configure test name to 'config'--easier to type.

Tested on LLNL Frost and Snow.  Will test in Copper after commit.
2004-10-14 14:12:44 -05:00
Albert Cheng
7d1bf17b3d [svn-r9419] Bug fix.
tconfig.c:
    Verified only the unsigned int types and did not detect inconsistencies
    on signed type such as int_fast16_t.
    Changed code to verify both signed and unsigned int types wherever
    applicable.  It also depends on signed and unsigned forms of an
    int type must be of the same sizes.

testhdf5.c:
    Shorten the configure test name to 'config'--easier to type.

Tested on LLNL Frost and Snow.  Will test in Copper after commit.
2004-10-14 14:12:44 -05:00
Albert Cheng
087da3d5c9 [svn-r9418] Bug fix (bug 205).
The script does not use $RUNSERIAL to execute programs.
This failed badly in parallel systems like Tflops.

Patched $RUNSERIAL in to make it work.

Tested in tflops only.
2004-10-13 23:18:11 -05:00
Quincey Koziol
f102816b0f [svn-r9413] Purpose:
Code cleanup

Description:
    Fix a couple of return values from NULL -> FAIL.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-10-12 15:59:32 -05:00
Quincey Koziol
e74b160268 [svn-r9412] Purpose:
Bug fix

Description:
    When mpicc/mpif90 is a wrapper around a PGI compiler, turn on less
agressive optimization options to avoid testing errors.

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-10-12 15:54:25 -05:00
Quincey Koziol
75c31b8c26 [svn-r9411] Purpose:
Bug fix

Description:
    When mpicc/mpif90 is a wrapper around a PGI compiler, turn on less
agressive optimization options to avoid testing errors.

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-10-12 15:54:23 -05:00
Quincey Koziol
d86b3c0205 [svn-r9410] Purpose:
Code cleanup

Description:
    Update FORTRAN configuration test code to be more syntacticly correct
and not generate errors with stricter standards checking in the compiler.

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-10-12 15:49:28 -05:00
Quincey Koziol
86d0132279 [svn-r9407] Purpose:
Code cleanup/bug fix

Description:
    Remove the undocumented "$NOFP" shell variable which would allow production
builds without removing the stack frame.  This was cascading between C and
FORTRAN builds and causing problems.

Solution:
    Hard-code removing the stack frame for now.  Users would have needed to
read the configure scripts anyway, so there's not really much benefit to the
extra knob.  Users who need this functionality (production builds with stack
frames) are debugging probably, so they will need to modify the script and
build their own version of the library now.

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-10-12 11:11:27 -05:00
Quincey Koziol
3b057e2f23 [svn-r9405] Purpose:
Bug fix

Description:
    Correct/update detection of Linux platforms.

    Also, refactor common code out of different architectures for Linux builds.

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5commitest
2004-10-12 11:05:31 -05:00
Quincey Koziol
6af5973295 [svn-r9404] Purpose:
Code cleanup

Description:
    Default to using mpif90 if CC=mpicc and --enable-fortran flag is given,
but no F9X compiler is set.

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-10-12 11:04:14 -05:00
Quincey Koziol
ba39f35a63 [svn-r9400] Purpose:
Code cleanup

Description:
    Minor code cleanups and tweaks.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Linux 2.4 (verbena) w/fortran
    Otherwise, too minor to require full h5committest
2004-10-11 21:11:36 -05:00
Frank Baker
f19ed8390b [svn-r9399] Purpose:
Copy edits, primarily to correct several spelling errors.
Platforms tested:
    Mozilla
2004-10-11 16:24:33 -05:00
Quincey Koziol
e1c1f5cc15 [svn-r9395] Purpose:
Bug fix

Description:
    Correct a couple of array bounds issues exposed by the PGI compiler

Platforms tested:
    Linux 2.4 (verbena) w/PGI compilers
    Too minor too requie h5committest
2004-10-10 14:22:03 -05:00
Quincey Koziol
166580844b [svn-r9393] Purpose:
Code cleanup

Description:
    Clean up formatting and some mis-casts, etc.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Linux 2.4 (verbena)
    Solaris 2.7 (arabica)
2004-10-08 23:28:33 -05:00
Quincey Koziol
68732f591f [svn-r9390] Purpose:
Bug fix

Description:
    Tweak PGI compiler auto-detection to work for version 5.0 compilers as
well as version 5.2 compilers.

Platforms tested:
    Linux 2.4 (verbena) w/PGI compilers
    Not tested with rest of h5committest platforms
2004-10-08 21:58:16 -05:00
Quincey Koziol
a3db31b7ef [svn-r9389] Purpose:
Regenerate

Description:
    Regenerate with autoconf 2.53 (not [easily] available on tungsten)

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-10-08 21:47:06 -05:00
Quincey Koziol
951d6d826a [svn-r9385] *** empty log message *** 2004-10-08 21:39:07 -05:00
Quincey Koziol
bf4f24a497 [svn-r9384] Purpose:
Refactor and update fortran configuration

Description:
    Changed configure.in to include the production, debugging and profiling
flags for FORTRAN in the command line.

    Added '-flags' files for PGI and Intel C compilers

    Added '-fflags' files for PGI and Intel FORTRAN compilers

    Updated 'gnu-flags' file for GNU C compiler to not modify compiler flags
when gcc is not being used.

    Make detection of the correct FORTRAN compiler a bit smarter for Linux
platforms.  (And carried over some of the minor changes to other affected
machines)

Platforms tested:
    Linux 2.4 (tungsten) w/PGI and Intel C & FORTRAN compilers.
    Changes not tested by h5committest
2004-10-08 21:38:50 -05:00
Quincey Koziol
a25cc355a3 [svn-r9382] *** empty log message *** 2004-10-08 13:41:44 -05:00
Xuan Bai
5489fe8ca0 [svn-r9379] Purpose:
Update and bug fix.

Description:
Update Windows projects setting as new source code was added.
Fix a bug in hdf5build.bat file.

Solution:
1. Add hdf5/tools/lib/h5tools_type.c into toolslib and toolslibD projects.
2. There was a minor bug with hdf5build.bat file when it is used to build C library only.  Remove redundant scripts in the batch file.

Platforms tested:
Visual C++ 6.0 on Windows XP and 2000.

Misc. update:
2004-10-06 16:29:21 -05:00
Quincey Koziol
458576c826 [svn-r9375] Purpose:
Bug fix

Description:
    Close a couple of memory leaks

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Solaris 2.7 (arabica) w/purify
    Linux 2.4 (verbena)
    too minor for h5committest
2004-10-06 11:35:18 -05:00
Quincey Koziol
01dbfdefb2 [svn-r9373] Purpose:
Update manifest with new file.
2004-10-06 11:13:26 -05:00
Quincey Koziol
defe612ab2 [svn-r9370] Purpose:
Refactor code

Description:
    Refactor common code for determining the native type for using in the
tools into separate routine.

    Also, reduce diffs between the two branches and bring back some fixes from
the development branch to the release branch.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    too minor to require h5committest
2004-10-06 11:11:18 -05:00
Leon Arber
5d9f7ebd4c [svn-r9369] Purpose:
Added tests for most of the types that were added to the data transform code.

Further tests will also be added shortly.


Platforms tested:
sol + eirene

Misc. update:
2004-10-05 17:44:17 -05:00
Leon Arber
aa67cc1c25 [svn-r9368] Purpose:
Rewrote H5Z_xform_eval_full such that it no longer "returns an aggregate"

Added support for CHAR, LONG, ULONG, DOUBLE, SHORT, USHORT, UCHAR, SCHAR, and
UINT to the data transform.  Support for LLONG and ULLONG to be added shortly.

Description:

Data transforms can now operate on arrays with the native types listed above.

Platforms tested:
sol + eirene

Misc. update:
2004-10-05 17:43:14 -05:00
Raymond Lu
d595bab80e [svn-r9366]
Purpose:  feature change

Description:  Prevent creating datatype of size 0.


Platforms tested:  fuss(simple change)
2004-10-05 13:36:03 -05:00
Raymond Lu
7ba45c05b3 [svn-r9364]
Purpose:  change feature

Description:  Back up support bitfield and time datatypes in H5Tget_native_type.Leave it to future support.  Let it return "not supported" error message for
now.


Platforms tested:  h5committest and fuss.

Misc. update:  RELEASE.txt
2004-10-05 09:31:14 -05:00
Xuan Bai
71737e02ec [svn-r9362] Purpose:
Update hdf5build.bat file.

Description:
Previouly, when building HDF5 from command line, hdf5 and hdf5dll projects were built three times to build HDF5 C/C++/Fortran libraries.  There was due that the "Rebuild" option was used with msdev.exe.  It is kind of wasting to build hdf5 and hdf5dll projects three time.

Solution:
The batch file is reorganized.  So hdf5 and hdf5dll projects will be only be built once.
Also, the syntax detecting feature is added to the batch file.  Now if an unexpected option was given to the batch file, a warning message and the help messages would be shown.

Platforms tested:
Visual C++ 6.0 on Windows 2000 and XP.

Misc. update:
2004-10-04 23:51:59 -05:00
Xuan Bai
8cdfe63e4d [svn-r9360] Purpose:
Update.

Description:
H5DSeq.c was removed from hdf5/src, and H5Defl.c, H5Dselect were added to hdf5/src.  So the related windows projects need to be updated.

Solution:
1. Removed H4DSeq.c from hdf5 and hdf5dll projects.
2. Added H5Defl.c and H5Dselect.c to hdf5 and hdf5dll projects.

Platforms tested:
Visual C++ 6.0 on Windows 2000 and XP.

Misc. update:
2004-10-04 20:19:43 -05:00
Quincey Koziol
74a448d084 [svn-r9358] Purpose:
Bug fix

Description:
    Relax restrictions on parallel I/O to allow compressed, chunked datasets
to be read in parallel (collective access will be degraded to independent
access, but will retrieve the information still).

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    IRIX64 6.5 (modi4)
    h5committest
2004-10-04 15:29:31 -05:00
HDF Admin
e2f3ab0ab0 [svn-r9357] Snapshot version 1.7 release 39 2004-10-03 04:03:09 -05:00
Quincey Koziol
7af838b69c [svn-r9354] Purpose:
Bug fix & code cleanup

Description:
    More dataset cleanups to get to a point where we can fix the chunked I/O
bug.

    Also fix a couple of errors in the recent file object resurrection changes
which should hopefully address the recent daily test failres (H5T.c)

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    h5committest
2004-10-01 18:00:42 -05:00
Xuan Bai
275da582cf [svn-r9352] Purpose:
Bug Fix.

Description:
Fix bugs in installhdf5lib.bat batch file as described below:
previously, h5diff.exe, h5diffdll.exe, h5repack.exe, and h5repackdll.exe were not installed into hdf5lib directory.

Solution:
Add scripts to copy the above 4 files into corresponding directories under hdf5lib.

Platforms tested:
Windows XP.

Misc. update:
2004-10-01 15:10:49 -05:00
Raymond Lu
753190f8c1 [svn-r9350] *** empty log message *** 2004-10-01 13:28:18 -05:00
Raymond Lu
5b1292e39b [svn-r9349] Purpose: New feature enhancement
Description:  enable size adjustment for compound datatype.  The size
can be increased and decreased(as long as the last member isn't cut).

Solution:  mainly check if the last member is being cut when decreasing
the size.  Others are simply taking out assertion to enable this feature.

Platforms tested:  h5committest and fuss.

Misc. update:  RELEASE.txt
2004-10-01 13:27:06 -05:00
Frank Baker
bb24f1844e [svn-r9348]
Purpose:
    This version updates the procedure for creating PDF versions of
    HDF5 documents to reflect the use of Macromedia DreamWeaver and
    HTMLdoc.  process.txt describes the current RM process in detail;
    the very similar UG process will be described later.
2004-09-30 14:04:06 -05:00
Frank Baker
dcbf89a021 [svn-r9347] Purpose:
Adding hdf5/doc/html/PSandPDF/process.txt.
2004-09-30 13:19:05 -05:00
Frank Baker
1c48b85659 [svn-r9346]
Purpose:
    This file describes the process for creating the PDF versions of
    HDF5 documents.  The file being checked in now is the original
    version (November 1999) from when hte process used MS Word.
Platforms tested:
    This process was tested by using it to guide the production process
    for at least 2 releases.
2004-09-30 13:16:49 -05:00
Quincey Koziol
d867083018 [svn-r9344] Purpose:
Update manifest list.
2004-09-30 08:40:20 -05:00
Quincey Koziol
7d457ba693 [svn-r9342] Purpose:
Bug fix/code cleanup

Description:
    Clean up raw data I/O code to bundle the I/O parameters (dataset, DXPL ID,
etc) into a single struct to pass around through the dataset I/O routines,
since they are always passed together, until very near the bottom of the I/O
stack.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    IRIX64 6.5 (modi4)
    h5committest
2004-09-29 22:46:58 -05:00
Albert Cheng
e0c4a752e6 [svn-r9340] Purpose:
Bug fix.

Description:
There was a historical hack to prevent runtest in multiple
hosts to run cvs update while they were launched by the daily test.
But a more proper fix has been implemented to prevent that but
this hack was not removed.  It ended up enforcing one CVS update
per day.  But if someone tested runtest during the day, it would
prevent the evening daily from doing update.  That is not good.

Solution:
Removed the hack which is not need any more.

Platforms tested:
NO h5committest since it does test runtest.  Tested it by
hand in eirene and heping.

Misc. update:
2004-09-29 14:18:49 -05:00
Quincey Koziol
d0abb4a760 [svn-r9333] Purpose:
Bug fix

Description:
    Fix another couple of int <-> pointer checks.

Platforms tested:
    AIX 5.1 (copper)
    Too minor to require h5committest
2004-09-28 14:54:12 -05:00
Quincey Koziol
2dab610c43 [svn-r9332] Purpose:
Bug fix

Description:
    Correct assertion to check pointer value correctly.

Platforms tested:
    AIX 5.1 (copper)
    too minor to require h5committest
2004-09-28 14:45:28 -05:00
Quincey Koziol
85597e5cc7 [svn-r9330] Purpose:
Bug fix

Description:
    Another attempt to fix the address overflow in the core VFL, hopefully one
that works on 64-bit platforms.

Platforms tested:
    AIX 5.1 (copper)
2004-09-28 14:07:01 -05:00
James Laird
5c0011a713 [svn-r9329]
Purpose:
Feature

Description:
Datatypes and groups now use H5FO "file object" code that was previously
only used by datasets.  These objects will hold a file open if the file
is closed but they have not yet been closed.  If these objects are unlinked
then relinked, they will not be destroyed.  If they are opened twice (even
by two different names), both IDs will "see" changes made to the object
using the other ID.
When an object is opened using two different names (e.g., if a dataset was
opened under one name, then mounted and opened under its new name), calling
H5Iget_name() on a given hid_t will return the name used to open that hid_t,
not the current name of the object (this is a feature, and a change from the
previous behavior of datasets).

Solution:
Used H5FO code that was already in place for datasets.  Broke H5D_t's, H5T_t's,
and H5G_t's into a "shared" struct and a private struct.  The shared structs
(H5D_shared_t, etc.) hold the object's information and are used by all IDs
that point to a given object in the file.  The private structs are pointed
to by the hid_t and contain the object's group entry information (including its
name) and a pointer to the shared struct for that object.
This changed the naming of structs throughout the library (e.g., datatype->size
is now datatype->shared->size).  I added an updated H5Tinit.c to windows.zip.

Platforms tested:
Visual Studio 7, sleipnir, arabica, verbena

Misc. update:
2004-09-28 14:04:19 -05:00
Quincey Koziol
a841ea3529 [svn-r9327] Purpose:
Bug fix.

Description:
    Fix off-by-one error in Core VFL driver which would cause spurious address
or size overflow errors when an odd valued address or size was checked.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Linux 2.4 (heping)
    Solaris 2.7 (arabica)
2004-09-27 23:34:38 -05:00
Xuan Bai
97dbe75dc1 [svn-r9324] Purpose:
Update.

Description:
Update installhdf5lib.bat batch file.  Cleaned two redundant scripts in the batch file.

Solution:
Clean script.

Platforms tested:
Windows XP.

Misc. update:
2004-09-27 14:17:13 -05:00