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

Annotation 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 - (hide 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 edhill 1.1 #!/bin/bash
2     #
3 jmc 1.4 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_amd64_pgf77+mpi_ocl,v 1.3 2010/03/21 21:34:01 jmc Exp $
4 jmc 1.3 # $Name: $
5    
6 mlosch 1.2 # 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 edhill 1.1
12 mlosch 1.2 FC='pgf77'
13 edhill 1.1 CC='pgcc'
14 mlosch 1.2 LINK='pgf77'
15    
16 edhill 1.1 MPI='true'
17 jmc 1.3
18 jmc 1.4 DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'
19 jmc 1.3 CPP='/usr/bin/cpp -P -traditional'
20     EXTENDED_SRC_FLAG='-Mextend'
21 jmc 1.4 GET_FC_VERSION="-V"
22 jmc 1.3
23 mlosch 1.2 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 edhill 1.1
26     if test "x$IEEE" = x ; then
27     # No need for IEEE-754
28 jmc 1.3 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
29 edhill 1.1 FOPTIM='-tp amd64 -O2 -Munroll'
30     else
31     # Try to follow IEEE-754
32 jmc 1.3 FFLAGS="$FFLAGS -byteswapio"
33 mlosch 1.2 FOPTIM='-tp amd64 -O0 -Munroll -Kieee'
34 edhill 1.1 fi
35 jmc 1.3 #- might want to use '-r8' for fizhi pkg:
36     #FFLAGS="$FFLAGS -r8"

  ViewVC Help
Powered by ViewVC 1.1.22