--- trunk/OOPSE-3.0/configure 2006/01/16 15:26:55 2567 +++ trunk/OOPSE-3.0/configure 2006/04/25 02:09:01 2733 @@ -11137,12 +11137,12 @@ if test "$ac_test_FCFLAGS" != "set"; then # Try to determine "good" native compiler flags if none specified on command # line -if test "$ac_test_FCFLAGS" != "set"; then +if test "$ac_test_FFLAGS" != "set"; then FCFLAGS="" case "${host_cpu}-${host_os}" in *linux*) if test "$FC" = ifc -o "$FC" = ifort; then - FCFLAGS="-O" + FCFLAGS="-fast" fi;; rs6000*-aix*) if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" @@ -11163,6 +11163,9 @@ if test "$ac_test_FCFLAGS" != "set"; then *darwin*) if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" + fi + if test "$FC" = ifort; then + FCFLAGS="-O3 -ip -no-prec-dev -mdynamic-no-pic" fi;; esac @@ -11322,6 +11325,9 @@ if test "$ac_test_CFLAGS" != "set"; then *darwin*) if test "$CC" = xlc -o "$CC" = cc; then CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" + fi + if test "$CC" = icc; then + CFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" fi;; esac @@ -11776,6 +11782,9 @@ if test "$ac_test_CXXFLAGS" != "set"; then *darwin*) if test "$CXX" = xlc++ -o "$CXX" = xlC ; then CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" + fi + if test "$CXX" = icpc; then + CXXFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" fi;; esac @@ -12568,7 +12577,7 @@ if test $ac_cv_lib_mpich_MPI_Init = yes; then echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 if test $ac_cv_lib_mpich_MPI_Init = yes; then - MPI_LIB="-lmpich -lpmpich" + MPI_LIB="-lpmpich -lmpich" fi fi @@ -14622,5 +14631,3 @@ fi $ac_cs_success || { (exit 1); exit 1; } fi - -