/[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.6 - (hide annotations) (download)
Thu Jan 27 14:20:06 2005 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57k_post, checkpoint57d_post, checkpoint57g_post, checkpoint57i_post, checkpoint57e_post, checkpoint57g_pre, checkpoint57f_pre, eckpoint57e_pre, checkpoint57h_done, checkpoint57f_post, checkpoint57c_post, checkpoint57j_post, checkpoint57h_pre, checkpoint57l_post, checkpoint57h_post
Changes since 1.5: +3 -1 lines
Change testing option (-ieee) to get closer agreement between g77 & ifort

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

  ViewVC Help
Powered by ViewVC 1.1.22