summaryrefslogtreecommitdiffstats
path: root/config/pgi-fflags
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-12-18 20:34:25 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-12-18 20:34:25 (GMT)
commitbf9c37e0714ba36809c11c9f1ee2313ee2f0c30a (patch)
tree527493856a3cc2fb7e12f4fabe384d9565c785d4 /config/pgi-fflags
parent988b2d8e45cbfd9fc818e11547951c4821fe58a8 (diff)
downloadhdf5-bf9c37e0714ba36809c11c9f1ee2313ee2f0c30a.zip
hdf5-bf9c37e0714ba36809c11c9f1ee2313ee2f0c30a.tar.gz
hdf5-bf9c37e0714ba36809c11c9f1ee2313ee2f0c30a.tar.bz2
[svn-r9691] 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.
Diffstat (limited to 'config/pgi-fflags')
-rw-r--r--config/pgi-fflags13
1 files changed, 8 insertions, 5 deletions
diff --git a/config/pgi-fflags b/config/pgi-fflags
index c9b50f3..a5e7431 100644
--- a/config/pgi-fflags
+++ b/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"