/[MITgcm]/MITgcm/tools/build_options/linux_amd64_ifort+mpi_sal_oxford
ViewVC logotype

Contents of /MITgcm/tools/build_options/linux_amd64_ifort+mpi_sal_oxford

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


Revision 1.3 - (show annotations) (download)
Fri Oct 26 19:14:14 2012 UTC (11 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64i, checkpoint64h, checkpoint64j, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f
Changes since 1.2: +6 -8 lines
add CVS Header and Name (note that when this optfile was 1rst cheched-in,
 was the only optfile with missing Header+Name)

1 #!/bin/bash
2
3 # $Header: $
4 # $Name: $
5
6 # ----------------------------------------------------------------------------
7 # FOR MITgcm COMPILATION ON OSC CLUSTER SAL
8 # Last updated: HP 04/08/10
9 # ----------------------------------------------------------------------------
10
11 FC=mpif77
12 CC=mpicc
13 LINK=mpif77
14
15 CPP='/usr/bin/cpp -P -traditional'
16 MPI='true'
17
18 #FFLAGS='-fPIC -r8 -i4 -WB -convert big_endian -assume byterecl'
19 FFLAGS='-r8 -i4 -WB -convert big_endian -assume byterecl -mcmodel=medium -shared-intel -g'
20 FOPTIM='-O3 -xssse3'
21
22 F90FLAGS=$FFLAGS
23 F90OPTIM=$FOPTIM
24
25 #CFLAGS='-O3 -xssse3 -ip -fPIC'
26 CFLAGS='-03 -xssse3 -ip'
27
28 DEFINES='-DALLOW_USE_MPI -DWORDLENGTH=4'
29
30 # --------------------------
31 # INCLUDE NETCDF DIRECTORIES
32 # --------------------------
33 INCLUDEDIRS=""
34 INCLUDES="-I/home/system/software/sal/lib/netcdf-4.0/include"
35 LIBS="-L/home/system/software/sal/lib/netcdf-4.0/lib -lnetcdf -lmpi"
36
37 # -----------------------
38 # INCLUDE MPI DIRECTORIES
39 # -----------------------
40 INCLUDES="$INCLUDES -I/usr/include"
41 INCLUDEDIRS="/usr/include"
42 MPIINCLUDEDIR="/usr/include"
43 LIBS="$LIBS -L/usr/lib64/"
44 #MPI_HEADER_FILES='/usr/include/mpif.h /usr/include/mpiof.h /usr/include/mpif_parameters.h'
45 #MPI_HEADER_FILES_INC='/usr/include/mpif.h /usr/include/mpiof.h /usr/include/mpif_parameters.h'
46 MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
47 MPI_HEADER_FILES_INC='mpi_headers/mpif.h mpi_headers/mpiof.h mpi_headers/mpif_parameters.h'
48 #INCLUDES="-I/usr/include -I/home/system/software/redqueen/libs/netcdf-4.0/include"
49 #LIBS="-L/home/system/software/redqueen/libs/netcdf-4.0/lib -lnetcdf -lmpi"

  ViewVC Help
Powered by ViewVC 1.1.22