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

Contents of /MITgcm/tools/build_options/linux_amd64_pgf77+mpi_ocl

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


Revision 1.3 - (show 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.2: +11 -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+mpi_ocl,v 1.2 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 MPI='true'
17
18 DEFINES='-DWORDLENGTH=4'
19 CPP='/usr/bin/cpp -P -traditional'
20 EXTENDED_SRC_FLAG='-Mextend'
21
22 INCLUDES='-I/opt/scali/include -I/var/tmp.shared/netcdf-64/include'
23 LIBS='-L/opt/scali/lib64 -L/var/tmp.shared/netcdf-64/lib -lfmpi -lmpi -lnetcdf'
24
25 if test "x$IEEE" = x ; then
26 # No need for IEEE-754
27 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
28 FOPTIM='-tp amd64 -O2 -Munroll'
29 else
30 # Try to follow IEEE-754
31 FFLAGS="$FFLAGS -byteswapio"
32 FOPTIM='-tp amd64 -O0 -Munroll -Kieee'
33 fi
34 #- might want to use '-r8' for fizhi pkg:
35 #FFLAGS="$FFLAGS -r8"

  ViewVC Help
Powered by ViewVC 1.1.22