/[MITgcm]/MITgcm/verification/fizhi-cs-aqualev20/build/genmake_local
ViewVC logotype

Contents of /MITgcm/verification/fizhi-cs-aqualev20/build/genmake_local

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


Revision 1.4 - (show annotations) (download)
Fri Jun 3 15:13:01 2016 UTC (8 years ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, HEAD
Changes since 1.3: +8 -3 lines
add option to run with -s real64 for a cray compiler that does not
understand -r8

1 retvg=1
2 retvc=1
3 if test "x$OPTFILE" != x ; then
4 basename $OPTFILE | grep gfortran > /dev/null 2>&1 ; retvg=$? ;
5 basename $OPTFILE | grep cray > /dev/null 2>&1 ; retvc=$? ;
6 fi
7 if test $retvg = 0 ; then
8 FFLAGS='-fdefault-real-8 -fdefault-double-8'
9 echo " local gfortran setting: FFLAGS='$FFLAGS'"
10 elif test $retvc = 0 ; then
11 FFLAGS='-s real64'
12 echo " local cce setting: FFLAGS='$FFLAGS'"
13 else
14 FFLAGS='-r8'
15 echo " local default setting: FFLAGS='$FFLAGS'"
16 fi

  ViewVC Help
Powered by ViewVC 1.1.22