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

Contents of /MITgcm/tools/build_options/linux_ia32_ifort

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


Revision 1.1 - (show annotations) (download)
Sat Feb 21 03:03:04 2004 UTC (20 years, 2 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint52l_pre, checkpoint52n_post, checkpoint53d_post, checkpoint54a_pre, checkpoint54a_post, checkpoint53c_post, checkpoint52l_post, checkpoint53b_post, checkpoint52k_post, checkpoint54b_post, checkpoint53b_pre, checkpoint54d_post, checkpoint52m_post, checkpoint53a_post, checkpoint54, checkpoint53, checkpoint53g_post, hrcube5, checkpoint53f_post, checkpoint53d_pre, checkpoint54c_post
Build options for Intel compiler 8.0 - this version seems to need
a different WORDLENGTH parameter (and its official name has changed to ifort)

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

  ViewVC Help
Powered by ViewVC 1.1.22