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

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

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


Revision 1.2 - (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.1: +11 -4 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_ncar,v 1.1 2005/01/12 22:04:59 ce107 Exp $
4 # $Name: $
5 #
6 # Build options for Suse SLES-8.1 Opteron
7 # tested on (Linux ln0127en 2.4.21-143-numa #1 SMP Fri Oct 31 00:17:52 UTC 2003 x86_64 unknown) system 20041512
8 #
9
10 FC=mpif77
11 CC=mpicc
12 LINK=mpif77
13
14 DEFINES='-DWORDLENGTH=4 -DALLOW_USE_MPI -DALWAYS_USE_MPI'
15 CPP='cpp -traditional -P'
16 EXTENDED_SRC_FLAG='-Mextend'
17
18 MAKEDEPEND=/usr/X11R6/bin/makedepend
19 INCLUDES=-I/opt/mpich-gm/include
20
21 NOOPTFLAGS='-O0'
22
23 if test "x$IEEE" = x ; then
24 # No need for IEEE-754
25 FFLAGS="$FFLAGS -byteswapio -Mnodclchk -Ktrap=fp"
26 FOPTIM='-tp k8-64 -pc=64 -fastsse -O3 -Msmart -Mvect=cachesize:1048576,transform'
27 else
28 # Try to follow IEEE-754
29 FFLAGS="$FFLAGS -byteswapio -Ktrap=fp"
30 FOPTIM='-tp k8-64 -pc=64 -fastsse -O3 -Msmart -Kieee -Mvect=cachesize:1048576,transform'
31 fi
32 #- might want to use '-r8' for fizhi pkg:
33 #FFLAGS="$FFLAGS -r8"

  ViewVC Help
Powered by ViewVC 1.1.22