[daip] Re: AIPS 31DEC02

Eric Greisen egreisen at nrao.edu
Wed Jul 16 11:47:40 EDT 2003


BTW it is

OPT2="-O2"  don;t forget the capital letter O.

There are a few lines that current set OPT2="..." then
OPT2="$OPT2 ..." etc.  Comment all of them out.  Then - right there in
the file put a line OPT2="-O2" (before the OPT3 reference to OPT2.

e.g.

         *g77)
              OPT0="" ; OPT1="-O"
#              OPT2="$OPT1 -fexpensive-optimizations -funroll-loops"
#              OPT2="$OPT2 -fstrength-reduce -frerun-cse-after-loop"
#              OPT2="$OPT2 -fforce-mem -fforce-addr -fcaller-saves"
#                                       These are probably dangerous...
#             OPT2="$OPT2 -ffast-math -funroll-loops"
              OPT2="-O2"
              OPT3=$OPT2 ; OPT4=$OPT3 ; OPT5=$OPT4 ; OPT6=$OPT5
              OPT7=$OPT6 ; OPT8=$OPT7 ; OPT9=$OPT8

Eric Greisen



More information about the Daip mailing list