Skip to content

Commit

Permalink
unite TAF version controls
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanaEscobar committed Aug 6, 2024
1 parent a3e6881 commit d9590a9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tools/adjoint_options/adjoint_default
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@
TAF=staf
TAMC=stamc

#- select which Fortran version to specify to TAF
if test "x$TAF_FORTRAN_VERS" = x ; then
if test "x$ALWAYS_USE_F90" = "x1" ; then
TAF_FORTRAN_VERS='F90' ;
else
TAF_FORTRAN_VERS='F77' ;
fi
fi

if test "x$USE_DIVA" = "x1" ; then
DIVA='true'
DIVA_FLAG="-pure"
Expand Down Expand Up @@ -44,6 +35,15 @@ if test "x$USE_EXTENDED_SRC" = "xt"; then
TAF_COMMON_FLAGS="-e $TAF_COMMON_FLAGS"
fi

#- select which Fortran version to specify to TAF
if test "x$TAF_FORTRAN_VERS" = x ; then
if test "x$ALWAYS_USE_F90" = "x1" ; then
TAF_FORTRAN_VERS='F90' ;
else
TAF_FORTRAN_VERS='F77' ;
fi
fi

if test $TAF_FORTRAN_VERS = 'F77' ; then
TAF_COMMON_FLAGS="-f77 $TAF_COMMON_FLAGS"
elif test $TAF_FORTRAN_VERS = 'F90' ; then
Expand Down

0 comments on commit d9590a9

Please sign in to comment.