/[MITgcm]/MITgcm/tools/build_options/linux_ia64_ifort+mpi1_swell
ViewVC logotype

Annotation of /MITgcm/tools/build_options/linux_ia64_ifort+mpi1_swell

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


Revision 1.1 - (hide annotations) (download)
Tue Nov 1 00:11:47 2005 UTC (18 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57y_post, checkpoint57w_post, checkpoint57x_post, checkpoint58, checkpoint57y_pre, checkpoint57z_post
o Fix my own nas
o Add optfiles for swell.cadm.harvard.edu

1 heimbach 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     # ph: use ifort compiler options -convert big_endian -assume byterecl
11    
12     FC=ifort
13     F90C=ifort
14     DEFINES='-DWORDLENGTH=4'
15     LINK='ifort'
16     CPP='cpp -traditional -P'
17     #INCLUDES='-I/usr/include/netcdf'
18    
19     INCLUDES='-I/opt/netcdf-3.6.0-p1/include -I/opt/mpich-1.2.7/include'
20     LIBS='-L/opt/netcdf-3.6.0-p1/lib -L/opt/mpich-1.2.7/lib -L/usr/local/topspin/lib64 -lmpich -lvapi -lmtl_common -lmosal -lmpga'
21    
22     # Note that the -mp switch is for ieee "maintain precision" and is
23     # roughly equivalent to -ieee
24     if test "x$IEEE" = x ; then
25     # lz( FOPTIM='-O3 -align' )
26     FOPTIM=
27     #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
28     #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
29     FFLAGS='-132 -r8 -i4 -w95 -g -convert big_endian -assume byterecl'
30     else
31     FOPTIM='-O0 -noalign'
32     FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
33     #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
34     fi
35    
36    
37    
38     #if test "x$IEEE" = x ; then
39     # FFLAGS='-Wimplicit -Wunused -Wuninitialized -fno-second-underscore'
40     # FOPTIM='-O3 -funroll-loops'
41     #else
42     # FFLAGS='-Wimplicit -Wunused -ffloat-store'
43     # FOPTIM='-O0 '
44     #fi
45    

  ViewVC Help
Powered by ViewVC 1.1.22