Commit Graph

698 Commits

Author SHA1 Message Date
Vailin Choi
64a7862ffe [svn-r19824] 1. Made fixes as in rev #19813 in trunk:
a) Add comments to test_4() in test/external.c about the name "/ link".
   b) Fix one memory leak in src/H5Lexternal.c: free memory pointed to by tmp_env_prefix for HDF5_EXT_PREFIX case.
3. Made changes for bug #1930 as in rev #19783, #19781 in trunk.
4. Made corresponding CMake changes as in rev #19782 in trunk.
2010-11-18 14:11:51 -05:00
Mike McGreevy
e23584d6b7 [svn-r19809] Purpose:
Add "--enable-unsupported" configure flag.

Description

    The "--enable-unsupported" configure flag allows a user to
    prevent configure from failing due to the use of incompatible
    options, such as c++ with parallel.

    Specifying --enable-unsupported will bypass all of configure's
    checks for incompatible and unsupported combinations of flags. 
    There are no guarantees that the library will be configured
    in any sort of working condition, but that's the risk of
    using the --enable-unsupported flag.

    I've changed all default error messages related to unsupported
    option combinations to indicate that using --enable-unsupported
    will allow configure to complete without error.

Tested:

    by hand on jam, tested all unsupported configure option 
    combinations with and without the new flag, making sure
    the flag allows configure to finish without error. 
    (h5committest wouldn't do any good here; it won't test
    the new option, and since we're enabling unsupported
    combinations, failures are likely to occur in build or
    tests with --enable-unsupported turned on anyways. 
    That's why they're unsupported!)
2010-11-17 13:08:31 -05:00
Albert Cheng
2c45d801c9 [svn-r19695] Changed the default NPROCS from 3 to 6 for MPI tests.
Tested: in jam only since that is that only parallel tests h5committest
would have done.
2010-10-28 12:22:18 -05:00
Raymond Lu
e05528194d [svn-r19693] Bug 2008 - IBM Power6 Linux uses special conversion algorithms to convert some values from long
double to (unsigned) long and from (unsigned) long to long double.  I added tests in configure.in
to detect these algorithms.  Before I can figure out them, I disable the tests in dt_arith.c.

Tested on jam, heiwa, amani, IBM Power6 Linux machine in Holland (huygens.sara.nl).
2010-10-28 11:34:31 -05:00
HDF Tester
4518f8ba2c [svn-r19511] Snapshot version 1.8 release 7 (snap0) 2010-10-05 08:28:37 -05:00
Mike McGreevy
f8cd72f48a [svn-r19451] Update version of 1.8 branch to HDF5 1.8.7-snap0 2010-09-21 11:12:03 -05:00
Albert Cheng
88abe7432b [svn-r19423] Bug fix: 1961-- AIX 6.1 --enable-share did not work.
Description:
In an AIX 6.1 system, configure --enable-shared could not build a shared
HDF5 library. The problem was because the version of config.guess was too
old to recongnize AIX 6.X and also configure.in had a local fix which did
not recognize AIX 6.X.

Solution:
1. Mike McGreevy updated bin/config.guess to handle AIX 6.X.
2 Albert fixed configure.in to recognize AIX 6.X.

Note that though HDF5 can build shared lib for AIX 6.X systems
but it still could not install the proper library as in AIX 5.X
systems. Also, bin/config.sub should be updated too.


Tested: BP which is the AIX 6.1 system that exposed this problem.
2010-09-20 00:18:29 -05:00
Larry Knox
23bc2c0b38 [svn-r19371] Updated autoconf to version 2.6.7, libtool to version 2.2.10, and m4 to version 1.4.14. Also added m4 directory for m4 macros according to autoconf suggestion.
Tested with h5committest on amani, jam, and heiwa, and on linew.

-This line, and those below, will be ignored--

