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

Annotation of /MITgcm/tools/build_options/linux_ia32_pgf77+mpi_cg01

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


Revision 1.6 - (hide annotations) (download)
Mon Jan 31 19:30:14 2005 UTC (19 years, 3 months ago) by ce107
Branch: MAIN
Changes since 1.5: +4 -4 lines
Added changed IEEE as well as optimized flags to ensure tuning to the
processor type of the compilation host, SSE code generation (depending
on the compilation host type), no optimization for IEEE mode and the
default inclusion of the MPI defines for the MPI versions of the build
files.

1 edhill 1.1 #!/bin/bash
2     #
3 ce107 1.6 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+mpi_cg01,v 1.5 2004/09/21 19:51:10 edhill Exp $
4 edhill 1.1 #
5    
6 edhill 1.4 FC='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/pgi/bin/mpif77'
7 ce107 1.6 CC='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/pgi/bin/mpicc'
8 edhill 1.1 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
9     CPP='/lib/cpp -traditional -P'
10     NOOPTFLAGS='-O0'
11 edhill 1.3
12 edhill 1.4 if test "x$IEEE" = x ; then
13     # No need for IEEE-754
14     FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend'
15 ce107 1.6 FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
16 edhill 1.4 else
17     # Try to follow IEEE-754
18     FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend'
19 ce107 1.6 FOPTIM='-O0 -Mvect=sse -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
20 edhill 1.4 fi
21 edhill 1.1
22 edhill 1.4 INCLUDEDIRS='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/pgi/include'

  ViewVC Help
Powered by ViewVC 1.1.22