/[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.4 - (show annotations) (download)
Sun Dec 19 22:42:23 2010 UTC (13 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.3: +3 -2 lines
add "-DNML_EXTENDED_F77" to the DEFINES list for pgf77 and g77 optfiles

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_amd64_pgf77+mpi_ocl,v 1.3 2010/03/21 21:34:01 jmc 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 -DNML_EXTENDED_F77'
19 CPP='/usr/bin/cpp -P -traditional'
20 EXTENDED_SRC_FLAG='-Mextend'
21 GET_FC_VERSION="-V"
22
23 INCLUDES='-I/opt/scali/include -I/var/tmp.shared/netcdf-64/include'
24 LIBS='-L/opt/scali/lib64 -L/var/tmp.shared/netcdf-64/lib -lfmpi -lmpi -lnetcdf'
25
26 if test "x$IEEE" = x ; then
27 # No need for IEEE-754
28 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
29 FOPTIM='-tp amd64 -O2 -Munroll'
30 else
31 # Try to follow IEEE-754
32 FFLAGS="$FFLAGS -byteswapio"
33 FOPTIM='-tp amd64 -O0 -Munroll -Kieee'
34 fi
35 #- might want to use '-r8' for fizhi pkg:
36 #FFLAGS="$FFLAGS -r8"

  ViewVC Help
Powered by ViewVC 1.1.22