mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
[svn-r21306] Description:
Changed the minimum required version for the pgi compiler to be 11.7, 11.3 version fails in tH5P_F03.f90 when the option -fast is used (i.e. production mode) f_ptr = C_LOC(rd_c) CALL H5Pget_fill_value_f(dcpl, comp_type_id, f_ptr, error) it returns all zeros, version 11.7 does not have this problem. tested: jam koala (pgi, 11.3 and 11.7)
This commit is contained in:
parent
5aa22d04da
commit
49d739e9a5
6
configure
vendored
6
configure
vendored
@ -6423,16 +6423,16 @@ $as_echo_n "checking if Fortran compiler version compatible with Fortran 2003 HD
|
||||
vers_major=`${FC} -V 2>&1 | grep 'pgf' | grep -o ' [0-9]*\.' | sed -e 's/[^0-9]//g'`
|
||||
vers_minor=`${FC} -V 2>&1 | grep 'pgf' | grep -o '\.[0-9]*\-' | sed -e 's/[^0-9]//g'`
|
||||
|
||||
if test -n "$vers_major" && test "$vers_major" -gt 10; then
|
||||
if test -n "$vers_major" && test "$vers_major" -gt 11; then
|
||||
HAVE_FORTRAN_2003="yes"
|
||||
echo $HAVE_FORTRAN_2003
|
||||
else
|
||||
if test -n "$vers_major" && test "$vers_major" = 10 && test -n "$vers_minor" && test "$vers_minor" -gt 4; then
|
||||
if test -n "$vers_major" && test "$vers_major" = 11 && test -n "$vers_minor" && test "$vers_minor" -gt 6; then
|
||||
HAVE_FORTRAN_2003="yes"
|
||||
echo $HAVE_FORTRAN_2003
|
||||
else
|
||||
echo $HAVE_FORTRAN_2003
|
||||
as_fn_error $? "Only The Portland Group Compiler, Version >= 10.4-0 F2003 supported; remove --enable-fortran2003" "$LINENO" 5
|
||||
as_fn_error $? "Only The Portland Group Compiler, Version >= 11.7-0 F2003 supported; remove --enable-fortran2003" "$LINENO" 5
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
@ -608,16 +608,16 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
|
||||
vers_major=[`${FC} -V 2>&1 | grep 'pgf' | grep -o ' [0-9]*\.' | sed -e 's/[^0-9]//g'`]
|
||||
vers_minor=[`${FC} -V 2>&1 | grep 'pgf' | grep -o '\.[0-9]*\-' | sed -e 's/[^0-9]//g'`]
|
||||
|
||||
if test -n "$vers_major" && test "$vers_major" -gt 10; then
|
||||
if test -n "$vers_major" && test "$vers_major" -gt 11; then
|
||||
HAVE_FORTRAN_2003="yes"
|
||||
echo $HAVE_FORTRAN_2003
|
||||
else
|
||||
if test -n "$vers_major" && test "$vers_major" = 10 && test -n "$vers_minor" && test "$vers_minor" -gt 4; then
|
||||
if test -n "$vers_major" && test "$vers_major" = 11 && test -n "$vers_minor" && test "$vers_minor" -gt 6; then
|
||||
HAVE_FORTRAN_2003="yes"
|
||||
echo $HAVE_FORTRAN_2003
|
||||
else
|
||||
echo $HAVE_FORTRAN_2003
|
||||
AC_MSG_ERROR([Only The Portland Group Compiler, Version >= 10.4-0 F2003 supported; remove --enable-fortran2003])
|
||||
AC_MSG_ERROR([Only The Portland Group Compiler, Version >= 11.7-0 F2003 supported; remove --enable-fortran2003])
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user