/[MITgcm]/MITgcm/tools/build_options/linux_amd64_gfortran
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_amd64_gfortran

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

revision 1.17 by jmc, Sun Mar 18 22:46:08 2012 UTC revision 1.20 by jmc, Mon Jul 22 18:40:45 2013 UTC
# Line 25  Line 25 
25  #       export MPI_GCC_DIR=/srv/software/gcc/gcc-packages/gcc-4.4.5/mpich2/mpich2-1.3  #       export MPI_GCC_DIR=/srv/software/gcc/gcc-packages/gcc-4.4.5/mpich2/mpich2-1.3
26  #       export MPI_INC_DIR=$MPI_GCC_DIR/include  #       export MPI_INC_DIR=$MPI_GCC_DIR/include
27  #       export PATH=$MPI_GCC_DIR/bin:$PATH  #       export PATH=$MPI_GCC_DIR/bin:$PATH
28    #
29    # and on IRIDIS at Southampton
30    # http://www.southampton.ac.uk/isolutions/computing/hpc/iridis/
31    #    with
32    #       module load openmpi/1.4.3/gcc-4.3.3
33    #    and
34    #       export MPI_INC_DIR=$MPIROOT/include
35    
36  #-------  #-------
37  # run with OpenMP: needs to set environment var. OMP_NUM_THREADS  # run with OpenMP: needs to set environment var. OMP_NUM_THREADS
# Line 62  FFLAGS="$FFLAGS -fconvert=big-endian -fi Line 69  FFLAGS="$FFLAGS -fconvert=big-endian -fi
69  # for big objects:  # for big objects:
70  FFLAGS="$FFLAGS -fPIC"  FFLAGS="$FFLAGS -fPIC"
71  #- might want to use '-fdefault-real-8' for fizhi pkg:  #- might want to use '-fdefault-real-8' for fizhi pkg:
72  #FFLAGS="$FFLAGS -fdefault-real-8"  #FFLAGS="$FFLAGS -fdefault-real-8 -fdefault-double-8"
73    
74  if test "x$IEEE" = x ; then     #- with optimisation:  if test "x$IEEE" = x ; then     #- with optimisation:
75     #- full optimisation     #- full optimisation
# Line 135  fi Line 142  fi
142  if [ -n "$MPI_INC_DIR" -a "x$MPI" = xtrue ] ; then  if [ -n "$MPI_INC_DIR" -a "x$MPI" = xtrue ] ; then
143      INCLUDES="$INCLUDES -I$MPI_INC_DIR"      INCLUDES="$INCLUDES -I$MPI_INC_DIR"
144      INCLUDEDIRS="$INCLUDEDIRS $MPI_INC_DIR"      INCLUDEDIRS="$INCLUDEDIRS $MPI_INC_DIR"
145        #- used for parallel (MPI) DIVA
146      MPIINCLUDEDIR="$MPI_INC_DIR"      MPIINCLUDEDIR="$MPI_INC_DIR"
147      MPI_HEADER_FILES='mpif.h mpiof.h'     #MPI_HEADER_FILES='mpif.h mpiof.h'
     MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h'  
148  fi  fi

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.22