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

Annotation of /MITgcm/tools/build_options/linux_ia32_ifort+authors_v9

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


Revision 1.3 - (hide annotations) (download)
Thu Aug 31 13:51:19 2006 UTC (17 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58r_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, mitgcm_mapl_00, checkpoint58x_post, checkpoint58y_post, checkpoint58v_post, checkpoint58w_post, checkpoint58t_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61l, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint58q_post, checkpoint58u_post, checkpoint60, checkpoint61
Changes since 1.2: +2 -2 lines
for testing (with -ieee): use "-check all"

1 edhill 1.1 #!/bin/bash
2     #
3 jmc 1.3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort+authors_v9,v 1.2 2006/08/15 16:11:19 jmc Exp $
4 jmc 1.2 # $Name: $
5 edhill 1.1 #
6 jmc 1.2 # tested on hugo (FC.4), eddy (FC.5): 20060119
7 edhill 1.1 #
8 jmc 1.2 # Build options for the intel 9.0 fortran compiler
9 edhill 1.1 # the compiler is now called ifort (not ifc) and it appears to
10     # need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have.
11     # ph: use ifort compiler options -convert big_endian -assume byterecl
12    
13     FC=/usr/local/pkg/intel/intel_fc_90/bin/ifort
14     F90C=/usr/local/pkg/intel/intel_fc_90/bin/ifort
15     F90FIXEDFORMAT='-fixed -Tf'
16     DEFINES='-DWORDLENGTH=4'
17     LINK='/usr/local/pkg/intel/intel_fc_90/bin/ifort -i-static -no-ipo'
18     CPP='cpp -traditional -P'
19 jmc 1.2 INCLUDES='-I/usr/local/pkg/netcdf/netcdf-3.5.1/include'
20 edhill 1.1
21     # Note that the -mp switch is for ieee "maintain precision" and is
22     # roughly equivalent to -ieee
23     if test "x$IEEE" = x ; then
24     FOPTIM='-O3 -align'
25     #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
26     #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
27     FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
28     F90FLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
29     else
30 jmc 1.3 FOPTIM='-O0 -noalign -check all'
31 edhill 1.1 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
32     #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
33     fi
34    

  ViewVC Help
Powered by ViewVC 1.1.22