mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r11782] Purpose:
bug fix. Description: Mpich2 also has the derived type errors but some mpich2 gave no verison number and some gave 1.0.2. Solution: Added those two cases to catch mpich2 that had these sort of errors. Platforms tested: heping using mpich and mpich2.
This commit is contained in:
parent
fe505c2bbf
commit
67f39db8a0
12
config/mpich
12
config/mpich
@ -24,6 +24,9 @@
|
||||
# Notice that this code works only if the mpicc compiler shows its $MPIVERSION
|
||||
# properly. It is confirmed mpicc does that as far back as v1.2.3.
|
||||
|
||||
# mpich2 do not support it correctly. But mpich2 reports small version number
|
||||
# indistiguishable from mpich. Some mpich2 reports blank, some reports 1.0.2.
|
||||
|
||||
if [ -z "$hdf5_mpi_complex_derived_datatype_works" ]; then
|
||||
ccversion=`$CC -v 2>/dev/null`
|
||||
# mpich compiler will give "mpicc for 1.2.x ..."
|
||||
@ -34,6 +37,15 @@ if [ -z "$hdf5_mpi_complex_derived_datatype_works" ]; then
|
||||
1.2.[0-5]*)
|
||||
hdf5_mpi_complex_derived_datatype_works='no'
|
||||
;;
|
||||
1.0.2)
|
||||
# mpich2 is recycling the version number, some report
|
||||
# 1.0.2, some report blank.
|
||||
hdf5_mpi_complex_derived_datatype_works='no'
|
||||
;;
|
||||
"")
|
||||
# got blank ccversion. Assume it is bad a mpich2.
|
||||
hdf5_mpi_complex_derived_datatype_works='no'
|
||||
;;
|
||||
*)
|
||||
# assume okay
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user