Commit Graph

3919 Commits

Author SHA1 Message Date
Raymond Lu
2d2e785e2d [svn-r5293]
Purpose:
    Bug Fix
Description:
    Using "grp1", "grp2" variable names conflicts Windows' internal variable
    definition.
Solution:
    Rename them.
Platforms tested:
    Linux 2.2
2002-04-30 12:09:35 -05:00
Dan Wells
e91c406e06 [svn-r5291]
Purpose:
    bug fix
Description:
    Had an #ifdef HAVE_XXX in the header file HDFIOTrace.h
Solution:
    Changed the condition to H5_HAVE_XXX
Platforms tested:
    Origin 2000 64 bit
2002-04-30 10:23:11 -05:00
Quincey Koziol
05e8b74a20 [svn-r5290] Purpose:
Bug Fix

Description:
    Corrected int vs. unsigned short error that only showed up on big-endian
    machines.

    Also, add more testing to verify that the coordinates reported for each
    element iterated through with H5Diterate are correct.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-30 09:46:18 -05:00
Quincey Koziol
fb6a11c014 [svn-r5289] Purpose:
Bug Fix

Description:
    Correct coordinates were not computed for iteration through irregular
    hyperslab selection (although the points in the buffer that were selected
    were correct).

Solution:
    Add another array to track selection offset adjusted coordinates in the
    selection.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-30 09:44:46 -05:00
Quincey Koziol
a88d81f4ba [svn-r5286] Purpose:
Bug Fix

Description:
    Selection offsets were not being used correctly when iterating through
    all hyperslabs selections and point selections.

Solution:
    Use the selection offset appropriately.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-29 15:27:31 -05:00
Bill Wendling
03a08823e7 [svn-r5281] Purpose:
Update
Description:
    Changed the description of the help message so that the --hdf5,
    --mpio, --raw flags better say what they do.
Platforms tested:
    Linux
2002-04-29 12:25:32 -05:00
Bill Wendling
7065ac7982 [svn-r5280] Purpose:
Update
Description:
    Changed so that the Fortran and C++ configures are named "HDF5
    Fortran" and "HDF5 C++" resp. instead of just "HDF5.
Solution:
    Add an extra parameter to the subroutine which generates the new
    configure.in files.
Platforms tested:
    Linux
2002-04-29 12:24:50 -05:00
Albert Cheng
73683e4380 [svn-r5278] Purpose:
Migrate from configure macros of XYZ_ABC to H5_XYZ_ABC
Description:
    configure generates many macros definitions on the fly and
    were stored in src/H5config.h which is included by H5public.h.
    But other software that uses hdf5 may also run their own configure.
    There can be a clash in macro name space.  We decided awhile ago
    to prepend all generated macros with "H5_" to avoid conflicts.
    The process has started and this commit completes it (at least attempt
    to).
Solution:
    Many macros symbols (e.g. SIZEOF_xxx and HAVE_xxx were changed to
    H5_SIZEOF_xxx and H5_HAVE_xxx).  Then H5private.h no longer includes
    H5config.h.  This cuts H5config.h away from HDF5 source code.
Pending issues:
    The module of fortran and pablo are to be resolved in a different
    commit.
Platforms tested:
    eirene (parallel), arabica (solaris 7 --enable-fortran, --enable-cxx)
2002-04-28 03:34:17 -05:00
HDF Admin
eb09629a45 [svn-r5275] Snapshot version 1.5 release 27 2002-04-27 04:30:52 -05:00
Raymond Lu
94f11385a6 [svn-r5273]
Purpose:
    New feature
Description:
    Allow H5Glink and H5Gmove to handle links across different locations.
Solution:
    Added H5Glink2 and H5Gmove2 functions with new parameter of destination
    location.
Platforms tested:
    Linux 2.2(eirene)
2002-04-26 15:34:46 -05:00
Quincey Koziol
124979bfc2 [svn-r5272] Purpose:
Bug fix

Description:
    Move iterator initialization in H5D_read & H5D_write before any errors can
    occur.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-26 10:44:08 -05:00
Quincey Koziol
80043b04c0 [svn-r5271] Purpose:
Bug Fix.

Description:
    When the fill value for a dataset is not set, the size is set to zero,
    causing problems with filling unused areas in previously defined chunks
    (i.e. when the dataset shrinks in size)

Solution:
    Use the size of the elements in the dataset directly, instead of relying on
    the size of the fill value (which must be the same size).

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-26 07:38:50 -05:00
Binh-Minh Ribler
bb07809e41 [svn-r5270] Purpose: bug fix
Description:
    The default constructor of H5File was missing.  It's now added.

