--- MITgcm/tools/build_options/linux_amd64_g77 2006/11/30 22:57:46 1.2 +++ MITgcm/tools/build_options/linux_amd64_g77 2009/03/29 20:32:42 1.3 @@ -1,16 +1,18 @@ #!/bin/bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/build_options/linux_amd64_g77,v 1.2 2006/11/30 22:57:46 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/build_options/linux_amd64_g77,v 1.3 2009/03/29 20:32:42 jmc Exp $ # $Name: $ # # Build options for Suse 9 Opteron -# tested on (Linux eaps-dhcp-127 2.4.21-102-smp #1 SMP Wed Sep 24 13:55:59 UTC 2003 x86_64 x86_64 x86_64 GNU/Linux) system 20031107 +# tested on Linux 2.4.21-102-smp (x86_64), +# Linux 2.6.26.8-57.fc8 (x86_64), Linux 2.6.27.9-159.fc10.x86_64 # FC=g77 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' CPP='cpp -traditional -P' NOOPTFLAGS='-O0' +EXTENDED_SRC_FLAG='-ffixed-line-length-132' #MAKEDEPEND=/usr/X11R6/bin/gccmakedep #MAKEDEPEND=/usr/X11R6/bin/makedepend # For IEEE, use the "-ffloat-store" option @@ -19,7 +21,8 @@ FOPTIM='-O3 -funroll-loops' else FFLAGS='-Wimplicit -Wunused -ffloat-store' - FOPTIM='-O0 ' +# FFLAGS="$FFLAGS -g -mfpmath=sse -msse -msse2 -fbounds-check" + FOPTIM='-O0' fi if test -d /usr/include/netcdf-3 ; then @@ -44,4 +47,3 @@ LIBS='-L/usr/local/netcdf/lib' fi -