diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-12-18 19:52:58 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-12-18 19:52:58 (GMT) |
commit | d8afac83ca7c594fa6dddbd9bf5a0cb6b1584ad9 (patch) | |
tree | e5a0ae808fa86d363c892589f22c23a977287131 | |
parent | 1a0fbd14d4f79bc13515e5abe866f38a5cef6699 (diff) | |
download | hdf5-d8afac83ca7c594fa6dddbd9bf5a0cb6b1584ad9.zip hdf5-d8afac83ca7c594fa6dddbd9bf5a0cb6b1584ad9.tar.gz hdf5-d8afac83ca7c594fa6dddbd9bf5a0cb6b1584ad9.tar.bz2 |
[svn-r9690] Purpose:
Bug fix
Description:
mpich 1.2.6 does not like the tweaking of using -O2 flag.
Comment out the Tweaking since it caused problems to mpich1.2.6.
Need to investigate the reasons and effects to tweak.
Platforms tested:
Tested in heping using mpich 1.2.6 and in eirene uisng mpich 1.2.6.
-rw-r--r-- | fortran/config/pgi-fflags | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/fortran/config/pgi-fflags b/fortran/config/pgi-fflags index c9b50f3..a5e7431 100644 --- a/fortran/config/pgi-fflags +++ b/fortran/config/pgi-fflags @@ -61,11 +61,14 @@ if test "X-pgf90" = "X-$f9x_vendor"; then # Production # Check for MPI wrapper being used and tweak down compiler options - if test "X-" == "X-$is_mpi"; then - PROD_FFLAGS="-fast -s -Mnoframe" - else - PROD_FFLAGS="-O2 -s" - fi + # Comment out the Tweaking since it caused problems to mpich1.2.6. + # Need to investigate the reasons to tweak. + #if test "X-" == "X-$is_mpi"; then + # PROD_FFLAGS="-fast -s -Mnoframe" + #else + # PROD_FFLAGS="-O2 -s" + #fi + PROD_FFLAGS="-fast -s -Mnoframe" # Debug DEBUG_FFLAGS="-g -Mbounds -Mchkfpstk -Mchkptr" |