Platforms:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
    IRIX 6.5.11 (modi4)
2002-04-26 07:09:17 -05:00
Elena Pourmal
7ab650be9f [svn-r5269]
Purpose:
    Maintenance
Description:
    Changed code to use H5_HAVE_MPI_MULTI_LANG_* definitions and
    H5pubconf_fortran.h include file.
Solution:
Platforms tested:
    Let's daily tests do this work. I have to leave now.
2002-04-25 18:06:16 -05:00
Bill Wendling
68537be4ff [svn-r5268] Purpose:
Update
Description:
    Added h5pubconf_fortran.h as a public  header file for the Fortran
    wrappers...
Platforms tested:
    Linux
2002-04-25 17:51:50 -05:00
Bill Wendling
8146d97138 [svn-r5267] Purpose:
Update
Description:
    Added a conversion of the H5config_fortran.h file to
    H5pubconf_fortran.h so as to keep with the HDF5 format of using H5_
    as a prefix for HAVE_* macros.
Platforms tested:
    Linux
2002-04-25 17:44:07 -05:00
Bill Wendling
43d1e71c2b [svn-r5266] Purpose:
Update
Description:
    Updated the h5vers script to automatically update the configure.in
    files so that they reflect the correct version in the AC_INIT line.
Platforms tested:
    Linux
2002-04-25 17:37:24 -05:00
Elena Pourmal
c543c53a0d [svn-r5263]
Purpose:
    Bug fix
Description:
    For some unknown to myself reason I used 32-bit integer for INTEGER(HSIZE_T)
    on Solaris platforms when 64-bit integers are available for both C and Fortran.
Solution:
    Use long long type to describe h(s)size_t_f types
Platforms tested:
    Solaris 2.7 ans 2.6
2002-04-25 14:49:51 -05:00
Elena Pourmal
8ae9564dcc [svn-r5262]
Purpose:
    Bug fix
Description:
    For some unknown to myself reason I used 32-bit integer for INTEGER(HSIZE_T)
    on Solaris platforms when 64-bit integers are available for both C and Fortran.
Solution:
    Use the proper KIND argument to define INTEGER(HSIZE_T)
Platforms tested:
    Solaris 2.7 ans 2.6
2002-04-25 14:48:53 -05:00
Quincey Koziol
53d0c6b050 [svn-r5261] Purpose:
Code cleanup

Description:
    Remove more debugging printf's that were ifdef'd out.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-25 13:29:27 -05:00
Quincey Koziol
fd6731e7cd [svn-r5260] Purpose:
Code cleanup

Description:
    Previously, the I/O pipeline (pline), external file list (efl) and fill-
    value (fill) structs were passed down the raw data function call chain,
    even into and/or through functions which didn't use them.  Since all three
    of these pieces of information are available from the dataset creation
    property list, just pass the dataset creation property list down the
    function call chain and query for the information needed in a particular
    function.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-25 13:02:17 -05:00
Quincey Koziol
d33f7d93a3 [svn-r5259] Purpose:
Code cleanup

Description:
    Previously, the I/O pipeline (pline), external file list (efl) and fill-
    value (fill) structs were passed down the raw data function call chain,
    even into and/or through functions which didn't use them.  Since all three
    of these pieces of information are available from the dataset creation
    property list, just pass the dataset creation property list down the
    function call chain and query for the information needed in a particular
    function.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-25 12:56:56 -05:00
Albert Cheng
112fb8d45c [svn-r5257] Purpose:
Bug fix
Description:
    $(LT_RUN) was used to execute ./H5detect in src/Makefile.in.
    $RUNTEST was set to $(LT_RUN) which was used to execute sequential
    executable.  $(LT_RUN) is "../libtool --mode=execute".  But libtool
    invokes some commands that are not supported in the Tflops machine.
    That caused failures during the build and check processes.
Solution:
    Upon investigation, there does not seem to be need to use $(LT_RUN)
    any more.  The "libtool --mode=link" now generates a "fake" executable
    that is actually a command-script file that can regenerate the real
    executable with dynamic libraries hooks setup properly.
    Undo all those $LT_RUN substitute and let $RUNSERIAL execute those
    sequential executables.
Platforms tested:
    Eirene(serial), modi4(parallel)
2002-04-25 09:48:52 -05:00
Quincey Koziol
5c6f86d9aa [svn-r5255] Purpose:
Code cleanup

Description:
    Reduce gratuitous differences between H5D_write and H5D_read and also
    remove distracting debugging printf's that were ifdef'd out.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-25 08:52:03 -05:00
Quincey Koziol
58b570935b [svn-r5254] Purpose:
Code tweak.

