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

Annotation of /MITgcm/tools/build_options/linux_amd64_pgf77

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


Revision 1.2 - (hide annotations) (download)
Sun Mar 21 21:34:01 2010 UTC (14 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62p
Changes since 1.1: +11 -4 lines
- remove "-r8" option (more similar to other compiler optfile).
- does not set FFLAGS (done in genmake2) but append to it
- set EXTENDED_SRC_FLAG

1 ce107 1.1 #!/bin/bash
2     #
3 jmc 1.2 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_amd64_pgf77,v 1.1 2005/01/12 22:04:59 ce107 Exp $
4 ce107 1.1 # $Name: $
5     #
6     # Build options for Suse SLES-8.1 Opteron
7     # tested on (Linux ln0127en 2.4.21-143-numa #1 SMP Fri Oct 31 00:17:52 UTC 2003 x86_64 unknown) system 20041512
8     #
9    
10     FC=pgf77
11 jmc 1.2
12 ce107 1.1 DEFINES='-DWORDLENGTH=4'
13     CPP='cpp -traditional -P'
14 jmc 1.2 EXTENDED_SRC_FLAG='-Mextend'
15    
16     MAKEDEPEND=/usr/X11R6/bin/makedepend
17    
18 ce107 1.1 NOOPTFLAGS='-O0'
19 jmc 1.2
20 ce107 1.1 if test "x$IEEE" = x ; then
21     # No need for IEEE-754
22 jmc 1.2 FFLAGS="$FFLAGS -byteswapio -Mnodclchk -Ktrap=fp"
23 ce107 1.1 FOPTIM='-tp k8-64 -pc=64 -O2 -scalarsse -Mvect=sse' #-fastsse -O3 -Msmart -Mvect=cachesize:1048576,transform'
24     else
25     # Try to follow IEEE-754
26 jmc 1.2 FFLAGS="$FFLAGS -byteswapio -Ktrap=fp"
27 ce107 1.1 FOPTIM='-tp k8-64 -pc=64 -O2 -scalarsse -Mvect=sse -Kieee' #-fastsse -O3 -Msmart -Kieee -Mvect=cachesize:1048576,transform'
28     fi
29 jmc 1.2 #- might want to use '-r8' for fizhi pkg:
30     #FFLAGS="$FFLAGS -r8"
31 ce107 1.1

  ViewVC Help
Powered by ViewVC 1.1.22