M    hdf5_1_8/test/Makefile.in
A    hdf5_1_8/m4
AM   hdf5_1_8/m4/ltsugar.m4
AM   hdf5_1_8/m4/libtool.m4
AM   hdf5_1_8/m4/ltversion.m4
AM   hdf5_1_8/m4/lt~obsolete.m4
AM   hdf5_1_8/m4/ltoptions.m4
M    hdf5_1_8/configure
M    hdf5_1_8/Makefile.in
M    hdf5_1_8/testpar/Makefile.in
M    hdf5_1_8/configure.in
M    hdf5_1_8/src/Makefile.in
M    hdf5_1_8/tools/Makefile.in
M    hdf5_1_8/tools/misc/Makefile.in
M    hdf5_1_8/tools/h5dump/Makefile.in
M    hdf5_1_8/tools/h5repack/Makefile.in
M    hdf5_1_8/tools/h5jam/Makefile.in
M    hdf5_1_8/tools/h5diff/Makefile.in
M    hdf5_1_8/tools/lib/Makefile.in
M    hdf5_1_8/tools/h5copy/Makefile.in
M    hdf5_1_8/tools/h5import/Makefile.in
M    hdf5_1_8/tools/h5stat/Makefile.in
M    hdf5_1_8/tools/h5ls/Makefile.in
M    hdf5_1_8/hl/test/Makefile.in
M    hdf5_1_8/hl/tools/Makefile.in
M    hdf5_1_8/hl/tools/gif2h5/Makefile.in
M    hdf5_1_8/hl/Makefile.in
M    hdf5_1_8/hl/src/Makefile.in
M    hdf5_1_8/hl/c++/test/Makefile.in
M    hdf5_1_8/hl/c++/Makefile.in
M    hdf5_1_8/hl/c++/src/Makefile.in
M    hdf5_1_8/hl/c++/examples/Makefile.in
M    hdf5_1_8/hl/fortran/test/Makefile.in
M    hdf5_1_8/hl/fortran/Makefile.in
M    hdf5_1_8/hl/fortran/src/Makefile.in
M    hdf5_1_8/hl/fortran/examples/Makefile.in
M    hdf5_1_8/hl/examples/Makefile.in
M    hdf5_1_8/config/commence.am
M    hdf5_1_8/MANIFEST
M    hdf5_1_8/c++/test/Makefile.in
M    hdf5_1_8/c++/Makefile.in
M    hdf5_1_8/c++/src/Makefile.in
M    hdf5_1_8/c++/examples/Makefile.in
M    hdf5_1_8/bin/ltmain.sh
M    hdf5_1_8/bin/reconfigure
M    hdf5_1_8/perform/Makefile.in
M    hdf5_1_8/fortran/test/Makefile.in
M    hdf5_1_8/fortran/testpar/Makefile.in
M    hdf5_1_8/fortran/Makefile.in
M    hdf5_1_8/fortran/src/Makefile.in
M    hdf5_1_8/fortran/examples/Makefile.in
M    hdf5_1_8/aclocal.m4
M    hdf5_1_8/examples/Makefile.in
2010-09-10 17:41:44 -05:00
Albert Cheng
9d208e402d [svn-r19204] Bug 1917: post cleanup.
fseek64 was used to support large file access for the STDIO driver back in
version 1.2.2 in year 2000.  Some how it was not included in version 1.4.0.
Now, fseeko64 is used to support large file. There is no more need for fseek64
which is not a standard call. Removed its presence from configure and related
files.

Tested: jam for configure only.
2010-08-09 17:12:38 -05:00
Albert Cheng
7b375507ae [svn-r19186] Bug fix: ID 1917
In some machine (Linux), when --disable-largefile is used, it claims it has
fseeko64 but off64_t is NOT supported.  Moved the test of fseeko64 and ftello64
to where fseek64 is so that they are tested only if off64_t is supported.

Tested: h5committested.
2010-08-06 14:37:50 -05:00
Albert Cheng
8dc3f63a87 [svn-r19159] Added the tests for fseeko64 and ftello64 which will be used by the STDIO
VFD if they are available.

Tested: jam only since it was tests for two new functions that are not used by
the code yet.
2010-07-30 15:05:25 -05:00
HDF Tester
cf6e2c99a4 [svn-r19091] Snapshot version 1.8 release 5 (snap4) 2010-07-18 23:56:15 -05:00
Albert Cheng
4b4501c8ad [svn-r19067] Bug fix: ID 1921 change mpirun to mpiexec
Removed the recognition of parallel compilers of LAM (hcc) and ChMPIon (cmpicc)
since we have no access to these two MPI implementations and decided not to
support them any more.

