/[MITgcm]/MITgcm/tools/build_options/linux_amd64_ifort+mpi_loc
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_amd64_ifort+mpi_loc

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

revision 1.3 by jmc, Wed Jul 22 16:21:13 2009 UTC revision 1.7 by jmc, Tue Apr 20 20:13:27 2010 UTC
# Line 41  Line 41 
41  # DON'T FORGET to set environment variable MPI_INC_DIR to the include  # DON'T FORGET to set environment variable MPI_INC_DIR to the include
42  # directory of your MPI implementation  # directory of your MPI implementation
43    
44  NETCDF_ROOT='/opt/intel/netcdf-3.6.2'  NETCDF_ROOT='/opt/intel/netcdf-4.0.1/11.1'
45  MPI_INC_DIR='/opt/intel/mpich-1.2.7p1_ic-10.1.012/include'  MPI_INC_DIR='/opt/intel/mpich-1.2.7p1_ic-11.1.046/include'
 #NETCDF_ROOT='/opt/intel/netcdf-4.0.1/11.1'  
 #MPI_INC_DIR='/opt/intel/mpich-1.2.7p1_ic-11.1.046/include'  
46    
47  FC=mpif77  FC=mpif77
48  F90C='mpif90 -fixed'  F90C='mpif90 -fixed'
# Line 58  F90FIXEDFORMAT='-fixed -Tf' Line 56  F90FIXEDFORMAT='-fixed -Tf'
56  EXTENDED_SRC_FLAG='-132'  EXTENDED_SRC_FLAG='-132'
57  OMPFLAG='-openmp'  OMPFLAG='-openmp'
58    
59  NOOPTFLAGS='-O0 -g -m64 -fPIC'  NOOPTFLAGS='-O0 -g'
60  NOOPTFILES=''  NOOPTFILES=''
61    
62  INCLUDEDIRS=''  INCLUDEDIRS=''
# Line 66  INCLUDES='' Line 64  INCLUDES=''
64  LIBS=''  LIBS=''
65    
66  if test "x$DEVEL" != x ; then  if test "x$DEVEL" != x ; then
67      FFLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC -O0 -g -noalign -fp-stack-check -check all -fpe0 -traceback -ftrapuv -fp-model except -warn all'      FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC -O0 -g -noalign -fp-stack-check -check all -fpe0 -traceback -ftrapuv -fp-model except -warn all"
68  else  else
69      FFLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC'      FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC"
70  fi  fi
71    #- might want to use '-r8' for fizhi pkg:
72    #FFLAGS="$FFLAGS -r8"
73    
74  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
75      #  No need for IEEE-754      #  No need for IEEE-754
# Line 80  else Line 80  else
80  #   for automatic testing with testreport (but no relation with IEEE arithmetic):  #   for automatic testing with testreport (but no relation with IEEE arithmetic):
81      FOPTIM="$FOPTIM -fpe0 -ftz -fp-stack-check -check all -ftrapuv"      FOPTIM="$FOPTIM -fpe0 -ftz -fp-stack-check -check all -ftrapuv"
82      FOPTIM="$FOPTIM -noalign -g -traceback"      FOPTIM="$FOPTIM -noalign -g -traceback"
83        NOOPTFILES='ad_taf_output.f'
84  fi  fi
85  F90FLAGS=$FFLAGS  F90FLAGS=$FFLAGS
86  F90OPTIM=$FOPTIM  F90OPTIM=$FOPTIM

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

  ViewVC Help
Powered by ViewVC 1.1.22