updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / hydro / arc / macros.yellowstone.debug
blob93e7aec444d4803c25990b58d697e2b33a43db67
1 .IGNORE:
3 ifeq ($(HYDRO_REALTIME),1)
4 HYDRO_REALTIME = -DHYDRO_REALTIME
5 else
6 HYDRO_REALTIME =
7 endif
9 ifeq ($(WRF_HYDRO),1)
10 WRF_HYDRO = -DWRF_HYDRO $(HYDRO_REALTIME)
11 else
12 WRF_HYDRO =
13 endif
15 ifeq ($(WRF_HYDRO_RAPID),1)
16 WRF_HYDRO = -DWRF_HYDRO -DWRF_HYDRO_RAPID $(HYDRO_REALTIME)
17 endif
19 ifeq ($(HYDRO_D),1)
20 HYDRO_D = -DHYDRO_D $(WRF_HYDRO)
21 else
22 HYDRO_D =  $(WRF_HYDRO)
23 endif
26 ifneq ($(origin ESMFMKFILE), environment)
27 $(error Environment variable ESMFMKFILE was not set.)
28 endif
29 include $(ESMFMKFILE)
31 RMD             = rm -f
32 COMPILER90      = $(ESMF_F90COMPILER)
33 FORMAT_FREE     = -FR
34 BYTESWAPIO      = -convert big_endian
35 F90FLAGS        = -w -c -ftz -align all -fno-alias -fp-model precise $(FORMAT_FREE) $(BYTESWAPIO)
36 F90FLAGS        += -g -traceback
37 # -w                    Disables all warning messages
38 # -c                    Prevents linking.
39 # -g                    Produces symbolic debug information in the object
40 #                        file.
41 # -ftz                  Flushes denormal results to zero when the application
42 #                        is in the gradual underflow mode.
43 # -align all            Tells the compiler to add padding bytes whenever
44 #                        possible to obtain the natural alignment of data
45 #                        items in common blocks, derived types, and record
46 #                        structures.
47 # -fno-alias            Specifies that aliasing should not be assumed in
48 #                        the program.
49 # -fp-model precise     Enables value-safe optimizations on floating-
50 #                        point data and rounds intermediate results to
51 #                        source-defined precision.
52 # -FR                   Specifies source files are in free format
53 # -convert big_endian   Specifies that the format will be big endian for
54 #                        INTEGER*1, INTEGER*2, INTEGER*4, or INTEGER*8,
55 #                        and big endian IEEE floating-point for REAL*4,
56 #                        REAL*8, REAL*16, COMPLEX*8, COMPLEX*16, or COM-
57 #                        PLEX*32.
58 # -u                    Sets the default type of a variable to undefined
59 #                        (IMPLICIT NONE)
60 # -traceback            Tells the compiler to generate extra information in
61 #                        the object file to allow the display of source file
62 #                        traceback information at run time when a severe
63 #                        error occurs.
64 # -fpe0                 Floating-point invalid, divide-by-zero, and
65 #                        overflow exceptions are enabled
66 # -nomixed_str_len_arg  The hidden length passed for a character argument 
67 #                        is to be placed in sequential order at the end of 
68 #                        the argument list. [default]
69 # -names lowercase      Causes the compiler to ignore case differences in
70 #                        identifiers and to convert external names to 
71 #                        lowercase. [default]
72 # -convert big_endian   Specifies that the format will be big endian for
73 #                        INTEGER*1, INTEGER*2, INTEGER*4, or INTEGER*8,
74 #                        and big endian IEEE floating-point for REAL*4,
75 #                        REAL*8, REAL*16, COMPLEX*8, COMPLEX*16, or COM-
76 #                        PLEX*32.
77 # -assume byterecl      Specifies that the units for the OPEN statement
78 #                        RECL specifier (record length) value are in bytes
79 #                        for unformatted data files, not longwords (four-
80 #                        byte units)
81 MODFLAG         = -I./ -I../../MPP -I../MPP -I../mod
82 LDFLAGS         = 
83 CPP             = cpp
84 CPPFLAGS        = -C -P -traditional -DMPP_LAND -I../Data_Rec $(HYDRO_D) 
85 # -C:                  Do not discard comments.
86 # -P:                  Inhibit generation of linemarkers in the output 
87 #                       from the preprocessor.
88 # -traditional:        Try to imitate the behavior of old-fashioned C 
89 #                       preprocessors, as opposed to ISO C preprocessors.
90 LIBS            = 
91 NETCDFINC       = $(NETCDF)/include
92 NETCDFLIB       = -L$(NETCDF)/lib -lnetcdff -lnetcdf