Test: Jam using parallel tests:
1. use CC=mpicc and confirmed it is recognized as a parallel compiler;
2. use CC=hcc and confirmed it is NOT recognized as a parallel compiler
any more.
2010-07-14 10:55:53 -05:00
HDF Tester
d47b99c787 [svn-r19065] Snapshot version 1.8 release 5 (snap3) 2010-07-11 23:45:53 -05:00
HDF Tester
68484a2099 [svn-r19048] Snapshot version 1.8 release 5 (snap2) 2010-07-04 23:38:15 -05:00
HDF Tester
016560f364 [svn-r19033] Snapshot version 1.8 release 5 (snap1) 2010-06-28 07:57:51 -05:00
HDF Tester
fe35798c4e [svn-r19023] Snapshot version 1.8 release 5 (snap0) 2010-06-20 23:54:58 -05:00
Albert Cheng
cfcbb212c8 [svn-r18991] Bug Fix: (ID 1921)
PHDF5 changed to use "mpiexec", instead of mpirun, as the default MPI
applications startup command as defined in the MPI-2 definition, section
4.1.  Note that only mpich related (using mpicc command) definitions are
changed to mpiexec. Other favors like hcc, AIX, champion, are not changed
since I don't have a way to verify them yet.

Tested:
jam and amani, using both current and new mpich.
Did not h5committested since this affects PHDF5 configure only.
2010-06-11 16:26:55 -05:00
Larry Knox
f827580d23 [svn-r18979] Added comments regarding the -D_POSIX_SOURCE flag including a reference to a dis
cussion of the _POSIX_SOURCE, BSD_SOURCE, and _POSIX_C_SOURCE Macros and their i
ntersaction at http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.ht
ml.

Comment text only - not tested.
2010-06-04 14:22:09 -05:00
Albert Cheng
0844b48690 [svn-r18923] Changed v1.8 default setting to --disable-production.
Tested: h5committest plus jam (serial) tested.
2010-05-28 16:05:56 -05:00
Mike McGreevy
973c61fd42 [svn-r18841] Changed version number to 1.8.4-snap0
Updated RELEASE.txt file accordingly.
2010-05-18 10:26:01 -05:00
Larry Knox
a41fb65b7c [svn-r18836] Added code to config files, libhdf5.settings.in and configure.in to add compiler version information for fortran and C++ in the settings file and the configure output for our common compilers on linux, solaris, and mac(gnu only).
Tested:  amani, jam, linew (h5committest) and with configure on these machines and tejeda.
2010-05-17 17:23:23 -05:00
HDF Tester
d146500357 [svn-r18825] Snapshot version 1.8 release 4 (snap22) 2010-05-16 20:52:48 -05:00
Larry Knox
96c13847a6 [svn-r18817] Added scripts to compile and run installed examples. The scripts are installed with the examples, and there is one script to run the scripts for all hl examples and another to run the scripts for all the examples.
Tested:  amani, jam, linew (h5committest).
2010-05-14 17:05:48 -05:00
HDF Tester
4bebb65cc9 [svn-r18748] Snapshot version 1.8 release 4 (snap21) 2010-05-09 20:02:02 -05:00
Mike McGreevy
e984ec4948 [svn-r18710] Purpose:
Improve configure's large-file support control.

Description:

    Modified configure to now attempt to add defines necessary for
    supporting largefiles on all systems, instead of solely on linux. This 
    is in response to user requests to enable largefile support on Solaris 
    by default, as well as to give extra control on AIX (instead of just 
    jamming the necessary flag into the config files).

    The old --enable-linux-lfs flag is being deprecated in favor of the
    --enable-largefile flag (enabled by default), which can be used on all
    platforms. --disable-linux-lfs can still be used to disable largefile
    support (on linux) when the --enable-largefile flag is not specified.

    On systems where large files cannot be supported in this manner,
    configure will report as such.

