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

Annotation of /MITgcm/tools/build_options/linux_amd64_pgf77_ocl

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


Revision 1.4 - (hide annotations) (download)
Tue Sep 13 18:28:04 2011 UTC (12 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63c, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.3: +10 -5 lines
merge linux_amd64_pgf77+mpi_ocl into this optfile

1 mlosch 1.1 #!/bin/bash
2     #
3 jmc 1.4 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_amd64_pgf77_ocl,v 1.3 2010/12/19 22:42:23 jmc Exp $
4 jmc 1.2 # $Name: $
5    
6 mlosch 1.1 # 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 jmc 1.4 CC='pgcc'
13 mlosch 1.1 FC='pgf77'
14     LINK='pgf77'
15 jmc 1.2
16 jmc 1.3 DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'
17 mlosch 1.1 CPP='/usr/bin/cpp -P -traditional'
18 jmc 1.2 EXTENDED_SRC_FLAG='-Mextend'
19 jmc 1.3 GET_FC_VERSION="-V"
20 mlosch 1.1
21     if test "x$IEEE" = x ; then
22     # No need for IEEE-754
23 jmc 1.2 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
24 mlosch 1.1 FOPTIM='-tp amd64 -O2 -Munroll'
25     # -Mvect=cachesize:512000,transform
26     else
27     # Try to follow IEEE-754
28 jmc 1.2 FFLAGS="$FFLAGS -byteswapio"
29 mlosch 1.1 FOPTIM='-tp amd64 -O0 -Munroll -Kieee'
30     # -Mvect=cachesize:512000,transform
31     fi
32 jmc 1.2 #- might want to use '-r8' for fizhi pkg:
33     #FFLAGS="$FFLAGS -r8"
34 jmc 1.4
35     INCLUDES='-I/var/tmp.shared/netcdf-64/include'
36     LIBS='-L/var/tmp.shared/netcdf-64/lib -lnetcdf'
37    
38     if test "x$MPI" = xtrue ; then
39     INCLUDES="-I/opt/scali/include $INCLUDES"
40     LIBS="-L/opt/scali/lib64 $LIBS -lfmpi -lmpi"
41     fi

  ViewVC Help
Powered by ViewVC 1.1.22