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

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

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

revision 1.3 by jmc, Sun Mar 21 17:59:13 2010 UTC revision 1.4 by dfer, Mon Apr 5 20:46:25 2010 UTC
# Line 5  Line 5 
5    
6  # tested on pleiades using:  # tested on pleiades using:
7  # module load comp-intel/11.1.046 mpi/mpt.1.25 netcdf/3.6.0/intel  # module load comp-intel/11.1.046 mpi/mpt.1.25 netcdf/3.6.0/intel
8    #
9    # Option -xSSE4.2 only works on queue "normal_N", if you want to submit to
10    # the "normal" queue instead, then use -xSSE4.1
11    #
12    
13  FC=ifort  FC=ifort
14    
15  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
16  CPP='/lib/cpp  -traditional -P'  CPP='/lib/cpp  -traditional -P'
17  EXTENDED_SRC_FLAG='-132'  EXTENDED_SRC_FLAG='-132'
18    OMPFLAG='-openmp'
19    
20  LIBS='-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'
21  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'
22  INCLUDEDIRS='/nasa/sgi/mpt/1.25/include'  INCLUDEDIRS='/nasa/sgi/mpt/1.25/include'
23  MPIINCLUDEDIR='/nasa/sgi/mpt/1.25/include'  MPIINCLUDEDIR='/nasa/sgi/mpt/1.25/include'
24  MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'  MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
25  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'
26  #PAPIINC='-I/usr/local/include'  
27  #PAPILIB='-L/usr/local/lib -lpapi'  NOOPTFLAGS='-O0'
28    
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 -fp-model precise -w95 -W0 -WB -convert big_endian -assume byterecl -align"      FFLAGS="$FFLAGS -fp-model precise -w95 -W0 -WB -convert big_endian -assume byterecl"
32      FOPTIM='-O3'      FOPTIM='-O2 -align -ip -xSSE4.2'
33      NOOPTFLAGS='-O1'  #   FOPTIM='-O2 -align -ip -xSSE4.1'
34      NOOPTFILES='phy_radiat.F fizhi_lsm.F fizhi_clockstuff.F'      NOOPTFILES='calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F'
35  else  else
36      #  Try to follow IEEE-754      #  Try to follow IEEE-754
37      FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl"      FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl"
# Line 34  else Line 39  else
39  fi  fi
40  #- might want to use '-r8' for fizhi pkg:  #- might want to use '-r8' for fizhi pkg:
41  #FFLAGS="$FFLAGS -r8"  #FFLAGS="$FFLAGS -r8"
42    
43    #For really big executable (> 2 GB), uncomment following 2 lines
44    #FFLAGS="$FFLAGS -mcmodel medium -shared-intel"
45    #CFLAGS='-mcmodel medium'

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

  ViewVC Help
Powered by ViewVC 1.1.22