Commit Graph

14080 Commits

Author SHA1 Message Date
Dana Robinson
45aece2434 [svn-r26069] Removed the option to selectively disable internal filters like n-bit
at compile time.

Fixes HDFFV-9086

Tested on: jam, both serial and parallel w/ fortran & C++
2015-01-29 08:19:22 -05:00
Scot Breitenfeld
cc7cdaac59 [svn-r26063] Fixed the wrong number of arguments being used for MPI_FILE_OPEN. Kept using include "mpif.h" since it is not going to be depriciated. But 'USE mpi' will work now that the API is correct. 2015-01-28 10:37:01 -05:00
Scot Breitenfeld
052638dbc8 [svn-r26062] Changed the fortran test back from "USE mpi" to "include "mpif.h"". Using the module causes problems on the Cray (hopper). 2015-01-28 10:01:23 -05:00
Scot Breitenfeld
bc0d6a1500 [svn-r26061] Fixed unintentional typo. 2015-01-28 08:54:23 -05:00
Scot Breitenfeld
7046addd0b [svn-r26060] Fix for HDFFV-9091
405-408::fortran vars should be scoped

Scoped:

HAVE_SIZEOF
HAVE_C_SIZEOF
HAVE_STORAGE_SIZE
FORTRAN_DEFAULT_REALisDBLE

to where the tests are (in m4/aclocal_fc.m4)

Tested: jam (gnu)
2015-01-27 16:52:53 -05:00
Scot Breitenfeld
f142970ac2 [svn-r26059] Fix for: HDFFV-9095
4159:: Check if Fortran's default real is double precision. If it is and HL is being built then configure should fail due to bug HDFFV-889.

Fix:
This check should be located where HL is check for, and it is. Updated the comment to elimenate confusion.
2015-01-27 16:35:30 -05:00
Scot Breitenfeld
06587c6e91 [svn-r26057] Fix for: HDFFV-9094
change include 'mpif.h' to module in tests

Solution:

changed to 'USE mpi' and moved the tests to m4/aclocal_fc.m4

Tested: jam (mpicc, mpif90)
2015-01-27 16:24:31 -05:00
Mohamad Chaarawi
4a10dbe011 [svn-r26055] Updates for:
Discuss and Remove Infering parallel compilers (C and Fortran) from configure.ac 
https://jira.hdfgroup.uiuc.edu/browse/HDFFV-9068 

Remove restriction to build shared with parallel 
https://jira.hdfgroup.uiuc.edu/browse/HDFFV-9069 

Cleanup parallel sections in configure.ac 
https://jira.hdfgroup.uiuc.edu/browse/HDFFV-9096 

tested h5committest
2015-01-27 15:59:48 -05:00
Scot Breitenfeld
b2516b909a [svn-r26054] Fix for: HDFFV-9089
375::Compile the Fortran 77/90/95 interface -> remove 77 from comment

Removed from comment.
2015-01-27 15:30:29 -05:00
Scot Breitenfeld
f1da79edff [svn-r26053] Added comments. 2015-01-27 15:20:26 -05:00
Scot Breitenfeld
d29c5a6e6a [svn-r26052] Fixed false positive tests for intrensic functions.
Tested: jam (mpi, gfortran, intel)
        --enable-fortran, and --enable-fortran --enable-fortran2003
2015-01-27 15:16:07 -05:00
Scot Breitenfeld
4d34a0c6ad [svn-r26051] Fix for HDFFV-9092
Change AC_TRY_RUN TO AC_TRY_COMPILE

Changed all the instances of AC_TRY_RUN for the Fortran and C++ tests to use
AC_COMPILE_IFELSE and moved all the tests to new files in m4 directory:

aclocal_cxx.m4 (for C++ tests)
aclocal_fc.m4 (for Fortran tests)

tested: jam
2015-01-27 12:17:09 -05:00
Scot Breitenfeld
1e85e7ca52 [svn-r26047] Fix for HDFFV-9092
Change AC_TRY_RUN TO AC_TRY_COMPILE 

Changed all the instances of AC_TRY_RUN for the Fortran and C++ tests to use
AC_COMPILE_IFELSE

tested: jam
2015-01-27 10:29:06 -05:00
Dana Robinson
b10f26ab18 [svn-r26042] Updated configure.ac so that POSIX_C_SOURCE=200112L and GNU_SOURCE
are defined. The former is for posix_memalign() and the latter for
the O_DIRECT flag for open(). Both are for direct VFD support.

Fixes HDFFV-9088

Tested on: jam
2015-01-26 22:31:03 -05:00
Dana Robinson
4e37d30dba [svn-r26029] Updated the comment on the Cygwin 'srcdir= and time' test to indicate
that it's still an issue with recent versions of Cygwin.

Fixes HDFFV-9082

Tested on: jam (bin/reconfigure only - just a comment change)
2015-01-26 06:14:54 -05:00
Dana Robinson
699b27ee4e [svn-r26028] Removed code from configure.ac that #defined (H5)_NO_SHARED_WRITING under
CodeWarrior as a work-around to broken open() functionality (it's not clear
which version). The only effect of this #define was to cause test_file_close()
in test/tfile.c to be skipped.

