Commit Graph

3903 Commits

Author SHA1 Message Date
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
HDF Admin
81912c99e7 [svn-r5213] Snapshot version 1.5 release 26 2002-04-20 04:43:19 -05:00
Albert Cheng
f42dc21708 [svn-r5212] Purpose:
Code improvement
Description:
    Changed stat to HDstat macro for portability.
Platforms tested:
    eirene.
2002-04-19 16:54:35 -05:00
MuQun Yang
1f913b1eab [svn-r5209]
Purpose:
    1. add install hdf5 lib.,tools batch file                                           2. add comments and earse warning                                                   3. update H5pubconf.h
Description:
    1. With the request from supporting team, add a batch file that can
       automatically move all library, include and binary files to
       a directory called hdf5lib under the top directory.
    2. H5Tinit.c, H5pubconf.h and H5config.h are adapted from UNIX platform
       but manually maintained on windows. Add a one-line comment to avoid
       confusions.
    3. erase a compiling warning for unlink.dll
    4. Update H5pubconf.h, malloc(0) returns a non-NULL pointer for windows;
       So define H5_MALLOC_WORK on H5pubconf.h
Solution:
Platforms tested:
    windows 2000
2002-04-19 16:33:40 -05:00
MuQun Yang
0a4ca388fe [svn-r5208]
Purpose:
    a bug fix
Description:
     should use HDfstat instead of fstat
Solution:
Platforms tested:
linux 2.218, windows 2000
2002-04-19 15:48:43 -05:00
Albert Cheng
5369181ba3 [svn-r5207] Purpose:
Feature
Description:
    Added option -c to allow skipping file system Checking.  This allows
    users to run the test even if the program thinks it may fill up the
    file system.
Platforms tested:
    eirene
2002-04-19 13:54:51 -05:00
Albert Cheng
f5d5e9e2ff [svn-r5205] Purpose:
Code cleanup
Description:
    Platform dependent code related to the struct stat and fstat
    calls polluted source codes.  Hard to maintain.
Solution:
    Platform dependent code are moved to H5private.h and then internal
    code can #include H5private.h.  Repeat those macro definition for
    the stdio and multi drivers since they area examples for writing
    a virtual file driver.  They must not use any internal code.
Platforms tested:
    eirene (parallel), modi4 (serial including gass driver.)
2002-04-19 02:20:41 -05:00
Quincey Koziol
40117dd384 [svn-r5203] Purpose:
Code cleanup

Description:
    Re-indented new code to match coding style of rest of library.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-18 15:10:05 -05:00
Quincey Koziol
fa3c25fbf0 [svn-r5202] Purpose:
Code cleanup

Description:
    Update 'indent' flags for library to include some flags in later versions
    of GNU indent.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-18 15:08:24 -05:00
Quincey Koziol
ef9c40754b [svn-r5200] Purpose:
Code Cleanup

Description:
    Clean up compiler warnings from the last bunch of checkins

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-18 09:05:38 -05:00
HDF Admin
139af5a517 [svn-r5199] Snapshot version 1.5 release 25 2002-04-18 08:54:09 -05:00
Quincey Koziol
6a0ecf7366 [svn-r5198] Purpose:
Code Cleanup

Description:
    Remove "knowledge" about external file storage from H5D_init_storage and
    call H5F_seq_write instead, which handles things correctly.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-18 08:34:20 -05:00
Pedro Vicente Nunes
6ef3da0233 [svn-r5197]
Purpose:
    change include header format
Description:
    the format <> of headers was causing problems in the file H5Tinit.c
Solution:

 changed to

#include "H5private.h"
#include "H5Iprivate.h"
#include "H5Eprivate.h"
#include "H5FLprivate.h"
#include "H5MMprivate.h"
#include "H5Tpkg.h"



Platforms tested:
    w2000
2002-04-17 15:46:32 -05:00
Quincey Koziol
2694368b66 [svn-r5196] Purpose:
Code cleanup

Description:
    Fix incorrect include from <H5Sprivate.h> to "H5Sprivate.h"

Platforms tested:
    Just eyeballed it.
2002-04-17 14:02:12 -05:00
Quincey Koziol
4433c85766 [svn-r5195] Purpose:
Code cleanup

Description:
    Got rid of the "H5T_BKG_TEMP" setting that was used internally to the
    library, since temporary background buffers are now handled by the
    individual conversion routines instead of in a global background buffer.

    No APIs were changed or affected by this.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-17 13:49:49 -05:00
Albert Cheng
67d22cb484 [svn-r5193] Purpose:
Maintenance
Description:
    The tflops option local modification in bin/config.sub was wiped out
    during the latest autoconfigure tools upgrade.  Instead of adding it
    in for every autoconfigure tools upgrade, I changed the instruction
    to use a standard feature in configure.
	./configure --host=i386-intel-osf1
    This is a bit more typing but no more local modification.
2002-04-17 12:27:29 -05:00
Quincey Koziol
a9cd833cc8 [svn-r5192] Purpose:
Code cleanup

Description:
    Move the H5T_bkg_t structure from H5Fpublic.h to H5Tpublic.h

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-17 12:03:19 -05:00