/[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.1 - (show annotations) (download)
Tue Jun 21 16:17:44 2011 UTC (12 years, 10 months ago) by heimbach
Branch: MAIN
optfile for Oxford cluster

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
45 #
46 #INCLUDES="-I/usr/include -I/home/system/software/redqueen/libs/netcdf-4.0/include"
47 #LIBS="-L/home/system/software/redqueen/libs/netcdf-4.0/lib -lnetcdf -lmpi"

  ViewVC Help
Powered by ViewVC 1.1.22