diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-10-26 20:44:19 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-10-26 20:44:19 (GMT) |
commit | 91715368236e3516f89f2fbdd85cfb21e76263c6 (patch) | |
tree | 543cea6e4396830a6244138aeab05b05398e0daf /config/ia64-linux-gnu | |
parent | 60ef06bdf6d1618bab53b899a4ab6ae8193789d6 (diff) | |
download | hdf5-91715368236e3516f89f2fbdd85cfb21e76263c6.zip hdf5-91715368236e3516f89f2fbdd85cfb21e76263c6.tar.gz hdf5-91715368236e3516f89f2fbdd85cfb21e76263c6.tar.bz2 |
[svn-r11610] Purpose:
Bug fix.
Description:
The previous way of detecting the MPICH version fails if the suspected
$CC does not give the expected MPICH version information. Though no
consequence, it generates error messages that alarm users.
Also, mpich2 gives the version information as if it were mpich v1.0.2
which was incorrectly included as an earlier version of the origianl
mpich.
Solution:
Implemented a more robust code to detect the version and narrow the
recognition down to v1.2.0-v1.2.5. Also, the code were duplicated in
two files (linux-gnulibc1 and ia64-linux-gnu). Combined them into a
new file called mpich.
Platforms tested:
Tested in heping using mpicc and mpich2/mpicc and also in tg-ncsa.
Misc. update:
Updated MANIFEST.
Diffstat (limited to 'config/ia64-linux-gnu')
-rw-r--r-- | config/ia64-linux-gnu | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/config/ia64-linux-gnu b/config/ia64-linux-gnu index 28e4ff3..542f4cf 100644 --- a/config/ia64-linux-gnu +++ b/config/ia64-linux-gnu @@ -126,19 +126,6 @@ case $CXX_BASENAME in PROFILE_CPPFLAGS= ;; esac -# We know that for mpich 1.2.5 and previous version, complicated derived datatype is -# supported, we need to set the macro to hdf5_mpi_complex_derived_datatype_works to no. -# Notice that this fix will only work if the compiler name is mpicc and mpi package is -# mpich 1.x.x. -if [ -z "$hdf5_mpi_complex_derived_datatype_works" -a $CC_BASENAME = mpicc ]; then - ccversion=`$CC -v 2>&1 | sed -e 's/.*for //p'` - ccversion1=`echo $ccversion | cut -f1 -d.` - ccversion2=`echo $ccversion | cut -f2 -d.` - ccversiontemp=`echo $ccversion | cut -f3 -d.` - ccversion3=`echo $ccversiontemp | cut -c1` - ccversionval=`expr $ccversion1 \* 100 + $ccversion2 \* 10 + $ccversion3` - if [ $ccversionval -lt 126 ]; then - hdf5_mpi_complex_derived_datatype_works='no' - fi -fi +# Check MPICH settings +. $srcdir/config/mpich |