| 1572 |  | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 1573 |  | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 1574 |  | if test -n "$ac_tool_prefix"; then | 
| 1575 | < | for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++ | 
| 1575 | > | for ac_prog in $CCC icpc icc pgCC pathCC c++ xlc++ xlC g++ CC | 
| 1576 |  | do | 
| 1577 |  | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 1578 |  | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 1614 |  | fi | 
| 1615 |  | if test -z "$CXX"; then | 
| 1616 |  | ac_ct_CXX=$CXX | 
| 1617 | < | for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++ | 
| 1617 | > | for ac_prog in $CCC icpc icc pgCC pathCC c++ xlc++ xlC g++ CC | 
| 1618 |  | do | 
| 1619 |  | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 1620 |  | set dummy $ac_prog; ac_word=$2 | 
| 2128 |  | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2129 |  | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 2130 |  | if test -n "$ac_tool_prefix"; then | 
| 2131 | < | for ac_prog in pathcc icc xlc gcc cc | 
| 2131 | > | for ac_prog in icc pgcc pathcc cc xlc gcc | 
| 2132 |  | do | 
| 2133 |  | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 2134 |  | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 2170 |  | fi | 
| 2171 |  | if test -z "$CC"; then | 
| 2172 |  | ac_ct_CC=$CC | 
| 2173 | < | for ac_prog in pathcc icc xlc gcc cc | 
| 2173 | > | for ac_prog in icc pgcc pathcc cc xlc gcc | 
| 2174 |  | do | 
| 2175 |  | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 2176 |  | set dummy $ac_prog; ac_word=$2 | 
| 2639 |  | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 2640 |  | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 2641 |  | if test -n "$ac_tool_prefix"; then | 
| 2642 | < | for ac_prog in pathf95 ifort ifc xlf95 pgf95 lf95 epcf90 xlf90 pgf90 fort f95 f90 g95 f77 | 
| 2642 | > | for ac_prog in ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort | 
| 2643 |  | do | 
| 2644 |  | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 2645 |  | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 2681 |  | fi | 
| 2682 |  | if test -z "$FC"; then | 
| 2683 |  | ac_ct_FC=$FC | 
| 2684 | < | for ac_prog in pathf95 ifort ifc xlf95 pgf95 lf95 epcf90 xlf90 pgf90 fort f95 f90 g95 f77 | 
| 2684 | > | for ac_prog in ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort | 
| 2685 |  | do | 
| 2686 |  | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 2687 |  | set dummy $ac_prog; ac_word=$2 | 
| 11162 |  | fi;; | 
| 11163 |  | *darwin*) | 
| 11164 |  | if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then | 
| 11165 | < | FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" | 
| 11165 | > | FCFLAGS="-qthreaded -O3 -qtune=auto -qarch=auto -qunroll=auto" | 
| 11166 |  | fi;; | 
| 11167 |  | esac | 
| 11168 |  |  | 
| 11321 |  | fi;; | 
| 11322 |  | *darwin*) | 
| 11323 |  | if test "$CC" = xlc -o "$CC" = cc; then | 
| 11324 | < | CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 11324 | > | CFLAGS="-qthreaded -O3 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 11325 |  | fi;; | 
| 11326 |  | esac | 
| 11327 |  |  | 
| 11775 |  | fi;; | 
| 11776 |  | *darwin*) | 
| 11777 |  | if test "$CXX" = xlc++ -o "$CXX" = xlC ; then | 
| 11778 | < | CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 11778 | > | CXXFLAGS="-qthreaded -O3 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 11779 |  | fi;; | 
| 11780 |  | esac | 
| 11781 |  |  | 
| 12501 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12502 |  | else | 
| 12503 |  | ac_check_lib_save_LIBS=$LIBS | 
| 12504 | < | LIBS="-lmpich "-lpmpich" $LIBS" | 
| 12504 | > | LIBS="-lpmpich "-lmpich" $LIBS" | 
| 12505 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 12506 |  | /* confdefs.h.  */ | 
| 12507 |  | _ACEOF | 
| 12568 |  | echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 | 
| 12569 |  | echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 | 
| 12570 |  | if test $ac_cv_lib_mpich_MPI_Init = yes; then | 
| 12571 | < | MPI_LIB="-lmpich -lpmpich" | 
| 12571 | > | MPI_LIB="-lpmpich -lmpich" | 
| 12572 |  | fi | 
| 12573 |  |  | 
| 12574 |  | fi | 
| 14621 |  | # would make configure fail if this is the last instruction. | 
| 14622 |  | $ac_cs_success || { (exit 1); exit 1; } | 
| 14623 |  | fi | 
| 14624 | + |  | 
| 14625 | + |  | 
| 14626 |  |  |