/[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.4 - (show annotations) (download)
Mon Jul 22 18:40:45 2013 UTC (10 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64k, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.3: +5 -6 lines
- remove MPI_HEADER_FILES_INC setting (no longer used)
- for now, comment out MPI_HEADER_FILES list (let genmake2 find which
   MPI header is needed)

1 #!/bin/bash
2
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_amd64_ifort+mpi_sal_oxford,v 1.3 2012/10/26 19:14:14 jmc Exp $
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 LIBS="$LIBS -L/usr/lib64/"
43 #INCLUDES="-I/usr/include -I/home/system/software/redqueen/libs/netcdf-4.0/include"
44 #LIBS="-L/home/system/software/redqueen/libs/netcdf-4.0/lib -lnetcdf -lmpi"
45
46 #- used for parallel (MPI) DIVA
47 MPIINCLUDEDIR="/usr/include"
48 #MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'

  ViewVC Help
Powered by ViewVC 1.1.22