/[MITgcm]/MITgcm/tools/build_options/sunos_sun4u_mpf77+mpi_sunfire
ViewVC logotype

Annotation of /MITgcm/tools/build_options/sunos_sun4u_mpf77+mpi_sunfire

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


Revision 1.1 - (hide annotations) (download)
Fri Dec 10 16:08:41 2004 UTC (19 years, 5 months ago) by mlosch
Branch: MAIN
o rename sunfire+mpi into sunos_sun4u_mpf77+mpi_sunfire
  - this file is tested on the SunFile 15K at AWI, which is a funny
    machine.
  - remove obsolete file

1 mlosch 1.1 #!/bin/bash
2     #
3     # $Header: $
4     #
5     # developed and tested on
6     # SunOS model 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-15000
7     # (hostname: model.awi-bremerhaven.de)
8     #
9    
10    
11     FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
12     S64='$(TOOLSDIR)/set64bitConst.sh'
13     DEFINES='-DWORDLENGTH=4'
14    
15     MPI='true'
16     AWK='gawk'
17     MAKE='gmake'
18     MAKEDEPEND='makedepend'
19     # compiler
20     FC='mpf77'
21     LINK='mpf77'
22     CPP='/usr/ccs/lib/cpp -P'
23     # paths
24     INCLUDES='-I/opt/SUNWhpc/include -I/usr/local/include'
25     LIBS='-L/opt/SUNWhpc/lib -lmpi -lthread -lsocket -lnsl -L/usr/local/lib'
26     # optimization
27     NOOPTFLAGS='-dalign -O0 -xarch=native'
28     if test "x$IEEE" = x ; then
29     # No need for IEEE-754
30     FFLAGS='-stackvar -e -u -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 -xtypemap=real:64,double:64,integer:32 -fsimple=0'
36     FOPTIM='-O0'
37     CFLAGS='-xO0'
38     fi

  ViewVC Help
Powered by ViewVC 1.1.22