Fixes HDFFV-9080

Tested on: jam

We don't have CodeWarrior, so I just ensured the deletion didn't adversely
affect a typical build.
2015-01-26 05:06:53 -05:00
Dana Robinson
c5741c15d2 [svn-r26027] Copied configure.ac to configure.ac.orig for reference. 2015-01-26 01:47:06 -05:00
Dana Robinson
8249ada359 [svn-r26026] Added BRANCH.txt 2015-01-25 17:57:04 -05:00
Mohamad Chaarawi
f4e69ad579 [svn-r26012] make the print format for address overflow error windows friendly. 2015-01-23 09:57:35 -05:00
Scot Breitenfeld
374f064f82 [svn-r26011] Added (i.e. re-added) missing h5oget_info_c definition. 2015-01-23 08:54:04 -05:00
Scot Breitenfeld
1e3f530848 [svn-r26010] Fix for:
HDFFV-9049
Intel 15.0 15.0.1 Fails with --enable-fortran2003

Added BIND to the Fortran 2003 functions.

Tested: windows (tested concept)
        linux (--enable-fortran and --enable-fortran2003)
2015-01-22 16:56:03 -05:00
Scot Breitenfeld
324f087d05 [svn-r26009] Code Comment cleanup:
-----------------------
Remove the numbers in the comments associated with:

       H5G_UNKNOWN_F (-1)
       H5G_LINK_F      0
       H5G_GROUP_F     1
       H5G_DATASET_F   2
       H5G_TYPE_F      3

These should not be defined as a number since they can changed. They should be considered named parameters, not actual values. 

HDFFV-9040
h5rget_object_type_f returns different types than indicated by API
2015-01-22 16:53:30 -05:00
Mohamad Chaarawi
543a8d9d86 [svn-r26005] fix error return value. minor change. 2015-01-22 14:26:42 -05:00
Mohamad Chaarawi
5eee1d7d7e [svn-r26002] move checks on reading/writing beyond file eoa outside of the file drivers and into a centralized place in H5FD_read/write.
tested h5committest.
2015-01-22 12:15:21 -05:00
Mohamad Chaarawi
a24e3e5c86 [svn-r25994] revert adding the has_mpi_atomicity feature flag and use the has_mpi
flag instead.
2015-01-21 13:57:55 -05:00
Mohamad Chaarawi
de47d219c9 [svn-r25993] remove last usage of IS_H5FD_MPIO. 2015-01-21 12:05:03 -05:00
Allen Byrne
21ef17f951 [svn-r25990] Add VFD flush2 depends on flush1 property to test 2015-01-21 09:31:46 -05:00
Allen Byrne
3b742b733b [svn-r25987] Use variable instead of hard coded value 2015-01-20 15:02:17 -05:00
Allen Byrne
aafac8d770 [svn-r25986] HDFFV-9060: Changed test folder to use different test folders for VFDs and regular. Needed to set srcdir env var and specify working folder to the folders where all the reference files were copied.
Tested: local linux
2015-01-20 14:44:28 -05:00
Mohamad Chaarawi
aac2bb6182 [svn-r25984] change the message flag H5O_MSG_FLAG_FAIL_IF_UNKNOWN to
H5O_MSG_FLAG_FAIL_IF_UNKNOWN_AND_OPEN_FOR_WRITE. Will add a new
H5O_MSG_FLAG_FAIL_IF_UNKNOWN_ALWAYS with the new avoid_truncate patch
coming later.

tested h5committest
2015-01-20 12:17:05 -05:00
Mohamad Chaarawi
1949c40bfd [svn-r25983] HDFFV-1125: Eliminate IS_H5FD_MPI() macro use in the library and replace with driver feature flag(s).
Add an MPI atomicity feature flag and remove the macro from the library.

tested Parallel on Jam.
2015-01-20 10:26:45 -05:00
HDF Tester
234e77b3f9 [svn-r25981] Snapshot version 1.9 release 211 2015-01-18 06:01:21 -05:00
Scot Breitenfeld
485faa47e7 [svn-r25980] Reverting check-in 25978, C_LONG_DOUBLE seems to be 16 bytes sometimes and 10 bytes other times. Not sure why. 2015-01-15 10:18:45 -05:00
Scot Breitenfeld
c6cf45e3e7 [svn-r25978] Bug fix for HDFFV-8847
Tested: h5committest
2015-01-13 11:23:07 -05:00
HDF Tester
d3ddfe842d [svn-r25975] Snapshot version 1.9 release 210 2015-01-11 06:05:36 -05:00
Albert Cheng
0ebac5f389 [svn-r25971] Update with retirement of AIX 5.3 and addition of AIX 6.1 support. 2015-01-09 10:33:54 -05:00
Mohamad Chaarawi
50c5f1ab2c [svn-r25963] Do not remove the prefix in the chunk alloc file, otherwise it makes
the H5Fcreate fail when prefix is specified.

