diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-10-31 15:42:28 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-10-31 15:42:28 (GMT) |
commit | 883a81a312b941ab7bf79727f748a82060c1c4b8 (patch) | |
tree | 7b06b11543cfbe2e7dddaa0f45950dc5d3cdc79c | |
parent | 36c4e5950b4473add8e698647e81488e9232209b (diff) | |
download | hdf5-883a81a312b941ab7bf79727f748a82060c1c4b8.zip hdf5-883a81a312b941ab7bf79727f748a82060c1c4b8.tar.gz hdf5-883a81a312b941ab7bf79727f748a82060c1c4b8.tar.bz2 |
[svn-r11636] Purpose:
Bug fix.
Description:
PGI v6.0-5 pgf90 compiler has a bug in Mstandard that caused compiling
of legal logical value to fail.
We also have second thought of imposing -Mstandard and -Mdclchk on users
since these flags are included in h5fc.
Solution:
Removed -Mstandard until we can fix the v6.0-5 compiler error
and moved -Mdclchk to DEBUG_FFLAGS so that it is used during development
mode but not imposed on users for production release.
Platforms tested:
heping: production mode using v6.0-4 and v6.0-5 compilers. Debug mode using
v6.0-4 compiler.
mir: production mode using v6.0-4 and v6.0-5 compilers. Debug mode using
v6.0-5 compiler.
-rw-r--r-- | fortran/config/pgi-fflags | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fortran/config/pgi-fflags b/fortran/config/pgi-fflags index 7a6abc2..6e1e4ad 100644 --- a/fortran/config/pgi-fflags +++ b/fortran/config/pgi-fflags @@ -70,7 +70,8 @@ if test "X-pgf90" = "X-$f9x_vendor"; then F9X_BASENAME=pgf90 F9XSUFFIXFLAG="" FSEARCH_DIRS="" - FFLAGS="$FFLAGS -Mdclchk -Mstandard" + # Uncomment the following to add something specific for FFLAGS. + #FFLAGS="$FFLAGS" # Production # Check for MPI wrapper being used and tweak down compiler options @@ -84,7 +85,7 @@ if test "X-pgf90" = "X-$f9x_vendor"; then PROD_FFLAGS="-fast -s -Mnoframe" # Debug - DEBUG_FFLAGS="-g -Mbounds -Mchkfpstk -Mchkptr" + DEBUG_FFLAGS="-g -Mbounds -Mchkfpstk -Mchkptr -Mdclchk" # Profile PROFILE_FFLAGS="-g -Mprof=func,line" |