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

Contents of /MITgcm/tools/build_options/linux_ia32_ifort

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


Revision 1.14 - (show annotations) (download)
Thu Jul 13 19:56:13 2006 UTC (17 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58n_post, checkpoint58q_post, checkpoint58o_post, checkpoint58p_post, checkpoint58m_post
Changes since 1.13: +4 -2 lines
Remove some too machine-specific settings

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 # ph: use ifort compiler options -convert big_endian -assume byterecl
11
12 FC=ifort
13 F90C=ifort
14 F90FIXEDFORMAT='-fixed -Tf'
15 DEFINES='-DWORDLENGTH=4'
16 LINK='ifort -static'
17 CPP='cpp -traditional -P'
18 ###INCLUDES='-I/ocean/data4/ce107/netcdf-3.6.1/Linux-i686-intel8/include'
19 ###LIBS='-L/ocean/data4/ce107/netcdf-3.6.1/Linux-i686-intel8/lib -lnetcdf'
20 INCLUDES='-I/usr/local/pkg/netcdf/include'
21 LIBS='-L/usr/local/pkg/netcdf/lib -lnetcdf'
22
23 # Note that the -mp switch is for ieee "maintain precision" and is
24 # roughly equivalent to -ieee
25 if test "x$IEEE" = x ; then
26 FOPTIM='-O3 -align'
27 #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
28 #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
29 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
30 F90FLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
31 else
32 FOPTIM='-O0 -noalign'
33 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
34 #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
35 fi

  ViewVC Help
Powered by ViewVC 1.1.22