/[MITgcm]/MITgcm_contrib/MPMice/beaufort/code/linux_gfortran_spiral
ViewVC logotype

Annotation of /MITgcm_contrib/MPMice/beaufort/code/linux_gfortran_spiral

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


Revision 1.1 - (hide annotations) (download)
Wed Oct 2 15:03:05 2013 UTC (11 years, 10 months ago) by dimitri
Branch: MAIN
modifications for spiral

1 dimitri 1.1 #!/bin/bash
2    
3     #FC=gfortran
4     #F90C=${F90C:=mpif90}
5     #CC=gcc
6     #F90=gfortran
7    
8     FC=mpif77
9     CC=mpicc
10     LINK=mpif77
11     F90=mpif90
12    
13     DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DNML_TERMINATOR'
14     CPP='cpp -traditional -P'
15     EXTENDED_SRC_FLAG='-ffixed-line-length-132'
16     GET_FC_VERSION="--version"
17     OMPFLAG='-fopenmp'
18    
19     NOOPTFLAGS='-O0'
20     NOOPTFILES=''
21    
22     INCLUDEDIRS='/usr/include/mpich2-x86_64'
23     LIBDIR='-L/usr/lib64/mpich2/lib'
24     LIBS='-L/usr/lib64/mpich2/lib -lmpich'
25    
26     # Requires gfortran from 2006 onwards for -fconvert=big-endian
27     FFLAGS="$FFLAGS -fconvert=big-endian -fimplicit-none"
28     # for big objects:
29     FFLAGS="$FFLAGS -fPIC"
30     FOPTIM='-O3 -funroll-loops'
31     CFLAGS="$FOPTIM -fPIC"
32     F90FLAGS=$FFLAGS
33     F90OPTIM=$FOPTIM

  ViewVC Help
Powered by ViewVC 1.1.22