/[MITgcm]/MITgcm/tools/build_options/linux_ia32_ifort+mpi_aces
ViewVC logotype

Contents of /MITgcm/tools/build_options/linux_ia32_ifort+mpi_aces

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


Revision 1.3 - (show annotations) (download)
Fri Jul 14 19:17:25 2006 UTC (17 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58m_post
Changes since 1.2: +3 -3 lines
Moving things back (mostly).

1 #!/bin/bash
2 #
3 # Ed Hill
4 #
5 # tested on faulks, 20030818
6 #
7 # Build options for the intel 8.0 fortran compiler
8 # the compiler is now called ifort (not ifc) and it appears to
9 # need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have.
10
11
12 FC=mpif77
13 CC=mpicc
14 DEFINES='-DWORDLENGTH=4'
15 LINK=mpif77
16 CPP='cpp -traditional -P'
17 INCLUDES='-I/usr/local/pkg/mpich/mpich-intel/include -I/usr/local/pkg/ifc/ifc-8.1.018/include'
18
19 # Note that the -mp switch is for ieee "maintain precision" and is
20 # roughly equivalent to -ieee
21 if test "x$IEEE" = x ; then
22 FOPTIM='-O3 -align'
23 #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
24 #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
25 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian'
26 else
27 FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian'
28 fi

  ViewVC Help
Powered by ViewVC 1.1.22