/[MITgcm]/MITgcm/tools/build_options/linux_ia32_ifort10.1
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_ia32_ifort10.1

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

revision 1.1 by ce107, Mon Jun 22 23:13:30 2009 UTC revision 1.2 by jmc, Fri Feb 19 22:26:01 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  #  #
3    # $Header$
4    # $Name$
5    #
6  #  Constantinos Evangelinos  #  Constantinos Evangelinos
7  #  #
8  #  Build options for the intel 10.1 fortran compiler  #  Build options for the intel 10.1 fortran compiler
9    
10    #-------
11    # run with OpenMP: needs to set environment var. OMP_NUM_THREADS
12    #    and generally, needs to increase the stack-size:
13    #   -  sh,bash:
14    #     > export OMP_NUM_THREADS=2
15    #     > export KMP_STACKSIZE=400m
16    #   - csh,tcsh:
17    #     > setenv OMP_NUM_THREADS 2
18    #     > setenv KMP_STACKSIZE 400m
19    #-------
20    
21  FC=ifort  FC=ifort
22  F90C=ifort  F90C=ifort
23  CC=icc  CC=icc
# Line 11  LINK=ifort Line 25  LINK=ifort
25    
26  DEFINES='-DWORDLENGTH=4'  DEFINES='-DWORDLENGTH=4'
27  CPP='cpp  -traditional -P'  CPP='cpp  -traditional -P'
28  F90FIXEDFORMAT='-fixed -Tf'  F90FIXEDFORMAT='-fixed -Tf'
29  EXTENDED_SRC_FLAG='-132'  EXTENDED_SRC_FLAG='-132'
30    OMPFLAG='-openmp'
31    
32  NOOPTFLAGS='-O0 -g'  NOOPTFLAGS='-O0 -g'
33  NOOPTFILES=''  NOOPTFILES=''
# Line 22  INCLUDES='' Line 37  INCLUDES=''
37  LIBS=''  LIBS=''
38    
39  if test "x$DEVEL" != x ; then  if test "x$DEVEL" != x ; then
40      FFLAGS='-r8 -i4 -convert big_endian -assume byterecl -O0 -g -debug all -debug-parameters all -noalign -fp-stack-check -check all -fpe0 -traceback -ftrapuv -fp-model strict -warn all'      FFLAGS='-convert big_endian -assume byterecl -O0 -g -debug all -debug-parameters all -noalign -fp-stack-check -check all -fpe0 -traceback -ftrapuv -fp-model strict -warn all'
41  else  else
42      FFLAGS='-r8 -i4 -W0 -WB -convert big_endian -assume byterecl'      FFLAGS='-W0 -WB -convert big_endian -assume byterecl'
43  fi  fi
44    #- might want to use '-r8' for fizhi pkg:
45    #FFLAGS="$FFLAGS -r8"
46    
47  if test "x$GENERIC" != x ; then  if test "x$GENERIC" != x ; then
48      PROCF=-axSOTPNWK      PROCF=-axSOTPNWK

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22