tested parallel on Jam.
2015-01-08 12:36:10 -05:00
Allen Byrne
5da20c221e [svn-r25955] Added Perform and io_timer back into build.
Tested: local linux cmake
2015-01-05 16:52:26 -05:00
Albert Cheng
6a982a7690 [svn-r25954] HDFFV-9046: reorganize hdf5/perform, step 2
Last changes had caused problems with Windows platform:
1. H5private.h in io_timer.h is not accessible in the distributed shared library of tools.
   Need to move it to io_timer.c.
2. debug_start_stop_time() would not be available outside of h5perf. Some favor of compiler
   does not like it.  Screened it out for now.
3. mere "extern" is not good enough for Windows shared library. Must mark them as DLL. Need to mark them as 
   "H5TOOLS_DLL".
4. STANDALONE mode is broken. Screened out the code for now.

Tested; h5committest.
2015-01-05 16:47:34 -05:00
Allen Byrne
671006a10d [svn-r25953] Comment out printf statement as it caused system resource issues on Windows. Test now executes in 1/10 of time.
Tested: local linux and Windows
2015-01-05 16:32:43 -05:00
Allen Byrne
6b109315f5 [svn-r25951] HDFFV-9054: disable io_timer in tools lib and perform sub-folder due to SHARED compile issues and other issues. 2015-01-05 11:21:22 -05:00
HDF Tester
509cd32da2 [svn-r25949] Snapshot version 1.9 release 209 2015-01-04 06:04:11 -05:00
Albert Cheng
fe1bf91042 [svn-r25946] Removed debug statments that use //.
Tested: env CFLAGS=-ansi buildhdf5 in jam and parallel platypus.
2015-01-03 23:51:03 -05:00
Albert Cheng
c803666ec2 [svn-r25940] HDFFV-9046: reorganize hdf5/perform, step 2
Move timing measurement routines used by h5perf and h5perf_serial to tools/lib
so that they can be used by other tools too.

tools/lib/io_timer.c
tools/lib/io_timer.h
tools/perform/io_timer.c
tools/perform/io_timer.h
    renamed perform/io_timer.[ch] to lib/io_timer.[ch]

tools/lib/Makefile.am
tools/lib/Makefile.in
tools/lib/CMakeLists.txt
tools/perform/Makefile.in
tools/perform/Makefile.am
tools/perform/CMakeLists.txt
MANIFEST
    updated due to the move.

Tested; h5committest and jam (serial)
2015-01-01 11:24:55 -05:00
Allen Byrne
dcc956f594 [svn-r25938] Remove build and test commands for deleted benchpar.c 2014-12-31 13:06:27 -05:00
Allen Byrne
7affd93d05 [svn-r25934] Fix incorrectly combined check. 2014-12-31 12:50:47 -05:00
Albert Cheng
f5d2975018 [svn-r25933] updated. 2014-12-30 09:49:02 -05:00
Albert Cheng
aebc4ae149 [svn-r25932] HDFFV-8902: merge the source code of h5perf and h5perf_serial, stage 1.
tools/perform/sio_timer.h:
tools/perform/pio_timer.c:
tools/perform/io_timer.h:
tools/perform/io_timer.c:
    Renamed pio_timer.[ch] as io_timer.[ch];
    merged content of sio_timer.[ch] into io_timer.[ch] so that both h5perf and h5perf_serial
    call the combined io_timer.[ch].
    Moved the debug printing code segment in set_time() in [sp]io_timer.c to as debug_start_stop_time() in [sp]io_perf.c where it belongs.
    Screened out set_timer_type() and get_timer_type() which were not used by any code.

tools/perform/Makefile.am:
tools/perform/Makefile.in:
tools/perform/CMakeLists.txt
    Adjusted to use io_timer.c for both h5perf and h5perf_serial.

tools/perform/pio_perf.c:
tools/perform/sio_perf.c:
tools/perform/pio_perf.h:
tools/perform/sio_perf.h:
    Renamed [sp]io_time_destory() to same io_time_destroy();
    Moved the debug printing code segment in set_time() in [sp]io_timer.c to as debug_start_stop_time() in [sp]io_perf.c where it belongs.

tools/perform/pio_engine.c:
tools/perform/sio_engine.c:
    Removed #include io_timer.h since it was already #include by [sp]io_perf.h.

MANIFEST:
    Updated the merge of [sp]io_timer.[ch] into io_timer.[ch].

Tested: h5committest and jam in extra.
2014-12-30 00:56:05 -05:00
Quincey Koziol
b65eae7aee [svn-r25929] Description:
Clean up EOF code within library and add 'mem_type' parameter to 'get_eof'
VFD callback, to avoid various ambiguous situations, particularly with the
multi VFD.  (Supports changes for 'avoid_truncate' feature also)

Tested on:
    MacOSX/64 10.10.1 (amazon) w/serial & parallel
    h5committest forthcoming
2014-12-29 01:02:06 -05:00
Quincey Koziol
662892e8b1 [svn-r25928] Description:
Minor code cleanups found while reviewing 'avoid_truncate' changes.

Tested on:
    MacOSX/64 10.10.1 (amazon) w/serial & parallel
    (too minor to require h5committest)
2014-12-29 00:17:22 -05:00