From a5b16bbd75dddc008480448d458cb0a1b7ba70fa Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 8 Sep 2010 13:22:37 -0500 Subject: [svn-r19360] Bug fix: ID 2026 Description: testhdf5/select runs very slow when in --disable-production mode using pgcc compiler. This was caused by the -Mchkfpstk compiler switch added to the DEBUG_FLAGS in config/pgi-flags file. Solution: Removed -Mchkfpstk from both pgi-flags and pgi-fflags. See Bug 2026 for dettails. Tested: (no h5committest test since they don't use PGI compilers.) Jam (linux32): using pgcc/pgf90/pgCC using default and --enable-production. Amani (linux64): using pgcc/pgf90/pgCC (32 bits mode by "-tp k8-32"), using default and --enable-production. --- config/pgi-fflags | 2 +- config/pgi-flags | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/pgi-fflags b/config/pgi-fflags index 7f4ed4d..6cb8930 100644 --- a/config/pgi-fflags +++ b/config/pgi-fflags @@ -86,7 +86,7 @@ if test "X-pgf90" = "X-$f9x_vendor"; then PROD_FCFLAGS="-fast -s -Mnoframe" # Debug - DEBUG_FCFLAGS="-g -Mbounds -Mchkfpstk -Mchkptr -Mdclchk" + DEBUG_FCFLAGS="-g -Mbounds -Mchkptr -Mdclchk" # Profile PROFILE_FCFLAGS="-g -Mprof=func,line" diff --git a/config/pgi-flags b/config/pgi-flags index 3d481bd..29e6f05 100644 --- a/config/pgi-flags +++ b/config/pgi-flags @@ -87,7 +87,7 @@ if test "X-pgcc" = "X-$cc_vendor"; then PROD_CPPFLAGS= # Debug - DEBUG_CFLAGS="-g -Mbounds -Mchkfpstk" + DEBUG_CFLAGS="-g -Mbounds" DEBUG_CPPFLAGS= # Profile -- cgit v0.12