/[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.13 by dimitri, Thu Sep 19 08:54:42 2013 UTC revision 1.14 by dfer, Fri Sep 27 09:00:57 2013 UTC
# Line 4  Line 4 
4  # $Name$  # $Name$
5    
6  # Used to run the testreport on pleiades with:  # Used to run the testreport on pleiades with:
7  # module load comp-intel/2011.2 mpi-sgi/mpt.2.06a67 netcdf/4.0  # module load comp-intel/2012.0.032 mpi-sgi/mpt.2.06rp16  netcdf/4.0
8    # works on all types of nodes
 # Tested and reccommended for Ivy and Sandy Bridge nodes:  
 # module load comp-intel/2011.7.256 mpi-sgi/mpt.2.08r7 netcdf/4.0  
9    
10  FC=ifort  FC=ifort
11  CC=icc  CC=icc
# Line 19  OMPFLAG='-openmp' Line 17  OMPFLAG='-openmp'
17  CFLAGS='-fPIC'  CFLAGS='-fPIC'
18  LDADD='-shared-intel'  LDADD='-shared-intel'
19    
20  LIBS='-L/nasa/sgi/mpt/2.06a67/lib -lmpi -L/nasa/netcdf/4.0/lib -lnetcdf'  LIBS='-L/nasa/sgi/mpt/2.06rp16/lib -lmpi -L/nasa/netcdf/4.0/lib -lnetcdf'
21  INCLUDES='-I/nasa/sgi/mpt/2.06a67/include -I/nasa/netcdf/4.0/include'  INCLUDES='-I/nasa/sgi/mpt/2.06rp16/include -I/nasa/netcdf/4.0/include'
22  INCLUDEDIRS='/nasa/sgi/mpt/2.06a67/include'  INCLUDEDIRS='/nasa/sgi/mpt/2.06rp16/include'
23  #- used for parallel (MPI) DIVA  #- used for parallel (MPI) DIVA
24  MPIINCLUDEDIR='/nasa/sgi/mpt/2.06a67/include'  MPIINCLUDEDIR='/nasa/sgi/mpt/2.06rp16/include'
25  #MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'  #MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
26    
27  NOOPTFLAGS='-O0 -fPIC'  NOOPTFLAGS='-O0 -fPIC'
# Line 31  NOOPTFLAGS='-O0 -fPIC' Line 29  NOOPTFLAGS='-O0 -fPIC'
29  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
30      #  No need for IEEE-754      #  No need for IEEE-754
31      FFLAGS="$FFLAGS -fPIC -W0 -WB -convert big_endian -assume byterecl -align"      FFLAGS="$FFLAGS -fPIC -W0 -WB -convert big_endian -assume byterecl -align"
32      FOPTIM='-O2 -ip -fp-model precise -axSSSE4.2,SSSE3 -traceback -ftz'      FOPTIM='-O2 -ip -fp-model precise -axAVX -xSSE4.1 -traceback -ftz'
33      NOOPTFILES='seaice_growth.F calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F'      NOOPTFILES='seaice_growth.F calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F'
34  else  else
35      #  Try to follow IEEE-754      #  Try to follow IEEE-754
36      FFLAGS="$FFLAGS -fPIC -w95 -W0 -WB -convert big_endian -assume byterecl -noalign"      FFLAGS="$FFLAGS -fPIC -W0 -WB -convert big_endian -assume byterecl -noalign"
37      FOPTIM='-O0'      FOPTIM='-O0'
38  fi  fi
39  #- might want to use '-r8' for fizhi pkg:  #- might want to use '-r8' for fizhi pkg:

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.22