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

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

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

revision 1.3 by dimitri, Fri Apr 23 19:27:05 2010 UTC revision 1.6 by heimbach, Tue Oct 26 19:32:04 2010 UTC
# Line 15  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MP Line 15  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MP
15  CPP='/lib/cpp  -traditional -P'  CPP='/lib/cpp  -traditional -P'
16  EXTENDED_SRC_FLAG='-132'  EXTENDED_SRC_FLAG='-132'
17  OMPFLAG='-openmp'  OMPFLAG='-openmp'
18    CFLAGS='-fPIC'
19    LDADD='-shared-intel'
20    
21  LIBS='-L/nasa/sgi/mpt/1.25/lib -lmpi -L/nasa/netcdf/3.6.0/intel/lib -lnetcdf'  LIBS='-L/nasa/sgi/mpt/1.25/lib -lmpi -L/nasa/netcdf/3.6.0/intel/lib -lnetcdf'
22  INCLUDES='-I/nasa/sgi/mpt/1.25/include -I/nasa/netcdf/3.6.0/intel/include'  INCLUDES='-I/nasa/sgi/mpt/1.25/include -I/nasa/netcdf/3.6.0/intel/include'
# Line 23  MPIINCLUDEDIR='/nasa/sgi/mpt/1.25/includ Line 25  MPIINCLUDEDIR='/nasa/sgi/mpt/1.25/includ
25  MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'  MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
26  MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h'  MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h'
27    
28  NOOPTFLAGS='-O0'  NOOPTFLAGS='-O0 -fPIC'
29    
30  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
31      #  No need for IEEE-754      #  No need for IEEE-754
32      FFLAGS="$FFLAGS -fp-model precise -ftz -w95 -W0 -WB -convert big_endian -assume byterecl"      FFLAGS="$FFLAGS -fPIC -w95 -W0 -WB -convert big_endian -assume byterecl -align"
33      FOPTIM='-O2 -align -ip -xSSE4.1'      FOPTIM='-O2 -ip -xSSE4.1 -fp-model precise -ftz'
34  #   FOPTIM='-O2 -align -ip -xSSE4.2'  #    FOPTIM='-O2 -ip -xSSE4.2 -fp-model precise -ftz'
35      NOOPTFILES='calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F'      NOOPTFILES='seaice_growth.F calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F'
36  else  else
37      #  Try to follow IEEE-754      #  Try to follow IEEE-754
38      FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl"      FFLAGS="$FFLAGS -fPIC -w95 -W0 -WB -convert big_endian -assume byterecl -noalign"
39      FOPTIM='-O0 -noalign'      FOPTIM='-O0'
40  fi  fi
41  #- might want to use '-r8' for fizhi pkg:  #- might want to use '-r8' for fizhi pkg:
42  #FFLAGS="$FFLAGS -r8"  #FFLAGS="$FFLAGS -r8"

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

  ViewVC Help
Powered by ViewVC 1.1.22