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

Diff of /MITgcm/tools/build_options/linux_ia64_ifort

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

revision 1.3 by dfer, Fri Sep 11 14:15:02 2009 UTC revision 1.4 by jmc, Fri Mar 5 22:31:47 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  #  #
3  # Composed and tested by ce107 on ross/weddell (Opteron system)  # $Header$
4  # Should work fine on EM64T and other AMD64 compatible Intel systems  # $Name$
5    
6    # Tested on columbia (SGI Altix cluster)
7  # a) Processor specific flags:  # a) Processor specific flags:
8  #    1) for more speed on Core2 processors replace -xW with -xT  #    1) for more speed on Core2 processors replace -xW with -xT
9  #    2) for more speed on Pentium4 based EM64T processors replaces -xW with -xP  #    2) for more speed on Pentium4 based EM64T processors replaces -xW with -xP
10  # b) For more speed, provided your data size doesn't exceed 2GB you can  # b) For more speed, provided your data size doesn't exceed 2GB you can
11  # remove -fPIC which carries a performance penalty of 2-6%.  #    remove -fPIC which carries a performance penalty of 2-6%.
12  # c) Provided that the libraries you link to are compiled with -fPIC this  # c) Provided that the libraries you link to are compiled with -fPIC this
13  # optfile should work.  #    optfile should work.
14  # d) You can replace -fPIC with -mcmodel=medium which may perform faster  # d) You can replace -fPIC with -mcmodel=medium which may perform faster
15  # then -fPIC and still support data sizes over 2GB per process but all  #   then -fPIC and still support data sizes over 2GB per process but all
16  # the libraries you link to myst be compiled with -fPIC or -mcmodel=medium  #   the libraries you link to myst be compiled with -fPIC or -mcmodel=medium
17  # e) Changed from -O3 to -O2 to avoid buggy Intel v.10 compilers. Speed  # e) Changed from -O3 to -O2 to avoid buggy Intel v.10 compilers. Speed
18  # impact appears to be minimal.  #   impact appears to be minimal.
 #  
 # DON'T FORGET to set environment variable MPI_INC_DIR to the include  
 # directory of your MPI implementation  
19    
20  FC=ifort  FC=ifort
21  F90C=ifort  F90C=ifort
22  CC=icc  CC=icc
 F90FIXEDFORMAT='-fixed -Tf'  
 DEFINES='-DWORDLENGTH=4'  
23  LINK='ifort -static'  LINK='ifort -static'
24    
25    DEFINES='-DWORDLENGTH=4'
26  CPP='cpp  -traditional -P'  CPP='cpp  -traditional -P'
27    F90FIXEDFORMAT='-fixed -Tf'
28  EXTENDED_SRC_FLAG='-132'  EXTENDED_SRC_FLAG='-132'
29    #OMPFLAG='-openmp'
30    
31  NOOPTFLAGS='-O0 -g -m64 -fPIC'  NOOPTFLAGS='-O0 -g -m64 -fPIC'
32  NOOPTFILES=''  NOOPTFILES=''
# Line 39  if test "x$DEVEL" != x ; then Line 40  if test "x$DEVEL" != x ; then
40  else  else
41      FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC"      FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC"
42  fi  fi
43    #- might want to use '-r8' for fizhi pkg:
44    #FFLAGS="$FFLAGS -r8"
45    
46  #  Note that the -mp switch is for ieee "maintain precision" and is  #  Note that the -mp switch is for ieee "maintain precision" and is
47  #  roughly equivalent to -ieee  #  roughly equivalent to -ieee

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22