/[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.4 - (hide annotations) (download)
Tue Sep 21 19:51:10 2004 UTC (19 years, 7 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint55c_post, checkpoint55d_pre, checkpoint55h_post, checkpoint55b_post, checkpoint55g_post, checkpoint55f_post, checkpoint55e_post, checkpoint55d_post
Changes since 1.3: +0 -1 lines
 o fixes for systems that do not have NetCDF libs
   - thank you to Patrick for pointing this out!

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    
11    
12 edhill 1.3 FC=ifort
13     DEFINES='-D_BYTESWAPIO -DWORDLENGTH=1'
14     LINK='ifort -static'
15     CPP='cpp -traditional -P'
16 cnh 1.1
17     # Note that the -mp switch is for ieee "maintain precision" and is
18     # roughly equivalent to -ieee
19     if test "x$IEEE" = x ; then
20 edhill 1.3 FOPTIM='-O3 -align'
21     #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
22     #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
23 cnh 1.1 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB'
24     else
25     FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
26     fi
27    
28    
29    

  ViewVC Help
Powered by ViewVC 1.1.22