/[MITgcm]/MITgcm/tools/build_options/linux_ia32_ifort+mpi_aces
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_ia32_ifort+mpi_aces

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

revision 1.2 by edhill, Sun Nov 14 19:30:42 2004 UTC revision 1.6 by utke, Tue Jun 26 12:30:32 2007 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  #  #
3  #  Ed Hill  #  $Header$
4  #  #
5  #  tested on faulks, 20030818  #  These are the build options used with the Intel 8.x compiler for the
6    #  daily testing on ACES (which are initiated by cron jobs on the "ao"
7    #  head node).
8  #  #
9  #  Build options for the intel 8.0 fortran compiler  #  Please note that the appropriate module commands:
10  #  the compiler is now called ifort (not ifc) and it appears to  #
11  #  need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have.  #    module add mpich/intel
12    #
13    #  will add /usr/local/pkg/ifc/ifc-8.0.034/lib to LD_LIBRARY_PATH
14    #  which is needed by any executables generated with this optfile.
15    #  The PBS -V option for exporting environment variables may also be
16    #  helpful if you encounter missing-library problems.  Or,
17    #  alternatively, one may choose to link with one of the intel
18    #  "-static" or "-i-static" flags.
19    
20    
21    FC='mpif77'
22    CC='mpicc'
23    F90C='mpif90 -fixed -c '
24    LINK='mpif77'
25    INCLUDES='-I/usr/local/pkg/ifc/ifc-8.1.018/include -I/usr/local/pkg/mpich/mpich-intel/include/'
26    LIBS='-L/usr/local/pkg/ifc/ifc-8.1.018/lib'
27    
28  FC=mpif77  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
 CC=mpicc  
 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=1'  
 LINK=mpif77  
29  CPP='cpp  -traditional -P'  CPP='cpp  -traditional -P'
30  INCLUDES='-I/usr/local/pkg/mpich/mpich-intel/include -I/usr/local/pkg/ifc/ifc-8.1.018/include'  
31    NOOPTFLAGS='-O0'
32    NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F'
33    
34  #  Note that the -mp switch is for ieee "maintain precision" and is  #  Note that the -mp switch is for ieee "maintain precision" and is
35  #  roughly equivalent to -ieee  #  roughly equivalent to -ieee
36  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
37      FOPTIM='-O3 -align'      FOPTIM='-O3 -align'
38  #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'      #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
39  #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'      #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
40      FFLAGS='-132 -r8 -i4 -w95 -W0 -WB'      FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian'
41  else  else
42      FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'      # FOPTIM='-O0 -noalign -CA -CB -CU -CV -CS'
43        FOPTIM='-O0 -noalign'
44        # FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
45        FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -pc64 -xW -assume byterecl -convert big_endian'
46        # FLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian'
47  fi  fi
48    F90FLAGS=$FFLAGS
49    F90OPTIM=$FOPTIM
50    
51    NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F'
52    NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F'

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

  ViewVC Help
Powered by ViewVC 1.1.22