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

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

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


Revision 1.8 - (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.7: +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+mpi_xd1,v 1.7 2007/11/04 15:27:20 mlosch Exp $
4 # $Name: $
5 #
6 # tested on xd1.awi-bremerhaven.de
7 # Linux xd1-420-6 2.4.21_H_01_01 #6 SMP Wed Nov 3 15:30:06 PST 2004 x86_64 unknownx
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_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
13
14 FC='mpif77'
15 CC='mpicc'
16 LINK='mpif77'
17
18 MPI='true'
19
20 DEFINES='-DWORDLENGTH=4'
21 CPP='/usr/bin/cpp -P -traditional'
22 EXTENDED_SRC_FLAG='-Mextend'
23
24 INCLUDES='-I/usr/mpich/mpich-1.2.6-pgi524/include -I/opt/awi/netcdf-3.6.0-p1/include'
25 LIBS='-L/usr/mpich/mpich-1.2.6-pgi524/lib -Mmpi -L/opt/awi/netcdf-3.6.0-p1/lib -lnetcdf'
26
27 if test "x$IEEE" = x ; then
28 # No need for IEEE-754
29 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
30 FOPTIM='-O2 -Munroll'
31 else
32 # Try to follow IEEE-754
33 FFLAGS="$FFLAGS -byteswapio"
34 FOPTIM='-tp amd64 -O0 -Munroll -Kieee'
35 fi
36 #FFLAGS=$FFLAGS' -mcmodel=medium'
37 #- might want to use '-r8' for fizhi pkg:
38 #FFLAGS="$FFLAGS -r8"

  ViewVC Help
Powered by ViewVC 1.1.22