Merge remote-tracking branch 'origin/release-v4.6.1'
[WRF.git] / hydro / arc / macros.mpp.mpiifort
bloba61b5f783ab28f00f0459b4c4c248535aa9ab69b
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 #################
27 # NEMS Settings #
28 #################
30 FC          = mpiifort -g -openmp -mkl=sequential -align array32byte -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread -openmp -convert big_endian -assume byterecl -mkl=sequential
32 # -g    : produce symbolic debug information in object file
34 ######################
35 # WRF Hydro Settings #
36 ######################
38 RMD             = rm -f
39 COMPILER90      = $(FC)
40 F90FLAGS        = -O2 -g -w -c -ftz -fno-alias -fp-model precise -FR
41 # -w    : disable all warnings
42 # -c    : compile to object (.o) only, do not link
43 # -ftz  : enable flush denormal results to zero
44 DEBUGFLAGS = -DHYDRO_D -g -traceback -debug all -check all
45 MODFLAG         = -I./ -I../../MPP -I../MPP -I../mod
46 LDFLAGS         = 
47 CPPINVOKE       = -fpp
48 CPPFLAGS        = -DMPP_LAND -I ../Data_Rec $(HYDRO_D)
49 LIBS            =       
50 NETCDFINC       = $(NETCDF)/include
51 NETCDFLIB       = -L$(NETCDF)/lib -lnetcdff -lnetcdf