/[MITgcm]/MITgcm/tools/build_options/darwin_ia32_gfortran
ViewVC logotype

Annotation of /MITgcm/tools/build_options/darwin_ia32_gfortran

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


Revision 1.1 - (hide annotations) (download)
Tue Nov 28 19:01:36 2006 UTC (17 years, 5 months ago) by dfer
Branch: MAIN
build options files for MacOs Intel gfortran/g95

1 dfer 1.1 #!/bin/bash
2    
3     # $Header: /u/gcmpack/MITgcm/tools/build_options/darwin_ppc_g77,v 1.5 2006/02/13 13:11:19 mlosch Exp $
4     #
5     # cc-compiler is available only with the Apple Developer Tools,
6     # so make sure that those are installed
7     #
8    
9     CPP='/usr/bin/cpp -traditional -P -xassembler-with-cpp'
10     FC=gfortran
11     LINK=gfortran
12     NOOPTFLAGS='-O0'
13    
14     S64='$(TOOLSDIR)/set64bitConst.sh'
15     #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
16     #EH3 MAKEDEPEND=makedepend
17     DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_TERMINATOR'
18     INCLUDES='-I/Users/davidferreira/Documents/netcdf-3.6.1/gfortran/include'
19     LIBS='-L/Users/davidferreira/Documents/netcdf-3.6.1/gfortran/lib'
20    
21     # For IEEE, use the "-ffloat-store" option
22     if test "x$IEEE" = x ; then
23     # FFLAGS='-Wunused -Wuninitialized -fsecond-underscore'
24     FFLAGS='-Wunused -Wuninitialized'
25     FOPTIM='-O3 -funroll-loops'
26     # FOPTIM='-O3 -malign-double -funroll-loops'
27     else
28     FFLAGS='-Wunused -ffloat-store -fsecond-underscore'
29     FOPTIM='-O0'
30     fi
31    
32    

  ViewVC Help
Powered by ViewVC 1.1.22