/[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.7 by zhc, Thu Jun 16 16:30:07 2011 UTC revision 1.11 by dfer, Wed Apr 24 15:38:55 2013 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  #  #
3  # $Header$  # $Header$
4  # $Name$  # $Name$
5    
6  # tested on pleiades using SLES11 and:  # Used to run the testreport on pleiades with:
7  # module load comp-intel/2011.2 mpi-sgi/mpt.2.04-fsa netcdf/4.0  # module load comp-intel/2011.2 mpi-sgi/mpt.2.06a67 netcdf/4.0
8    # note: comp-intel/2011.7.256 is recommanded for Sandy Bridge nodes
9  FC=ifort  
10    FC=ifort
11  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'  CC=icc
12  CPP='/lib/cpp  -traditional -P'  
13  EXTENDED_SRC_FLAG='-132'  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
14  OMPFLAG='-openmp'  CPP='/lib/cpp  -traditional -P'
15  CFLAGS='-fPIC'  EXTENDED_SRC_FLAG='-132'
16  LDADD='-shared-intel'  OMPFLAG='-openmp'
17    CFLAGS='-fPIC'
18  LIBS='-L/nasa/sgi/mpt/2.04-fsa/lib -lmpi -L/nasa/netcdf/4.0/lib -lnetcdf'  LDADD='-shared-intel'
19  INCLUDES='-I/nasa/sgi/mpt/2.04-fsa/include -I/nasa/netcdf/4.0/include'  
20  INCLUDEDIRS='/nasa/sgi/mpt/2.04-fsa/include'  LIBS='-L/nasa/sgi/mpt/2.06a67/lib -lmpi -L/nasa/netcdf/4.0/lib -lnetcdf'
21  MPIINCLUDEDIR='/nasa/sgi/mpt/2.04-fsa/include'  INCLUDES='-I/nasa/sgi/mpt/2.06a67/include -I/nasa/netcdf/4.0/include'
22  MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'  INCLUDEDIRS='/nasa/sgi/mpt/2.06a67/include'
23  MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h'  MPIINCLUDEDIR='/nasa/sgi/mpt/2.06a67/include'
24    MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
25  NOOPTFLAGS='-O0 -fPIC'  MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h'
26    
27  if test "x$IEEE" = x ; then  NOOPTFLAGS='-O0 -fPIC'
28      #  No need for IEEE-754  
29      FFLAGS="$FFLAGS -fPIC -W0 -WB -convert big_endian -assume byterecl -align"  if test "x$IEEE" = x ; then
30      FOPTIM='-O2 -ip -fp-model precise -axSSSE4.2,SSSE3 -traceback -ftz'      #  No need for IEEE-754
31      NOOPTFILES='seaice_growth.F calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F'      FFLAGS="$FFLAGS -fPIC -W0 -WB -convert big_endian -assume byterecl -align"
32  else      FOPTIM='-O2 -ip -fp-model precise -axSSSE4.2,SSSE3 -traceback -ftz'
33      #  Try to follow IEEE-754      NOOPTFILES='seaice_growth.F calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F'
34      FFLAGS="$FFLAGS -fPIC -w95 -W0 -WB -convert big_endian -assume byterecl -noalign"  else
35      FOPTIM='-O0'      #  Try to follow IEEE-754
36  fi      FFLAGS="$FFLAGS -fPIC -w95 -W0 -WB -convert big_endian -assume byterecl -noalign"
37  #- might want to use '-r8' for fizhi pkg:      FOPTIM='-O0'
38  #FFLAGS="$FFLAGS -r8"  fi
39    #- might want to use '-r8' for fizhi pkg:
40  #- For really big executable (> 2 GB), uncomment following 2 lines  #FFLAGS="$FFLAGS -r8"
41  #FFLAGS="$FFLAGS -mcmodel=medium -shared-intel"  
42  #CFLAGS='-mcmodel=medium'  #- For really big executable (> 2 GB), uncomment following 2 lines
43    #FFLAGS="$FFLAGS -mcmodel=medium -shared-intel"
44    #CFLAGS="$CFLAGS -mcmodel=medium -shared-intel"

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

  ViewVC Help
Powered by ViewVC 1.1.22