/[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.2 - (hide annotations) (download)
Thu Oct 3 18:37:48 2013 UTC (11 years, 10 months ago) by dimitri
Branch: MAIN
Changes since 1.1: +1 -6 lines
updating to be cmopatible with recent MITgcm code

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

  ViewVC Help
Powered by ViewVC 1.1.22