Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/linux_amd64_ifort+mpi_sal_oxford is written in an unsupported language. File is not indexed.

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
7691f18a57 Patr*0001 #!/bin/bash
                0002 
                0003 # ----------------------------------------------------------------------------
49917b893f Jean*0004 # FOR MITgcm COMPILATION ON OSC CLUSTER SAL
7691f18a57 Patr*0005 # Last updated: HP 04/08/10
                0006 # ----------------------------------------------------------------------------
                0007 
                0008 FC=mpif77
                0009 CC=mpicc
                0010 LINK=mpif77
                0011 
                0012 CPP='/usr/bin/cpp -P -traditional'
                0013 MPI='true'
                0014 
                0015 #FFLAGS='-fPIC -r8 -i4 -WB -convert big_endian -assume byterecl'
49917b893f Jean*0016 FFLAGS='-r8 -i4 -WB -convert big_endian -assume byterecl -mcmodel=medium -shared-intel -g'
7691f18a57 Patr*0017 FOPTIM='-O3 -xssse3'
                0018 
                0019 F90FLAGS=$FFLAGS
                0020 F90OPTIM=$FOPTIM
                0021 
                0022 #CFLAGS='-O3 -xssse3 -ip -fPIC'
                0023 CFLAGS='-03 -xssse3 -ip'
                0024 
49917b893f Jean*0025 DEFINES='-DALLOW_USE_MPI -DWORDLENGTH=4'
7691f18a57 Patr*0026 
                0027 # --------------------------
                0028 # INCLUDE NETCDF DIRECTORIES
                0029 # --------------------------
                0030 INCLUDEDIRS=""
                0031 INCLUDES="-I/home/system/software/sal/lib/netcdf-4.0/include"
                0032 LIBS="-L/home/system/software/sal/lib/netcdf-4.0/lib -lnetcdf -lmpi"
                0033 
                0034 # -----------------------
                0035 # INCLUDE MPI DIRECTORIES
                0036 # -----------------------
                0037 INCLUDES="$INCLUDES -I/usr/include"
                0038 INCLUDEDIRS="/usr/include"
                0039 LIBS="$LIBS -L/usr/lib64/"
                0040 #INCLUDES="-I/usr/include -I/home/system/software/redqueen/libs/netcdf-4.0/include"
                0041 #LIBS="-L/home/system/software/redqueen/libs/netcdf-4.0/lib -lnetcdf -lmpi"
15978f0412 Jean*0042 
                0043 #- used for parallel (MPI) DIVA
                0044 MPIINCLUDEDIR="/usr/include"
                0045 #MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'