updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / hydro / arc / macros.mpp.intel.cray_xc
blobd7b1fd450dc7020bd33b19b168747865c14444b0
1 .IGNORE:
3 ifeq ($(SPATIAL_SOIL),1)
4 SPATIAL_SOIL = -DSPATIAL_SOIL
5 else
6 SPATIAL_SOIL = 
7 endif
9 ifeq ($(HYDRO_REALTIME),1)
10 HYDRO_REALTIME = -DHYDRO_REALTIME
11 else
12 HYDRO_REALTIME =
13 endif
15 ifeq ($(WRF_HYDRO),1)
16 WRF_HYDRO = -DWRF_HYDRO $(HYDRO_REALTIME)
17 else
18 WRF_HYDRO =
19 endif
21 ifeq ($(WRF_HYDRO_RAPID),1)
22 WRF_HYDRO = -DWRF_HYDRO -DWRF_HYDRO_RAPID $(HYDRO_REALTIME)
23 endif
25 ifeq ($(HYDRO_D),1)
26 HYDRO_D = -DHYDRO_D $(WRF_HYDRO)
27 else
28 HYDRO_D =  $(WRF_HYDRO)
29 endif
32 ifeq ($(WRF_HYDRO_NUDGING),1)
33 WRF_HYDRO_NUDGING = -DWRF_HYDRO_NUDGING
34 else
35 WRF_HYDRO_NUDGING = 
36 endif
38 ifeq ($(OUTPUT_CHAN_CONN),1)
39 OUTPUT_CHAN_CONN = -DOUTPUT_CHAN_CONN
40 else
41 OUTPUT_CHAN_CONN = 
42 endif
44 ifeq ($(PRECIP_DOUBLE),1)
45 PRECIP_DOUBLE = -DPRECIP_DOUBLE
46 else
47 PRECIP_DOUBLE = 
48 endif
50 ifeq ($(NWM_META),1)
51 NWM_META = -DNWM_META
52 else
53 NWM_META =
54 endif
56 ifeq ($(NCEP_WCOSS),1)
57 NCEP_WCOSS = -DNCEP_WCOSS
58 else
59 NCEP_WCOSS =
60 endif
62 RMD         = rm -f
63 COMPILER90  = ftn
64 FORMAT_FREE = -FR
65 BYTESWAPIO  = -convert big_endian
66 F90FLAGS    = -w -c -ftz -align all -fno-alias -fp-model precise $(FORMAT_FREE) $(BYTESWAPIO)
67 DEBUGFLAGS = -DHYDRO_D -g -traceback -debug all -check all
68 MODFLAG     = -I./ -I ../../MPP -I ../MPP -I ../mod
69 LDFLAGS     =
70 CPPINVOKE   = -fpp
71 CPPFLAGS    = -DMPP_LAND -I ../Data_Rec $(HYDRO_D) $(SPATIAL_SOIL) $(NWM_META) $(WRF_HYDRO_NUDGING) $(OUTPUT_CHAN_CONN) $(PRECIP_DOUBLE) $(NCEP_WCOSS)
72 LIBS        =   
73 NETCDFINC   = $(NETCDF_INC)
74 NETCDFLIB   = -L$(NETCDF_LIB) -lnetcdff -lnetcdf