Description:
    Allow the 'fill' parameter of H5S_select_fill to be NULL and allocate a
    temporary buffer for it, if so.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-25 08:15:22 -05:00
Bill Wendling
34fd49d1e4 [svn-r5252] Purpose:
Update
Description:
    Updated ltmain.sh with the newest version from the 1.4.2 libtool. The
    one I updated with earlier still had a few bugs in it, for some
    reason. I got rid of the RPM version on my machine and used the
    compiled source instead.
Platforms tested:
    Linux
2002-04-25 00:36:03 -05:00
Bill Wendling
033c659312 [svn-r5248] Purpose:
Update
Description:
    Remove the H5config_fortran.h file when doing a "make distclean" and
    the like.
Platforms tested:
    HP_UX
2002-04-24 14:28:04 -05:00
Bill Wendling
3edcb9032b [svn-r5246] Purpose:
Bug Fix
Description:
    On some platforms, mktemp doesn't work. This would wipe out the
    tmpdir variable's value.
Solution:
    Reinitialize tmpdir in these cases.
Platforms tested:
    HP-UX
2002-04-24 14:21:22 -05:00
MuQun Yang
1da400ea6b [svn-r5245]
Purpose:
    windows support of socket function
Description:
     gethostname is treated as socket function in windows and
     it is defined at winsock.h.
     for every windows socket function to be called, it must start
    with WSAStartup and end with WSACleanup
Solution:
     Add WSAstartup and WSACleanup with WIN32 macro.
Platforms tested:
windows 2000, confirmed at linux 2.2.18
2002-04-24 09:58:26 -05:00
MuQun Yang
6030317e1e [svn-r5244]
Purpose:
     update macro HDstat
Description:
    The original defination of HDstat only defines HDstat as stat.
    the file size defined at struct stat is int32,
    However for files greater than 4G(or 2G)file, lookup of file size will
    fail on windows when using stat. Add a macro for windows,define HDstat
    as istat64.
    This fix is the same as HDfstat macro.
Solution:
Platforms tested:
linux 2.2.18
2002-04-24 09:52:36 -05:00
Elena Pourmal
da58f157dd [svn-r5243]
Purpose:
    Bug fix
Description:
    Different MPI implementations use different ways to
    pass MPI objects between C and Fortran layers. MPI-2 defines
    a standard set of MPI_*_c2f(f2c) functions for this purpose.
    Unfortunately it is not implemented everywhere and makes
    code non-portable between different parallel platforms.
Solution:
    Always use MPI_*c2f(f2c) functions in our code. Configure
    finds out if those functions are available. If not, then we define
    macros to immulate those functions.
Platforms tested:
    IRIX64-6.5 (modi4) and SP3 (seaborg.nersc.gov). On those platforms
    functions do not exist and we use macros. Bill will test on
    HPUX System V (SDSC machine) to check if this works when functions
    are defined. Preliminary testing showed that it worked.
2002-04-23 18:52:42 -05:00
MuQun Yang
09f8556098 [svn-r5242]
Purpose:
    update H5pubconf.h
Description:

Solution:
     somehow ilne feed format of H5config.h is messed up.
    corrected.

Platforms tested:
check with eyes
2002-04-23 17:20:50 -05:00
Bill Wendling
b5c1eb3a61 [svn-r5241] Purpose:
Fix
Description:
    When doing a TRY_LINK, the compiler complained about lack of
    parameters being passed to the function.
Solution:
    Added the parameter it wants...
2002-04-23 17:16:47 -05:00
Bill Wendling
835a51fd9d [svn-r5240] Purpose:
Cleanup
Solution:
    An even better way of using the AC_TRY_LINK macro...
2002-04-23 17:05:27 -05:00
Bill Wendling
6b4bfb60db [svn-r5239] Purpose:
Fix
Description:
    Needed to test if the test programs LINK not just COMPILE...
Solution:
    Changed the macro from COMPILE to LINK.
2002-04-23 17:02:46 -05:00
MuQun Yang
f1fca69547 [svn-r5238]
Purpose:
    update H5config.h at *.zip files
Description:
    somehow ilne feed format of H5config.h is messed up.
    corrected.
Platforms tested:
   win2000
2002-04-23 16:57:27 -05:00
Albert Cheng
95d86b38c5 [svn-r5237] Purpose:
Updated the installation instruction for the Tflops machine.
    Moved the parallel HDF5 building instructions to the front
    and putting in a NOTE that the sequential version is not supported
    any more because it has little practical value to build sequential
    applications for the Tflops machine.
