ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/configure
(Generate patch)

Comparing trunk/configure (file contents):
Revision 861 by gezelter, Thu Jan 12 21:16:50 2006 UTC vs.
Revision 945 by gezelter, Tue Apr 25 02:09:01 2006 UTC

# Line 1572 | Line 1572 | if test -n "$ac_tool_prefix"; then
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
# Line 1614 | Line 1614 | if test -z "$CXX"; then
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
# Line 2128 | Line 2128 | if test -n "$ac_tool_prefix"; then
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
# Line 2170 | Line 2170 | if test -z "$CC"; then
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
# Line 2639 | Line 2639 | if test -n "$ac_tool_prefix"; then
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
# Line 2681 | Line 2681 | if test -z "$FC"; then
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
# Line 11137 | Line 11137 | case $debug in
11137   # Try to determine "good" native compiler flags if none specified on command
11138   # line
11139  
11140 < if test "$ac_test_FCFLAGS" != "set"; then
11140 > if test "$ac_test_FFLAGS" != "set"; then
11141    FCFLAGS=""
11142    case "${host_cpu}-${host_os}" in
11143  
11144    *linux*) if test "$FC" = ifc -o "$FC" = ifort; then
11145 <                    FCFLAGS="-O"
11145 >                    FCFLAGS="-fast"
11146                  fi;;
11147     rs6000*-aix*)  if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then
11148                      FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
# Line 11163 | Line 11163 | if test "$ac_test_FCFLAGS" != "set"; then
11163     *darwin*)
11164          if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then
11165                  FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
11166 +        fi
11167 +        if test "$FC" = ifort; then
11168 +                FCFLAGS="-O3 -ip -no-prec-dev -mdynamic-no-pic"
11169          fi;;
11170    esac
11171  
# Line 11322 | Line 11325 | if test "$ac_test_CFLAGS" != "set"; then
11325     *darwin*)
11326          if test "$CC" = xlc -o "$CC" = cc; then
11327                  CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
11328 +        fi
11329 +        if test "$CC" = icc; then
11330 +                CFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic"
11331          fi;;
11332    esac
11333  
# Line 11776 | Line 11782 | if test "$ac_test_CXXFLAGS" != "set"; then
11782     *darwin*)
11783          if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
11784                  CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
11785 +        fi
11786 +        if test "$CXX" = icpc; then
11787 +                CXXFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic"
11788          fi;;
11789    esac
11790  
# Line 12568 | Line 12577 | if test $ac_cv_lib_mpich_MPI_Init = yes; then
12577   echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
12578   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
12579   if test $ac_cv_lib_mpich_MPI_Init = yes; then
12580 <  MPI_LIB="-lmpich -lpmpich"
12580 >  MPI_LIB="-lpmpich -lmpich"
12581   fi
12582  
12583   fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines