/[MITgcm]/MITgcm/tools/genmake2
ViewVC logotype

Diff of /MITgcm/tools/genmake2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.121 by edhill, Tue Mar 22 19:45:03 2005 UTC revision 1.124 by edhill, Tue Jun 7 20:52:42 2005 UTC
# Line 321  EOF Line 321  EOF
321    
322      #================================================================      #================================================================
323      #  look for possible FORTRAN compilers      #  look for possible FORTRAN compilers
324      tmp="$MITGCM_FC $FC efc g77 f77 pgf77 pgf95 ifc f90 f95 mpif77 mpf77 mpxlf95"      tmp="$MITGCM_FC $FC efc g77 f77 pgf77 pgf95 ifc f90 f95 mpif77 mpf77 mpxlf95 gfortran"
325      p_FC=      p_FC=
326      for c in $tmp ; do      for c in $tmp ; do
327          rm -f ./hello.f ./hello          rm -f ./hello.f ./hello
# Line 835  NOOPTFLAGS= Line 835  NOOPTFLAGS=
835  MPI=  MPI=
836  MPIPATH=  MPIPATH=
837    
838  # DEFINES checked by test compilation  # DEFINES checked by test compilation or command-line
839  HAVE_SYSTEM=  HAVE_SYSTEM=
840  HAVE_FDATE=  HAVE_FDATE=
841  FC_NAMEMANGLE=  FC_NAMEMANGLE=
# Line 843  HAVE_CLOC= Line 843  HAVE_CLOC=
843  HAVE_STAT=  HAVE_STAT=
844  HAVE_NETCDF=  HAVE_NETCDF=
845  HAVE_ETIME=  HAVE_ETIME=
846    IGNORE_TIME=
847    
848  MODS=  MODS=
849  TOOLSDIR=  TOOLSDIR=
# Line 1091  for ac_option in "$@" ; do Line 1092  for ac_option in "$@" ; do
1092              ac_prev=TAMC_EXTRA ;;              ac_prev=TAMC_EXTRA ;;
1093          -tamc_extra=* | --tamc_extra=*)          -tamc_extra=* | --tamc_extra=*)
1094              TAMC_EXTRA=$ac_optarg ;;              TAMC_EXTRA=$ac_optarg ;;
1095            
1096            -ignoretime | -ignore_time | --ignoretime | --ignore_time)
1097                IGNORE_TIME="-DIGNORE_TIME" ;;
1098    
1099          -*)          -*)
1100              echo "Error: unrecognized option: "$ac_option              echo "Error: unrecognized option: "$ac_option
# Line 1387  if test "x$HAVE_NETCDF" != x ; then Line 1391  if test "x$HAVE_NETCDF" != x ; then
1391  else  else
1392      echo "no"      echo "no"
1393  fi  fi
1394    DEFINES="$DEFINES $IGNORE_TIME"
1395    
1396  printf "\n===  Setting defaults  ===\n"  printf "\n===  Setting defaults  ===\n"
1397  printf "  Adding MODS directories:  "  printf "  Adding MODS directories:  "
# Line 1827  for i in $SOURCEDIRS ; do Line 1831  for i in $SOURCEDIRS ; do
1831      done      done
1832  done  done
1833  if test ! "x"$FS = "x.f" ; then  if test ! "x"$FS = "x.f" ; then
1834      cat ad_files | sed -e "s/\.f/$FS/g" > ad_files_f      cat ad_files | sed -e "s/\.f/.$FS/g" > ad_files_f
1835      mv -f ad_files_f ad_files      mv -f ad_files_f ad_files
1836  fi  fi
1837    

Legend:
Removed from v.1.121  
changed lines
  Added in v.1.124

  ViewVC Help
Powered by ViewVC 1.1.22