Tested:

    h5committest
    AIX (NCSA's blue_print machine)
    duty, liberty, and linew.
2010-05-05 12:35:04 -05:00
Raymond Lu
b93621ecf5 [svn-r18706] I changed the macro H5_CYGWIN (checked in with round 18696) to H5_CYGWIN_ULLONG_TO_LDOUBLE_ROUND_PROBLEM to make it more descriptive.
I tested on jam and Cygwin.
2010-05-05 10:47:44 -05:00
Albert Cheng
f20bd5f624 [svn-r18701] ID 1853:
Added the configure option --enable-h5dump-packed-bits for the h5dump
optional feature.

Tested:
Jam (default and --disable-h5dump-packed-bits).
2010-05-04 18:57:47 -05:00
Raymond Lu
7cb55dd052 [svn-r18696] I added a macro definition if the system is Cygwin in configure.in. This macro is used to skip
the data conversion test from unsigned long long to long double.  The GCC on Cygwin seems to 
have rounding problem when doing conversion from unsigned long long to long double (Please bug
#1813).

Tested on jam.  I'll test it on Cygwin after this checkin.
2010-05-04 11:35:11 -05:00
HDF Tester
47fef210e8 [svn-r18688] Snapshot version 1.8 release 4 (snap20) 2010-05-02 20:39:59 -05:00
Albert Cheng
1c2f19b16e [svn-r18658] Bug: 1764
Description:
longjmp do not necessary restore signal that is blocked during the signal
handling. This caused the Alignment test to fail quietly, resulting in wrong
alignment information which will cause failures later.

Solution:
One can use sigsetjmp/siglongjmp to restore signal handling but not all systems
such as Cray XT or VMS supports sigsetjmp.  Backup solution is to use
sigprocmask to reset the signal. Again, some systems may not support it either.
Added code to try the first and then the second solution. Also added tests
to verify if the signal_handler routines are working properly.  Finally, added
code to print results of the verification (in form of comments) to H5Tinit.c
for inspection in case of failure.
(Note that many platforms do not have alignment limits at all and ALIGNMNET
code never raise the SIGBUS or SIGSEGV errors.  In those cases, it does not
matter whether the signal handlers work or not. Again, this can be deduced
from the results comments near the end of the H5Tinit.c. If the sum of signal
handlers called equals the total of verify, it means ALIGNMENT does not raise
any signals.)

Tested: htcommittested (linew is not accessible), jam(serial), Redstorm.
2010-04-28 12:11:11 -05:00
Raymond Lu
53f5793d38 [svn-r18646] In H5T_get_native_type of H5Tnative.c, I changed the way that the offset, alignment, and
size of nested compound type are calculated by using H5T_cmp_offset.  The old way had a bug 
in it (see bug #1850).

Tested on amani, linew, and jam.
2010-04-27 15:55:33 -05:00
Quincey Koziol
e4ee157c86 [svn-r18635] Description:
Bring r18634 from trunk to 1.8 branch:

	Clean up compiler warnings.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
	(h5committested on trunk)
2010-04-27 13:33:36 -05:00
HDF Tester
37ef89af1d [svn-r18591] Snapshot version 1.8 release 4 (snap19) 2010-04-18 19:22:22 -05:00
HDF Tester
836d531494 [svn-r18546] Snapshot version 1.8 release 4 (snap18) 2010-04-11 23:52:30 -05:00
HDF Tester
abdfc0f817 [svn-r18467] Snapshot version 1.8 release 4 (snap17) 2010-03-28 19:21:10 -05:00
HDF Tester
c83859d028 [svn-r18434] Snapshot version 1.8 release 4 (snap16) 2010-03-21 19:51:16 -05:00
Quincey Koziol
a608820193 [svn-r18422] Description:
Bring r18413:18420 from trunk to 1.8 branch:
	- unify srcdir query, etc.
	- Move libhdf5.settings string out of H5Tinit.c

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.2 (amazon) in debug mode
        Mac OS X/32 10.6.2 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2010-03-18 13:05:13 -05:00
HDF Tester
dcf0727a9e [svn-r18408] Snapshot version 1.8 release 4 (snap15) 2010-03-14 23:27:59 -05:00
HDF Tester
e601ae8d4c [svn-r18351] Snapshot version 1.8 release 4 (snap14) 2010-02-28 17:56:20 -05:00
HDF Tester
7147e87089 [svn-r18307] Snapshot version 1.8 release 4 (snap13) 2010-02-22 15:56:03 -05:00
HDF Tester
50dfe3439b [svn-r18255] Snapshot version 1.8 release 4 (snap12) 2010-02-14 17:55:45 -05:00
HDF Tester
4eefbc505a [svn-r18234] Snapshot version 1.8 release 4 (snap11) 2010-02-12 12:20:49 -05:00
HDF Tester
658c1b9e75 [svn-r18219] Snapshot version 1.8 release 4 (snap10) 2010-02-07 19:21:03 -05:00
HDF Tester
187e9377fa [svn-r18203] Snapshot version 1.8 release 4 (snap9) 2010-02-02 11:01:14 -05:00
HDF Tester
fc96b2cec3 [svn-r18201] Snapshot version 1.8 release 4 (snap8) 2010-01-31 19:15:34 -05:00
HDF Tester
f5c061aa21 [svn-r18161] Snapshot version 1.8 release 4 (snap7) 2010-01-24 19:05:23 -05:00
HDF Tester
12d1c08b10 [svn-r18121] Snapshot version 1.8 release 4 (snap6) 2010-01-17 17:45:24 -05:00
HDF Tester
30f3fcaa4a [svn-r18101] Snapshot 2010-01-10 18:02:58 -05:00
HDF Tester
2cedbfab13 [svn-r18062] Snapshot 2010-01-03 19:19:13 -05:00