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

Annotation of /MITgcm/tools/build_options/sunos_i86pc_f95

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


Revision 1.1 - (hide annotations) (download)
Tue Sep 2 11:55:06 2008 UTC (15 years, 7 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint61d, checkpoint61e
new opt-file file for a new platform

1 mlosch 1.1 #!/bin/bash
2     #
3     # $Header: $
4     # $Name: $
5     #
6     # tested on
7     # uname -a: SunOS solasrv4 5.10 Generic_127128-11 i86pc i386 i86pc
8     # with f95: Sun Fortran 95 8.3 SunOS_i386 Patch 127002-04 2008/04/16
9    
10    
11     FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
12     S64='$(TOOLSDIR)/set64bitConst.sh'
13     DEFINES='-DWORDLENGTH=4'
14     #AWK='gawk'
15     MAKEDEPEND='$(TOOLSDIR)/cyrus-imapd-makedepend/makedepend'
16     #MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
17     #MAKE='gmake'
18     CPP='/usr/ccs/lib/cpp -P'
19     FC='f95'
20     # This is an example of how to specify where your
21     # netcdf libraries and include files are;
22     # in this particular example, they are in
23     # /opt/netcdf-3.6.2/libs and /opt/netcdf-3.6.2/include.
24     INCLUDES='-I/opt/netcdf-3.6.2/include'
25     LIBS='-L/opt/netcdf-3.6.2/lib'
26    
27     if test "x$IEEE" = x ; then
28     # No need for IEEE-754
29     FFLAGS='-stackvar -explicitpar -vpara -e -u -noautopar -xfilebyteorder=big16:%all'
30     FFLAGS=$FFLAGS' -xtypemap=real:64,double:64,integer:32'
31     FOPTIM='-dalign -O4 -xarch=native -fsimple=2'
32     CFLAGS='-dalign -xO4 -xarch=native'
33     else
34     # Try to follow IEEE-754
35     FFLAGS='-e -u -fsimple=0 -xfilebyteorder=big16:%all'
36     FFLAGS=$FFLAGS' -xtypemap=real:64,double:64,integer:32'
37     FOPTIM='-O0'
38     CFLAGS='-xO0'
39     fi
40     NOOPTFLAGS='-dalign -O0'
41    

  ViewVC Help
Powered by ViewVC 1.1.22