Merge remote-tracking branch 'origin/release-v4.5'
[WRF.git] / hydro / arc / macros.mpp.ifort.omp
blobb24bd0773f5f4387d44af08b1a1e816b49dc8da7
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
31 ifeq ($(WRFIO_NCD_LARGE_FILE_SUPPORT),1)
32 WRFIO_NCD_LARGE_FILE_SUPPORT = -DWRFIO_NCD_LARGE_FILE_SUPPORT
33 else
34 WRFIO_NCD_LARGE_FILE_SUPPORT = 
35 endif
37 ifeq ($(WRF_HYDRO_NUDGING),1)
38 WRF_HYDRO_NUDGING = -DWRF_HYDRO_NUDGING
39 else
40 WRF_HYDRO_NUDGING = 
41 endif
43 ifeq ($(OUTPUT_CHAN_CONN),1)
44 OUTPUT_CHAN_CONN = -DOUTPUT_CHAN_CONN
45 else
46 OUTPUT_CHAN_CONN = 
47 endif
49 ifeq ($(PRECIP_DOUBLE),1)
50 PRECIP_DOUBLE = -DPRECIP_DOUBLE
51 else
52 PRECIP_DOUBLE = 
53 endif
55 ifeq ($(NCEP_WCOSS),1)
56 NCEP_WCOSS = -DNCEP_WCOSS
57 else
58 NCEP_WCOSS =
59 endif
61 ifeq ($(NWM_META),1)
62 NWM_META = -DNWM_META
63 else
64 NWM_META =
65 endif
67 RMD         = rm -f
68 COMPILER90  = mpif90
69 FORMAT_FREE = -FR
70 BYTESWAPIO  = -convert big_endian
71 F90FLAGS    = -xHost -qopenmp -g -w -c -ftz -align all -fno-alias -fp-model strict $(FORMAT_FREE) $(BYTESWAPIO)
72 DEBUGFLAGS = -DHYDRO_D -g -traceback -debug all -check all
73 MODFLAG     = -I./ -I ../../MPP -I ../MPP -I ../mod
74 LDFLAGS     = -qopenmp
75 CPPINVOKE   = -fpp
76 CPPFLAGS    = -DMPP_LAND -I ../Data_Rec $(HYDRO_D) $(SPATIAL_SOIL) $(WRFIO_NCD_LARGE_FILE_SUPPORT) $(NWM_META) $(WRF_HYDRO_NUDGING) $(OUTPUT_CHAN_CONN) $(PRECIP_DOUBLE) $(NCEP_WCOSS)
77 LIBS        = -qopenmp
78 NETCDFINC   = $(NETCDF_INC)
79 NETCDFLIB   = -L$(NETCDF_LIB) -lnetcdff -lnetcdf