#! /usr/bin/env bash # $Header: /home/ubuntu/mnt/e9_copy/MITgcm_contrib/verification_other/atm_gray/build/genmake_local,v 1.3 2014/08/08 22:08:50 jmc Exp $ # This is the local options file for the "new" version of genmake retv=1 if test "x$OPTFILE" != x ; then basename $OPTFILE | grep gfortran > /dev/null 2>&1 ; retv=$? ; fi if test $retv = 0 ; then FFLAGS='-fdefault-real-8 -fdefault-double-8' echo " local gfortran setting: FFLAGS='$FFLAGS'" else FFLAGS='-r8' echo " local default setting: FFLAGS='$FFLAGS'" fi ALWAYS_USE_F90=1