/[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.8 - (show annotations) (download)
Wed Jul 20 20:24:47 2005 UTC (18 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint57o_post, checkpoint57m_post, checkpoint57s_post, checkpoint57v_post, checkpoint57r_post, checkpoint57n_post, checkpoint57p_post, checkpint57u_post, checkpoint57q_post
Changes since 1.7: +1 -1 lines
Adding -assume -convert also for ieee block.

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 # ph: use ifort compiler options -convert big_endian -assume byterecl
11
12 FC=ifort
13 DEFINES='-DWORDLENGTH=4'
14 LINK='ifort -static'
15 CPP='cpp -traditional -P'
16 INCLUDES='-I/usr/include/netcdf'
17
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 FOPTIM='-O3 -align'
22 #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
23 #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
24 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
25 else
26 FOPTIM='-O0 -noalign'
27 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
28 #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
29 fi

  ViewVC Help
Powered by ViewVC 1.1.22