Commit Graph

13 Commits

Author SHA1 Message Date
Mohamad Chaarawi
864a9d5552 [svn-r26298] merge 26279 from trunk.
HDFFV-883: attach callback to terminate HDF5 library when MPI_COMM_SELF is destroyed on MPI_Finalize.

tested h5committest.
2015-02-25 09:12:05 -05:00
Mohamad Chaarawi
d48b803747 [svn-r25965] - build out unbuffered stdout/err for windows 2015-01-08 14:00:15 -05:00
Mohamad Chaarawi
c63341344e [svn-r25791] merge 25790 from trunk.
fix bug in shapesame test where test fails with more than 10
procs. This is a fix in the test itself and does not have to do with
the library code.

tested cloud machine with parallel.
2014-11-05 11:18:20 -05:00
Quincey Koziol
25147d5567 [svn-r24878] Description:
Bring r24864 from trunk to 1.8 branch:

    Remove all traces of MPI-POSIX VFD and GPFS detection/code.

    Remove remaining traces of stream VFD.

    Remove testpar/t_posix_compliant test (it's not actually verifying anything).

    Clean up H5D__mpio_opt_possible() further.

    Moved environment variable that disables MPI collective operations into
    MPI-IO VFD (instead of it being in src/H5S.c).

    A few other small code cleanups.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/parallel & serial
    (daily tested on trunk)
2014-03-24 12:41:18 -05:00
John Mainzer
38aa51077a [svn-r21394] Updated tuning of fraction of tests skipped in t_shapesame.c as a function of
express test level to reflect results of testing with Ray.

Tested parallel on jam -- no further testing as the change was very minor.
2011-09-14 17:43:06 -05:00
John Mainzer
98e7f67b00 [svn-r21380]
Ported shape same test express test mods from trunk to 1.8 branch.

This was mostly a matter of copying testpar/t_shapesame.c from trunk
to the 1.8 branch, as the root versions of the files were almost 
identical.

Tested parallel on Jam only, as changes have been well tested on the 
trunk.
2011-09-13 13:29:58 -05:00
Allen Byrne
a14f6882d4 [svn-r21364] Related files to files from HDF5-33 review - all changes ran correctly in trunk. Changes have been tested in cmake branch.
t_cache.c - define needed for windows
t_posix_compliant.c - #ifdef around include <unistd.h>
t_shapesame.c - HD prefix needed for stat function

Tested: local linux
2011-09-06 09:20:58 -05:00
Quincey Koziol
a05e9f4c43 [svn-r20120] Description:
Bring r20119 from trunk to 1.8 branch:

	Clean up MPI resource leaks in parallel tests, along with a bunch of
compiler warnings.

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, w/threadsafe, in production mode
       Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
       Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
       Mac OS X/32 10.6.6 (amazon) in debug mode
       Mac OS X/32 10.6.6 (amazon) w/C++ & FORTRAN, w/threadsafe,
               in production mode
2011-02-17 17:55:45 -05:00
Albert Cheng
f4117c1436 [svn-r19979] Patched in a temporary fix so that:
When $HDF5ExpressTest is NOT set or when it is set to 1 or 0, it does not
  skip test.
When $HDF5ExpressTest is set other than values above, it may skip tests.
  The following message is printed:
  Test skipped
  when some tests are really skipped.

This is a temporary patch so that v186 can be tested. A more permanent fix
is needed, later.

Tested: h5commitest.
2011-01-21 15:53:59 -05:00
Albert Cheng
5059d3933b [svn-r19964] Purpose:
This continues the previous work and this one breaks the
checker_board_hyperslab_dr_pio_test() into 4 smaller
sub-tests.

Tested: h5committest plus jam serial.
2011-01-17 19:07:50 -05:00
Albert Cheng
c16e4f5bd4 [svn-r19962] Purpose:
The shape same tests ran too long. Break them into smaller subtests
so that they can finish sub-test in a shorter time. Easier to tell
which one sub-test is taking too much time and/or errors occur in
one fo the sub-tests.

This one breaks the contig_hyperslab_dr_pio_test() into 4 smaller
sub-tests.

Tested: h5committest
2011-01-16 05:19:46 -05:00
Albert Cheng
473b1ac882 [svn-r19960] Bug: the VRFY macro, for some reason, called MPI_Finalize() when it encountered
error and wanted to exit the test program. This was not good since if only a
subset of processes called MPI_Finalize(), the other processes will likely
hang.  That happened in AIX that it would waited till the alarm signal to kill
the processes. Definitely a waste of time.
Solution: Changed it to call MPI_Abort.

That showed another problem. HDF5 has setup atexit post-process to try to close
unclose objects, release resources, etc.  But if the MPI processes have
encountered an error and has been aborted, it is not likely any more MPI calls
can function properly. E.g., it would attempt to free some communicators in
the HDF5 MPIO file handle. It would again hang.
Solution: need to call H5dont_atexit() to disable any atexit post-processing.
This must be done early, like before calling H5open. This is added to each
parallel test main program.

testphdf5.h:
    Changed macros VRFY and MESG. Added comments too.

testphdf5.c:
t_mpi.c:
t_cache.c:
t_shapesame.c:
    Added H5dont_atexit.

Tested: h5committest.
2011-01-16 04:53:22 -05:00
Albert Cheng
7b67295c19 [svn-r19939] Purpose:
Moved the two shape same tests from testphdf5 to a separated executables,
named t_shapesame. The shape same tests runs too long for testphdf5.
In a separated executalbe, it will be easier to separate any errors in
testphdf5 sub-tests from the shape same tests.

t_shapesame.c:
   Contains the shape same tests (cloned from t_rank_projection.c) plus
   a duplicate of "testphdf5.c" for now. After verifying it is correct, more
   cleanup is needed.
testphdf5.c:
   Removed the two shape same tests (chsssdrpio & cbhsssdrpio).
Makefile.am:
Makefile.in:
   Added t_shapesame as a new test executable.
   Removed t_rank_projections.c from part of testphdf5.
testph5.sh.in:
   Temporary added the "t_shapesame -p" test for testing shape same tests
   with MPIO-Posix VFD.

Tested: h5committested, plus serial jam.
2011-01-11 20:21:44 -05:00