/[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.2 - (show annotations) (download)
Thu Jun 23 18:42:42 2011 UTC (12 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint63
Changes since 1.1: +4 -2 lines
Fix MPI header specs required for DIVA

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