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

Contents of /MITgcm/tools/build_options/linux_amd64_pgf77_ocl

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


Revision 1.2 - (show annotations) (download)
Sun Mar 21 21:34:01 2010 UTC (14 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62p
Changes since 1.1: +10 -5 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 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_amd64_pgf77_ocl,v 1.1 2004/12/22 08:29:10 mlosch Exp $
4 # $Name: $
5
6 # tested on ocl00.awi-bremerhaven.de
7 # Linux ocl00 2.4.21-261-smp #1 SMP Wed Nov 17 22:05:59 UTC 2004 x86_64 unknown
8 # pgf77 5.2-4
9 # Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
10 # Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.
11
12 FC='pgf77'
13 CC='pgcc'
14 LINK='pgf77'
15
16 DEFINES='-DWORDLENGTH=4'
17 CPP='/usr/bin/cpp -P -traditional'
18 EXTENDED_SRC_FLAG='-Mextend'
19
20 INCLUDES='-I/var/tmp.shared/netcdf-64/include'
21 LIBS='-L/var/tmp.shared/netcdf-64/lib -lnetcdf'
22
23 if test "x$IEEE" = x ; then
24 # No need for IEEE-754
25 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
26 FOPTIM='-tp amd64 -O2 -Munroll'
27 # -Mvect=cachesize:512000,transform
28 else
29 # Try to follow IEEE-754
30 FFLAGS="$FFLAGS -byteswapio"
31 FOPTIM='-tp amd64 -O0 -Munroll -Kieee'
32 # -Mvect=cachesize:512000,transform
33 fi
34 #- might want to use '-r8' for fizhi pkg:
35 #FFLAGS="$FFLAGS -r8"

  ViewVC Help
Powered by ViewVC 1.1.22