/[MITgcm]/MITgcm/tools/build_options/linux_ia32_pgf77+mpi
ViewVC logotype

Contents of /MITgcm/tools/build_options/linux_ia32_pgf77+mpi

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


Revision 1.7 - (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.6: +4 -3 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_ia32_pgf77+mpi,v 1.6 2010/03/21 21:34:01 jmc Exp $
4 # $Name: $
5
6 FC='pgf77'
7
8 DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'
9 #CPP='cpp -traditional -P'
10 EXTENDED_SRC_FLAG='-Mextend'
11 GET_FC_VERSION="-V"
12
13 INCLUDES='-I/usr/local/mpich-1.2.1/pgi_fortran_binding/include'
14 LIBS='-L/usr/local/mpich-1.2.1/pgi_fortran_binding/lib/ -lfmpich -lmpich'
15 #INCLUDES='-I/usr/local/mpich-1.2.1/pgi_fortran_binding/include'
16 INCLUDES='$INCLUDES -I/usr/local/include'
17
18 #LIBS='-L/usr/local/mpich-1.2.1/pgi_fortran_binding/lib/ -lfmpich -lmpich'
19 LIBS='-L/usr/local/lib/LINUX/ch_p4/ -lfmpich -lmpich'
20
21 if test "x$IEEE" = x ; then
22 # No need for IEEE-754
23 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
24 FOPTIM='-tp p6 -v -O2 -Munroll'
25 # -Mvect=cachesize:512000,transform
26 else
27 # Try to follow IEEE-754
28 FFLAGS="$FFLAGS -byteswapio"
29 FOPTIM='-tp p6 -v -O0 -Munroll -Kieee'
30 # -Mvect=cachesize:512000,transform
31 fi
32 #- might want to use '-r8' for fizhi pkg:
33 #FFLAGS="$FFLAGS -r8"

  ViewVC Help
Powered by ViewVC 1.1.22