/[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.11 - (hide annotations) (download)
Fri Nov 4 05:52:10 2005 UTC (18 years, 6 months ago) by utke
Branch: MAIN
CVS Tags: checkpoint57y_post, checkpoint57y_pre, checkpoint57x_post
Changes since 1.10: +1 -1 lines
force ifort to accept other filename extensions

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 edhill 1.5 INCLUDES='-I/usr/include/netcdf'
19 cnh 1.1
20     # Note that the -mp switch is for ieee "maintain precision" and is
21     # roughly equivalent to -ieee
22     if test "x$IEEE" = x ; then
23 edhill 1.3 FOPTIM='-O3 -align'
24     #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
25     #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
26 heimbach 1.7 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
27 cnh 1.1 else
28 jmc 1.6 FOPTIM='-O0 -noalign'
29 heimbach 1.8 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
30 jmc 1.6 #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
31 cnh 1.1 fi
32    
33    
34    

  ViewVC Help
Powered by ViewVC 1.1.22