2002-04-23 16:54:57 -05:00
Bill Wendling
24edaaf9f0 [svn-r5235] Purpose:
Update
Description:
    Updated the way we used the AC_INIT macros so that it's current to
    the new standard way and not deprecated anymore.

    Also, added a test for some functions during parallel Fortran
    configure. This required the creation of an H5config_fortran.h file
    so that we can test for these...
Platforms tested:
    Elena is going to test the changes to the fortran after she checks in
    her other code. I will test on SDSC machines after getting her code.

    The other changes were tested on Linux.
2002-04-23 15:02:26 -05:00
Albert Cheng
f980ab403a [svn-r5232] Purpose:
Bug fix
Description:
    The symbol "RAW" is already defined in some ioctl.h files.
    Changed it to RAWIO.
Platforms tested:
    Tflops.
    (I am commiting this from TFLOPS.  Will check it out immediate
     to test on local machines.)
2002-04-23 11:07:50 -05:00
Quincey Koziol
f99a412057 [svn-r5230] Purpose:
Code cleanup

Description:
    Clean up the H5B_iterate code to not have a single hard-wired iterator for
    each interface which uses a B-tree, instead accept a function pointer which
    determines the callback function.  This allows additional iterator
    callbacks to be defined without requiring additional H5B functions to be
    created.

    In that spirit, remove the H5B_prune_by_extent call and convert the
    H5F_istore callback routine for it into a callback routine for H5B_iterate.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-23 11:01:43 -05:00
Albert Cheng
ac917c1f07 [svn-r5229] Updated with support for parallel C API. 2002-04-22 20:25:14 -05:00
Bill Wendling
0ade5bb44b [svn-r5227] Purpose:
Feature Update
Description:
		Modified the AC_OUTPUT macro to coincide with the now-standard
		way of doing things. I.e., you put all of the files you want to
		generate into the AC_CONFIG_FILES macro and invode AC_OUTPUT with
		no parameters.
Platforms tested:
        Linux
2002-04-22 18:50:25 -05:00
Bill Wendling
fd9f73d5fe [svn-r5226] Purpose:
Feature Update
Description:
	Modified the AC_OUTPUT macro to coincide with the now-standard way of
	doing things. I.e., you put all of the files you want to generate
	into the AC_CONFIG_FILES macro and invode AC_OUTPUT with no
	parameters.
Platforms tested:
	Linux
2002-04-22 18:47:41 -05:00
Bill Wendling
0c7f15227c [svn-r5225] Purpose:
Feature Fix
Description:
	Modified the AC_OUTPUT macro to coincide with the now-standard way of
	doing things. I.e., you put all of the files you want to generate
	into the AC_CONFIG_FILES macro and invode AC_OUTPUT with no
	parameters.
Platforms tested:
	Linux
2002-04-22 18:44:41 -05:00
Albert Cheng
7b022bbfb8 [svn-r5224] Purpose:
Update
Description:
    Added the support platform summary paragraph.
    Thread safe is supported for solaris 2.8_32bit.
Platforms tested:
    hdfsun8
2002-04-22 15:30:58 -05:00
Albert Cheng
5aeda255db [svn-r5222] Purpose:
feture
Description:
    add calls to show hostname.
Platforms tested:
    eirene (linux 2.2) parallel.
2002-04-22 15:24:59 -05:00
Dan Wells
b60521774f [svn-r5220]
Purpose:
    Bug Fix
Description:
    Users could not trace MPI programs when library wasn't compiled for
    parallel execution
Solution:
    Allow Pablo Trace library to set the processor number and generate
    the filenames for each processor.
Platforms tested:
    Sun Workstation, HP VClass, Irix 64
2002-04-22 13:14:00 -05:00
Quincey Koziol
e5fc40662c [svn-r5219] Purpose:
Code cleanup

Description:
    Clean up warnings from gcc 3.1

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-22 12:48:24 -05:00
Albert Cheng
7527ed7d6f [svn-r5218] Purpose:
New feature
Description:
    Added h5_show_hostname to display the hostname of the host in
    which the process runs.  It can help identify location of process
    in multiple processes or batch launching environments.
Platforms tested:
    Eirene (pp)
2002-04-22 12:12:14 -05:00
Albert Cheng
2c29bc24ff [svn-r5215] Purpose:
Bug fix
Description:
    Zlib-compression was reported according to if a Z-library (e.g., libz.a)
    has been found.  It actually needs the presence of a valid zlib.h header
    file and the compress2() routine.
Solution:
    Changed the IF_YES_NO to be more general by accepting multiple arguments
    and changed the Zlib-compression depends on zlib.h header and the
    compress2() routine.
Platforms tested:
    Eirene.
2002-04-21 23:12:42 -05:00