Overview
| Comment: | Commented out optimisation. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/global-optimisation | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
9b540419c68b18d27701e260dde46334 |
| User & Date: | geraint@users.sourceforge.net on 2002-09-13 10:10:42.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2002-09-16
| ||
| 07:59:26 | Changed default optimisation to global. Leaf check-in: 304f924a9b user: geraint@users.sourceforge.net tags: origin/global-optimisation, trunk | |
|
2002-09-13
| ||
| 10:10:42 | Commented out optimisation. check-in: 9b540419c6 user: geraint@users.sourceforge.net tags: origin/global-optimisation, trunk | |
| 09:45:25 | Added lines to optimise mttedx. check-in: 138987448b user: geraint@users.sourceforge.net tags: origin/global-optimisation, trunk | |
Changes
Modified mttroot/mtt/bin/trans/dae2lde_r
from [e4375dbdcc]
to [f7a66f04ee].
| ︙ | ︙ | |||
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2.4.1 2002/09/03 23:44:43 geraint
## adding global optimisation (-optg).
##
## Revision 1.2 2001/07/27 23:29:10 geraint
## Optimises only when requested (-opt).
##
## Revision 1.1 2000/12/28 12:25:13 peterg
## Initial revision
##
###############################################################
optimise=''; optimise_msg=''
while [ -n "`echo $1 | grep '^-'`" ]; do
case $1 in
-optimise_global )
| > > > > > | | > > | | > > | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2.4.2 2002/09/10 23:24:19 geraint
## Rationalised local and global optimisations.
## Fixes presentation of locally optimised code (ode view).
## Much more elegant :-)
##
## Revision 1.2.4.1 2002/09/03 23:44:43 geraint
## adding global optimisation (-optg).
##
## Revision 1.2 2001/07/27 23:29:10 geraint
## Optimises only when requested (-opt).
##
## Revision 1.1 2000/12/28 12:25:13 peterg
## Initial revision
##
###############################################################
optimise=''; optimise_msg=''
while [ -n "`echo $1 | grep '^-'`" ]; do
case $1 in
-optimise_global )
# optimise='-optimise_global'
# optimise_msg=' with global optimisation' ;;
optimise=''
optimise_msg='' ;;
-optimise_local )
# optimise='-optimise_local'
# optimise_msg=' with local optimisation' ;;
optimise=''
optimise_msg='' ;;
*)
echo "$1 is an invalid argument - ignoring" ;;
esac
shift
done
# Create the reduce output code
|
| ︙ | ︙ | |||
124 125 126 127 128 129 130 |
write "%File: $1_ldeo.r";
in ("$1_ldeo_write.r");
write "END;";
SHUT "$1_ldeo.r";
quit;
EOF
| > | | | | | | | < < < < < < < < | 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
write "%File: $1_ldeo.r";
in ("$1_ldeo_write.r");
write "END;";
SHUT "$1_ldeo.r";
quit;
EOF
# TODO: edit mtt_optimise to accept lde and ldeo
# if [ ${optimise:-""} = "-optimise_global" ]; then
# mtt_optimise global $1 lde
# mtt_optimise global $1 ldeo
# elif [ ${optimise:-""} = "-optimise_local" ]; then
# mtt_optimise local $1 lde
# mtt_optimise local $1 ldeo
# fi
# Now invoke the standard error handling.
mtt_error_r cse2lde_r.log
|