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

Annotation of /MITgcm/tools/build_options/linux_ia32_ifort

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


Revision 1.15 - (hide annotations) (download)
Wed Nov 8 15:28:42 2006 UTC (17 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: mitgcm_mapl_00, checkpoint58u_post, checkpoint58w_post, checkpoint60, checkpoint61, checkpoint62, checkpoint58r_post, checkpoint58x_post, checkpoint58t_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint58y_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.14: +2 -0 lines
Add F90OPTIM

1 cnh 1.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 heimbach 1.7 # ph: use ifort compiler options -convert big_endian -assume byterecl
11 cnh 1.1
12 edhill 1.3 FC=ifort
13 heimbach 1.9 F90C=ifort
14 utke 1.11 F90FIXEDFORMAT='-fixed -Tf'
15 heimbach 1.7 DEFINES='-DWORDLENGTH=4'
16 edhill 1.3 LINK='ifort -static'
17     CPP='cpp -traditional -P'
18 heimbach 1.14 ###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 cnh 1.1
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 edhill 1.3 FOPTIM='-O3 -align'
27 heimbach 1.15 F90OPTIM='-O3'
28 edhill 1.3 #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
29     #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
30 heimbach 1.7 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
31 utke 1.12 F90FLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
32 cnh 1.1 else
33 jmc 1.6 FOPTIM='-O0 -noalign'
34 heimbach 1.15 F90OPTIM='-O0 -g'
35 heimbach 1.8 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
36 jmc 1.6 #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
37 cnh 1.1 fi
38    
39    
40    

  ViewVC Help
Powered by ViewVC 1.1.22