[svn-r12329] Purpose:

work-around solution for special cases in collective IO

Description:
For collective IO
if some processes don't have any contributions to IO, even with the new SGI compiler(7.4.4m), the testing program will be hanged. Previously only thought it didn't work with old compiler. It turned out not to be true.

Solution:
Turned off the special flag: H5_MPI_SPECIAL_COLLECTIVE_IO_WORKS

Platforms tested:
UCAR IRIX 6.5
this file only affects IRIX 6.x system. No need to test at other platforms.

Misc. update:
This commit is contained in:
MuQun Yang 2006-05-04 15:17:05 -05:00
parent 1253bdc89d
commit f4731946ee

View File

@ -173,6 +173,8 @@ hdf5_cv_integer_to_ldouble_accurate=${hdf5_cv_integer_to_ldouble_accurate='no'}
# For IRIX 6.5, any version that is older than MIPSpro 7.3.1.3m,
# the MPI derived datatype is not working.
# Versions 7.4.2m or newer work.
# Up to version 7.4.4m, it cannot handle collective IO with non-contribution
# of some processes.
# Fix $hdf5_mpi_complex_derived_datatype_works if it is not set and is using cc.
if [ -z "$hdf5_mpi_complex_derived_datatype_works" -a $CC_BASENAME = cc ]; then
ccversion=`$CC -version 2>&1 | sed -e 's/.*Version //p'`
@ -181,8 +183,9 @@ if [ -z "$hdf5_mpi_complex_derived_datatype_works" -a $CC_BASENAME = cc ]; then
# Assume all versions 7.4.* or newer are okay
# and assume ccversion2 is never larger than 99.
ccversionval=`expr $ccversion1 \* 100 + $ccversion2`
hdf5_mpi_special_collective_io_works='no'
if [ $ccversionval -lt 704 ]; then
hdf5_mpi_complex_derived_datatype_works='no'
hdf5_mpi_special_collective_io_works='no'
# hdf5_mpi_special_collective_io_works='no'
fi
fi