| 1 | # configure.wrf |
|---|
| 2 | # |
|---|
| 3 | # This file was automatically generated by the configure script in the |
|---|
| 4 | # top level directory. You may make changes to the settings in this |
|---|
| 5 | # file but be aware they will be overwritten each time you run configure. |
|---|
| 6 | # Ordinarily, it is necessary to run configure once, when the code is |
|---|
| 7 | # first installed. |
|---|
| 8 | # |
|---|
| 9 | # To permanently change options, change the settings for your platform |
|---|
| 10 | # in the file arch/configure.defaults then rerun configure. |
|---|
| 11 | # |
|---|
| 12 | SHELL = /bin/sh |
|---|
| 13 | DEVTOP = `pwd` |
|---|
| 14 | LIBINCLUDE = . |
|---|
| 15 | .SUFFIXES: .F .i .o .f90 .c |
|---|
| 16 | |
|---|
| 17 | #### Get core settings from environment (set in compile script) |
|---|
| 18 | #### Note to add a core, this has to be added to. |
|---|
| 19 | |
|---|
| 20 | COREDEFS = -DEM_CORE=$(WRF_EM_CORE) \ |
|---|
| 21 | -DNMM_CORE=$(WRF_NMM_CORE) -DNMM_MAX_DIM=2600 \ |
|---|
| 22 | -DCOAMPS_CORE=$(WRF_COAMPS_CORE) \ |
|---|
| 23 | -DDA_CORE=$(WRF_DA_CORE) \ |
|---|
| 24 | -DEXP_CORE=$(WRF_EXP_CORE) |
|---|
| 25 | |
|---|
| 26 | #### Single location for defining total number of domains. You need |
|---|
| 27 | #### at least 1 + 2*(number of total nests). For example, 1 coarse |
|---|
| 28 | #### grid + three fine grids = 1 + 2(3) = 7, so MAX_DOMAINS=7. |
|---|
| 29 | |
|---|
| 30 | MAX_DOMAINS = 21 |
|---|
| 31 | |
|---|
| 32 | #### DM buffer length for the configuration flags. |
|---|
| 33 | |
|---|
| 34 | CONFIG_BUF_LEN = 32768 |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | ############################################################################## |
|---|
| 38 | #### The settings in this section are defaults that may be overridden by the |
|---|
| 39 | #### architecture-specific settings in the next section. |
|---|
| 40 | ############################################################################## |
|---|
| 41 | |
|---|
| 42 | ############################################################################## |
|---|
| 43 | #### NOTE: Do not modify these default values here. To override these |
|---|
| 44 | #### values, make changes after "Architecture specific settings". |
|---|
| 45 | ############################################################################## |
|---|
| 46 | |
|---|
| 47 | #### Native size (in bytes) of Fortran REAL data type on this architecture #### |
|---|
| 48 | #### Note: to change real wordsize (for example, to promote REALs from |
|---|
| 49 | #### 4-byte to 8-byte), modify the definition of RWORDSIZE in the |
|---|
| 50 | #### section following "Architecture specific settings". Do not |
|---|
| 51 | #### change NATIVE_RWORDSIZE as is it architecture-specific. |
|---|
| 52 | NATIVE_RWORDSIZE = 4 |
|---|
| 53 | |
|---|
| 54 | #### Default sed command and script for Fortran source files #### |
|---|
| 55 | #SED_FTN = sed -f $(WRF_SRC_ROOT_DIR)/arch/standard.sed |
|---|
| 56 | SED_FTN = $(WRF_SRC_ROOT_DIR)/tools/standard.exe |
|---|
| 57 | |
|---|
| 58 | # Hack to work around $(PWD) not changing during OSF1 build. |
|---|
| 59 | # $(IO_GRIB_SHARE_DIR) is reset during the OSF1 build only. |
|---|
| 60 | IO_GRIB_SHARE_DIR = |
|---|
| 61 | |
|---|
| 62 | #### ESMF switches #### |
|---|
| 63 | #### These are set up by Config.pl #### |
|---|
| 64 | # switch to use separately installed ESMF library for coupling: 1==true |
|---|
| 65 | ESMF_COUPLING = 0 |
|---|
| 66 | # select dependences on module_utility.o |
|---|
| 67 | ESMF_MOD_DEPENDENCE = $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/module_utility.o |
|---|
| 68 | # select -I options for external/io_esmf vs. external/esmf_time_f90 |
|---|
| 69 | ESMF_IO_INC = -I$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 |
|---|
| 70 | # select -I options for separately installed ESMF library, if present |
|---|
| 71 | ESMF_MOD_INC = $(ESMF_IO_INC) |
|---|
| 72 | # select cpp token for external/io_esmf vs. external/esmf_time_f90 |
|---|
| 73 | ESMF_IO_DEFS = |
|---|
| 74 | # select build target for external/io_esmf vs. external/esmf_time_f90 |
|---|
| 75 | ESMF_TARGET = esmf_time |
|---|
| 76 | |
|---|
| 77 | ############################################################################## |
|---|
| 78 | |
|---|
| 79 | LIBWRFLIB = libwrflib.a |
|---|
| 80 | |
|---|
| 81 | |
|---|
| 82 | #### Architecture specific settings #### |
|---|
| 83 | |
|---|
| 84 | # To enable over-decompostion with dmpar and dm+sm compiles, |
|---|
| 85 | # add -DALLOW_OVERDECOMP to ARCH_LOCAL, below. (not recommended) |
|---|
| 86 | |
|---|
| 87 | # Settings for Linux x86_64, PGI compiler with gcc (dm+sm) |
|---|
| 88 | # |
|---|
| 89 | DMPARALLEL = 1 |
|---|
| 90 | OMPCPP = -D_OPENMP |
|---|
| 91 | OMP = -mp=nonuma -Minfo=mp |
|---|
| 92 | SFC = pgf90 |
|---|
| 93 | SCC = gcc |
|---|
| 94 | DM_FC = /donnees/aslmd/MODELES/MPI/mpich2-1.0.8/bin/mpif90 -f90=$(SFC) |
|---|
| 95 | DM_CC = /donnees/aslmd/MODELES/MPI/mpich2-1.0.8/bin/mpicc -cc=$(SCC) -DMPI2_SUPPORT -DMPI2_THREAD_SUPPORT |
|---|
| 96 | FC = $(DM_FC) |
|---|
| 97 | CC = $(DM_CC) -DFSEEKO64_OK |
|---|
| 98 | LD = $(FC) |
|---|
| 99 | RWORDSIZE = $(NATIVE_RWORDSIZE) |
|---|
| 100 | PROMOTION = -r$(RWORDSIZE) -i4 |
|---|
| 101 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
|---|
| 102 | CFLAGS_LOCAL = -w -O3 |
|---|
| 103 | LDFLAGS_LOCAL = |
|---|
| 104 | CPLUSPLUSLIB = |
|---|
| 105 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
|---|
| 106 | FCOPTIM = -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed # -Minfo=all =Mneginfo=all |
|---|
| 107 | FCREDUCEDOPT = $(FCOPTIM) |
|---|
| 108 | FCNOOPT = -O0 |
|---|
| 109 | FCDEBUG = # -g $(FCNOOPT) |
|---|
| 110 | FORMAT_FIXED = -Mfixed |
|---|
| 111 | FORMAT_FREE = -Mfree |
|---|
| 112 | FCSUFFIX = |
|---|
| 113 | BYTESWAPIO = -byteswapio |
|---|
| 114 | FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
|---|
| 115 | MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main |
|---|
| 116 | TRADFLAG = -traditional |
|---|
| 117 | CPP = /lib/cpp -C -P |
|---|
| 118 | AR = ar |
|---|
| 119 | ARFLAGS = ru |
|---|
| 120 | M4 = m4 -B 14000 |
|---|
| 121 | RANLIB = ranlib |
|---|
| 122 | CC_TOOLS = $(SCC) |
|---|
| 123 | |
|---|
| 124 | ########################################################### |
|---|
| 125 | ###################### |
|---|
| 126 | |
|---|
| 127 | ARCHFLAGS = $(COREDEFS) -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=$(RWORDSIZE) -DLWORDSIZE=4 \ |
|---|
| 128 | $(ARCH_LOCAL) \ |
|---|
| 129 | $(DA_ARCHFLAGS) \ |
|---|
| 130 | -DDM_PARALLEL \ |
|---|
| 131 | \ |
|---|
| 132 | -DNETCDF \ |
|---|
| 133 | \ |
|---|
| 134 | \ |
|---|
| 135 | \ |
|---|
| 136 | \ |
|---|
| 137 | \ |
|---|
| 138 | \ |
|---|
| 139 | -DGRIB1 \ |
|---|
| 140 | -DINTIO \ |
|---|
| 141 | -DLIMIT_ARGS \ |
|---|
| 142 | -DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) \ |
|---|
| 143 | -DMAX_DOMAINS_F=$(MAX_DOMAINS) \ |
|---|
| 144 | -DNMM_NEST=$(WRF_NMM_NEST) |
|---|
| 145 | CFLAGS = $(CFLAGS_LOCAL) -DDM_PARALLEL |
|---|
| 146 | FCFLAGS = $(FCOPTIM) $(FCBASEOPTS) $(OMP) |
|---|
| 147 | ESMF_LIB_FLAGS = |
|---|
| 148 | ESMF_IO_LIB = $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/libesmf_time.a |
|---|
| 149 | ESMF_IO_LIB_EXT = -L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/libesmf_time.a |
|---|
| 150 | INCLUDE_MODULES = $(MODULE_SRCH_FLAG) \ |
|---|
| 151 | $(ESMF_MOD_INC) $(ESMF_LIB_FLAGS) \ |
|---|
| 152 | -I$(WRF_SRC_ROOT_DIR)/main \ |
|---|
| 153 | -I$(WRF_SRC_ROOT_DIR)/external/io_netcdf \ |
|---|
| 154 | -I$(WRF_SRC_ROOT_DIR)/external/io_int \ |
|---|
| 155 | -I$(WRF_SRC_ROOT_DIR)/frame \ |
|---|
| 156 | -I$(WRF_SRC_ROOT_DIR)/share \ |
|---|
| 157 | -I$(WRF_SRC_ROOT_DIR)/phys \ |
|---|
| 158 | -I$(WRF_SRC_ROOT_DIR)/chem -I$(WRF_SRC_ROOT_DIR)/inc \ |
|---|
| 159 | \ |
|---|
| 160 | |
|---|
| 161 | REGISTRY = Registry |
|---|
| 162 | |
|---|
| 163 | LIB_BUNDLED = \ |
|---|
| 164 | -L$(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 -lfftpack \ |
|---|
| 165 | -L$(WRF_SRC_ROOT_DIR)/external/io_grib1 -lio_grib1 \ |
|---|
| 166 | -L$(WRF_SRC_ROOT_DIR)/external/io_grib_share -lio_grib_share \ |
|---|
| 167 | -L$(WRF_SRC_ROOT_DIR)/external/io_int -lwrfio_int \ |
|---|
| 168 | $(ESMF_IO_LIB) \ |
|---|
| 169 | $(ESMF_IO_LIB) \ |
|---|
| 170 | $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a \ |
|---|
| 171 | $(WRF_SRC_ROOT_DIR)/frame/module_internal_header_util.o \ |
|---|
| 172 | $(WRF_SRC_ROOT_DIR)/frame/pack_utils.o |
|---|
| 173 | |
|---|
| 174 | LIB_EXTERNAL = \ |
|---|
| 175 | $(WRF_SRC_ROOT_DIR)/external/io_netcdf/libwrfio_nf.a -L/donnees/aslmd/MODELES/NETCDF/pgf90_64/netcdf-3.6.1/lib -lnetcdf |
|---|
| 176 | |
|---|
| 177 | LIB_LMD = \ |
|---|
| 178 | -L/donnees/aslmd/MODELES/LMD_MM_MARS/mpi_64/WRFV2/mars_lmd/libo -llmd |
|---|
| 179 | |
|---|
| 180 | LIB = $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL) $(LIB_LMD) |
|---|
| 181 | LDFLAGS = $(OMP) $(FCFLAGS) $(LDFLAGS_LOCAL) |
|---|
| 182 | ENVCOMPDEFS = |
|---|
| 183 | WRF_CHEM = 0 |
|---|
| 184 | CPPFLAGS = $(ARCHFLAGS) $(ENVCOMPDEFS) -I$(LIBINCLUDE) $(TRADFLAG) |
|---|
| 185 | NETCDFPATH = /donnees/aslmd/MODELES/NETCDF/pgf90_64/netcdf-3.6.1 |
|---|
| 186 | PNETCDFPATH = |
|---|
| 187 | |
|---|
| 188 | bundled: wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int esmf_time fftpack |
|---|
| 189 | external: wrfio_nf $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a gen_comms_rsllite module_dm_rsllite $(ESMF_TARGET) |
|---|
| 190 | |
|---|
| 191 | ###################### |
|---|
| 192 | externals: bundled external |
|---|
| 193 | |
|---|
| 194 | gen_comms_serial : |
|---|
| 195 | ( /bin/rm -f $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ) |
|---|
| 196 | |
|---|
| 197 | module_dm_serial : |
|---|
| 198 | ( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; cat module_dm_stubs.F >> module_dm.F ; fi ) |
|---|
| 199 | |
|---|
| 200 | gen_comms_rsllite : |
|---|
| 201 | ( if [ ! -e $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ] ; then \ |
|---|
| 202 | /bin/cp $(WRF_SRC_ROOT_DIR)/tools/gen_comms_warning $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; \ |
|---|
| 203 | cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/gen_comms.c >> $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; fi ) |
|---|
| 204 | |
|---|
| 205 | module_dm_rsllite : |
|---|
| 206 | ( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; \ |
|---|
| 207 | cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/module_dm.F >> module_dm.F ; fi ) |
|---|
| 208 | |
|---|
| 209 | wrfio_nf : |
|---|
| 210 | ( cd $(WRF_SRC_ROOT_DIR)/external/io_netcdf ; \ |
|---|
| 211 | make NETCDFPATH="$(NETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \ |
|---|
| 212 | CC="$(SCC)" CFLAGS="$(CFLAGS)" \ |
|---|
| 213 | FC="$(SFC) $(PROMOTION) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ) |
|---|
| 214 | |
|---|
| 215 | wrfio_pnf : |
|---|
| 216 | ( cd $(WRF_SRC_ROOT_DIR)/external/io_pnetcdf ; \ |
|---|
| 217 | make NETCDFPATH="$(PNETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \ |
|---|
| 218 | FC="$(FC) $(PROMOTION) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ) |
|---|
| 219 | |
|---|
| 220 | wrfio_grib_share : |
|---|
| 221 | ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib_share ; \ |
|---|
| 222 | make CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \ |
|---|
| 223 | FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive) |
|---|
| 224 | |
|---|
| 225 | wrfio_grib1 : |
|---|
| 226 | ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib1 ; \ |
|---|
| 227 | make CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \ |
|---|
| 228 | FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive) |
|---|
| 229 | |
|---|
| 230 | wrfio_grib2 : |
|---|
| 231 | ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib2 ; \ |
|---|
| 232 | make CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \ |
|---|
| 233 | CPP="$(CPP)" \ |
|---|
| 234 | FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \ |
|---|
| 235 | FIXED="$(FORMAT_FIXED)" archive) |
|---|
| 236 | |
|---|
| 237 | wrfio_int : |
|---|
| 238 | ( cd $(WRF_SRC_ROOT_DIR)/external/io_int ; \ |
|---|
| 239 | make CC="$(CC)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \ |
|---|
| 240 | FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" \ |
|---|
| 241 | TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" all ) |
|---|
| 242 | |
|---|
| 243 | esmf_time : |
|---|
| 244 | ( cd $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 ; \ |
|---|
| 245 | make FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" \ |
|---|
| 246 | CPP="$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ) |
|---|
| 247 | |
|---|
| 248 | fftpack : |
|---|
| 249 | ( cd $(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 ; \ |
|---|
| 250 | make FC="$(SFC)" FFLAGS="$(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ) |
|---|
| 251 | |
|---|
| 252 | $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a : |
|---|
| 253 | ( cd $(WRF_SRC_ROOT_DIR)/external/RSL_LITE ; make CC="$(CC) $(CFLAGS)" \ |
|---|
| 254 | FC="$(FC) $(FCFLAGS) $(PROMOTION) $(BYTESWAPIO)" \ |
|---|
| 255 | CPP="$(CPP) -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ;\ |
|---|
| 256 | $(RANLIB) $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a ) |
|---|
| 257 | |
|---|
| 258 | ###################### |
|---|
| 259 | # Macros, these should be generic for all machines |
|---|
| 260 | |
|---|
| 261 | LN = ln -sf |
|---|
| 262 | MAKE = make -i -r |
|---|
| 263 | RM = rm -f |
|---|
| 264 | |
|---|
| 265 | |
|---|
| 266 | # These sub-directory builds are identical across all architectures |
|---|
| 267 | |
|---|
| 268 | wrf_ioapi_includes : |
|---|
| 269 | ( cd $(WRF_SRC_ROOT_DIR)/external/ioapi_share ; \ |
|---|
| 270 | $(MAKE) NATIVE_RWORDSIZE="$(NATIVE_RWORDSIZE)" RWORDSIZE="$(RWORDSIZE)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ) |
|---|
| 271 | |
|---|
| 272 | wrfio_esmf : |
|---|
| 273 | ( cd $(WRF_SRC_ROOT_DIR)/external/io_esmf ; \ |
|---|
| 274 | make FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(ESMF_MOD_INC)" \ |
|---|
| 275 | RANLIB="$(RANLIB)" CPP="$(CPP) $(POUND_DEF) " AR="$(AR)" ARFLAGS="$(ARFLAGS)" ) |
|---|
| 276 | |
|---|
| 277 | # There is probably no reason to modify these rules |
|---|
| 278 | |
|---|
| 279 | .F.i: |
|---|
| 280 | $(RM) $@ |
|---|
| 281 | $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.F > $@ |
|---|
| 282 | mv $*.i $(DEVTOP)/pick/$*.f90 |
|---|
| 283 | cp $*.F $(DEVTOP)/pick |
|---|
| 284 | |
|---|
| 285 | .F.o: |
|---|
| 286 | $(RM) $@ |
|---|
| 287 | $(SED_FTN) $*.F > $*.b |
|---|
| 288 | $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b > $*.f90 |
|---|
| 289 | $(RM) $*.b |
|---|
| 290 | $(FC) -o $@ -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90 |
|---|
| 291 | |
|---|
| 292 | .F.f90: |
|---|
| 293 | $(RM) $@ |
|---|
| 294 | $(SED_FTN) $*.F > $*.b |
|---|
| 295 | $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b > $@ |
|---|
| 296 | $(RM) $*.b |
|---|
| 297 | |
|---|
| 298 | .f90.o: |
|---|
| 299 | $(RM) $@ |
|---|
| 300 | $(FC) -o $@ -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90 |
|---|
| 301 | |
|---|
| 302 | .c.o: |
|---|
| 303 | $(RM) $@ |
|---|
| 304 | $(CC) -o $@ -c $(CFLAGS) $*.c |
|---|
| 305 | |
|---|
| 306 | # A little more adventurous. Allow full opt on |
|---|
| 307 | # mediation_integrate.o \ |
|---|
| 308 | # shift_domain_em.o \ |
|---|
| 309 | # solve_em.o <-- gets a little kick from SOLVE_EM_SPECIAL too, if defined |
|---|
| 310 | # mediation_feedback_domain.o : mediation_feedback_domain.F |
|---|
| 311 | # mediation_force_domain.o : mediation_force_domain.F |
|---|
| 312 | # mediation_interp_domain.o : mediation_interp_domain.F |
|---|
| 313 | |
|---|
| 314 | # compile these without high optimization to speed compile |
|---|
| 315 | convert_nmm.o : convert_nmm.F |
|---|
| 316 | init_modules_em.o : init_modules_em.F |
|---|
| 317 | input_wrf.o : input_wrf.F |
|---|
| 318 | module_io.o : module_io.F |
|---|
| 319 | module_comm_dm.o : module_comm_dm.F |
|---|
| 320 | module_configure.o : module_configure.F |
|---|
| 321 | module_dm.o : module_dm.F |
|---|
| 322 | module_domain.o : module_domain.F |
|---|
| 323 | module_domain_type.o : module_domain_type.F |
|---|
| 324 | module_alloc_space.o : module_alloc_space.F |
|---|
| 325 | module_tiles.o : module_tiles.F |
|---|
| 326 | module_fddaobs_rtfdda.o : module_fddaobs_rtfdda.F |
|---|
| 327 | module_initialize.o : module_initialize.F |
|---|
| 328 | module_physics_init.o : module_physics_init.F |
|---|
| 329 | module_initialize_b_wave.o : module_initialize_b_wave.F |
|---|
| 330 | module_initialize_hill2d_x.o : module_initialize_hill2d_x.F |
|---|
| 331 | module_initialize_quarter_ss.o : module_initialize_quarter_ss.F |
|---|
| 332 | module_initialize_real.o : module_initialize_real.F |
|---|
| 333 | module_initialize_real.o: module_initialize_real.F |
|---|
| 334 | module_initialize_squall2d_x.o : module_initialize_squall2d_x.F |
|---|
| 335 | module_initialize_squall2d_y.o : module_initialize_squall2d_y.F |
|---|
| 336 | module_integrate.o : module_integrate.F |
|---|
| 337 | module_io_mm5.o : module_io_mm5.F |
|---|
| 338 | module_io_wrf.o : module_io_wrf.F |
|---|
| 339 | module_si_io.o : module_si_io.F |
|---|
| 340 | module_state_description.o : module_state_description.F |
|---|
| 341 | output_wrf.o : output_wrf.F |
|---|
| 342 | solve_interface.o : solve_interface.F |
|---|
| 343 | start_domain.o : start_domain.F |
|---|
| 344 | start_domain_nmm.o : start_domain_nmm.F |
|---|
| 345 | start_em.o : start_em.F |
|---|
| 346 | wrf_auxhist10in.o : wrf_auxhist10in.F |
|---|
| 347 | wrf_auxhist10out.o : wrf_auxhist10out.F |
|---|
| 348 | wrf_auxhist11in.o : wrf_auxhist11in.F |
|---|
| 349 | wrf_auxhist11out.o : wrf_auxhist11out.F |
|---|
| 350 | wrf_auxhist1in.o : wrf_auxhist1in.F |
|---|
| 351 | wrf_auxhist1out.o : wrf_auxhist1out.F |
|---|
| 352 | wrf_auxhist2in.o : wrf_auxhist2in.F |
|---|
| 353 | wrf_auxhist2out.o : wrf_auxhist2out.F |
|---|
| 354 | wrf_auxhist3in.o : wrf_auxhist3in.F |
|---|
| 355 | wrf_auxhist3out.o : wrf_auxhist3out.F |
|---|
| 356 | wrf_auxhist4in.o : wrf_auxhist4in.F |
|---|
| 357 | wrf_auxhist4out.o : wrf_auxhist4out.F |
|---|
| 358 | wrf_auxhist5in.o : wrf_auxhist5in.F |
|---|
| 359 | wrf_auxhist5out.o : wrf_auxhist5out.F |
|---|
| 360 | wrf_auxhist6in.o : wrf_auxhist6in.F |
|---|
| 361 | wrf_auxhist6out.o : wrf_auxhist6out.F |
|---|
| 362 | wrf_auxhist7in.o : wrf_auxhist7in.F |
|---|
| 363 | wrf_auxhist7out.o : wrf_auxhist7out.F |
|---|
| 364 | wrf_auxhist8in.o : wrf_auxhist8in.F |
|---|
| 365 | wrf_auxhist8out.o : wrf_auxhist8out.F |
|---|
| 366 | wrf_auxhist9in.o : wrf_auxhist9in.F |
|---|
| 367 | wrf_auxhist9out.o : wrf_auxhist9out.F |
|---|
| 368 | wrf_auxinput10in.o : wrf_auxinput10in.F |
|---|
| 369 | wrf_auxinput10out.o : wrf_auxinput10out.F |
|---|
| 370 | wrf_auxinput11in.o : wrf_auxinput11in.F |
|---|
| 371 | wrf_auxinput11out.o : wrf_auxinput11out.F |
|---|
| 372 | wrf_auxinput1in.o : wrf_auxinput1in.F |
|---|
| 373 | wrf_auxinput1out.o : wrf_auxinput1out.F |
|---|
| 374 | wrf_auxinput2in.o : wrf_auxinput2in.F |
|---|
| 375 | wrf_auxinput2out.o : wrf_auxinput2out.F |
|---|
| 376 | wrf_auxinput3in.o : wrf_auxinput3in.F |
|---|
| 377 | wrf_auxinput3out.o : wrf_auxinput3out.F |
|---|
| 378 | wrf_auxinput4in.o : wrf_auxinput4in.F |
|---|
| 379 | wrf_auxinput4out.o : wrf_auxinput4out.F |
|---|
| 380 | wrf_auxinput5in.o : wrf_auxinput5in.F |
|---|
| 381 | wrf_auxinput5out.o : wrf_auxinput5out.F |
|---|
| 382 | wrf_auxinput6in.o : wrf_auxinput6in.F |
|---|
| 383 | wrf_auxinput6out.o : wrf_auxinput6out.F |
|---|
| 384 | wrf_auxinput7in.o : wrf_auxinput7in.F |
|---|
| 385 | wrf_auxinput7out.o : wrf_auxinput7out.F |
|---|
| 386 | wrf_auxinput8in.o : wrf_auxinput8in.F |
|---|
| 387 | wrf_auxinput8out.o : wrf_auxinput8out.F |
|---|
| 388 | wrf_auxinput9in.o : wrf_auxinput9in.F |
|---|
| 389 | wrf_auxinput9out.o : wrf_auxinput9out.F |
|---|
| 390 | wrf_bdyin.o : wrf_bdyin.F |
|---|
| 391 | wrf_bdyout.o : wrf_bdyout.F |
|---|
| 392 | wrf_ext_read_field.o : wrf_ext_read_field.F |
|---|
| 393 | wrf_ext_write_field.o : wrf_ext_write_field.F |
|---|
| 394 | wrf_fddaobs_in.o : wrf_fddaobs_in.F |
|---|
| 395 | wrf_histin.o : wrf_histin.F |
|---|
| 396 | wrf_histout.o : wrf_histout.F |
|---|
| 397 | wrf_inputin.o : wrf_inputin.F |
|---|
| 398 | wrf_inputout.o : wrf_inputout.F |
|---|
| 399 | wrf_restartin.o : wrf_restartin.F |
|---|
| 400 | wrf_restartout.o : wrf_restartout.F |
|---|
| 401 | wrf_tsin.o : wrf_tsin.F |
|---|
| 402 | nl_get_0_routines.o : nl_get_0_routines.F |
|---|
| 403 | nl_get_1_routines.o : nl_get_1_routines.F |
|---|
| 404 | nl_set_0_routines.o : nl_set_0_routines.F |
|---|
| 405 | nl_set_1_routines.o : nl_set_1_routines.F |
|---|
| 406 | |
|---|
| 407 | convert_nmm.o \ |
|---|
| 408 | init_modules_em.o \ |
|---|
| 409 | module_comm_dm.o \ |
|---|
| 410 | module_dm.o \ |
|---|
| 411 | module_alloc_space.o \ |
|---|
| 412 | module_fddaobs_rtfdda.o \ |
|---|
| 413 | module_initialize.o \ |
|---|
| 414 | module_initialize_b_wave.o \ |
|---|
| 415 | module_initialize_hill2d_x.o \ |
|---|
| 416 | module_initialize_quarter_ss.o \ |
|---|
| 417 | module_initialize_real.o \ |
|---|
| 418 | module_initialize_squall2d_x.o \ |
|---|
| 419 | module_initialize_squall2d_y.o \ |
|---|
| 420 | module_integrate.o \ |
|---|
| 421 | module_io_mm5.o \ |
|---|
| 422 | module_io_wrf.o \ |
|---|
| 423 | module_si_io.o \ |
|---|
| 424 | module_tiles.o \ |
|---|
| 425 | output_wrf.o \ |
|---|
| 426 | solve_interface.o \ |
|---|
| 427 | start_domain.o \ |
|---|
| 428 | start_domain_nmm.o \ |
|---|
| 429 | start_em.o \ |
|---|
| 430 | wrf_fddaobs_in.o \ |
|---|
| 431 | wrf_tsin.o : |
|---|
| 432 | $(RM) $@ |
|---|
| 433 | $(SED_FTN) $*.F > $*.b |
|---|
| 434 | $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b > $*.f90 |
|---|
| 435 | $(RM) $*.b |
|---|
| 436 | $(FC) -c $(PROMOTION) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90 |
|---|
| 437 | |
|---|
| 438 | #solve_em.o : |
|---|
| 439 | # $(RM) $@ |
|---|
| 440 | # $(SED_FTN) $*.F > $*.b |
|---|
| 441 | # $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b > $*.f90 |
|---|
| 442 | # $(RM) $*.b |
|---|
| 443 | # $(FC) -o $@ -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $(SOLVE_EM_SPECIAL) $(OMP) $*.f90 |
|---|
| 444 | |
|---|
| 445 | module_sf_ruclsm.o : module_sf_ruclsm.F |
|---|
| 446 | module_cu_kf.o : module_cu_kf.F |
|---|
| 447 | |
|---|
| 448 | module_sf_ruclsm.o module_cu_kf.o : |
|---|
| 449 | $(RM) $@ |
|---|
| 450 | $(SED_FTN) $*.F > $*.b |
|---|
| 451 | $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b > $*.f90 |
|---|
| 452 | $(RM) $*.b |
|---|
| 453 | $(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90 |
|---|
| 454 | |
|---|
| 455 | # compile without OMP |
|---|
| 456 | input_wrf.o \ |
|---|
| 457 | module_domain.o \ |
|---|
| 458 | module_domain_type.o \ |
|---|
| 459 | module_physics_init.o \ |
|---|
| 460 | module_io.o \ |
|---|
| 461 | wrf_auxhist10in.o \ |
|---|
| 462 | wrf_auxhist10out.o \ |
|---|
| 463 | wrf_auxhist11in.o \ |
|---|
| 464 | wrf_auxhist11out.o \ |
|---|
| 465 | wrf_auxhist1in.o \ |
|---|
| 466 | wrf_auxhist1out.o \ |
|---|
| 467 | wrf_auxhist2in.o \ |
|---|
| 468 | wrf_auxhist2out.o \ |
|---|
| 469 | wrf_auxhist3in.o \ |
|---|
| 470 | wrf_auxhist3out.o \ |
|---|
| 471 | wrf_auxhist4in.o \ |
|---|
| 472 | wrf_auxhist4out.o \ |
|---|
| 473 | wrf_auxhist5in.o \ |
|---|
| 474 | wrf_auxhist5out.o \ |
|---|
| 475 | wrf_auxhist6in.o \ |
|---|
| 476 | wrf_auxhist6out.o \ |
|---|
| 477 | wrf_auxhist7in.o \ |
|---|
| 478 | wrf_auxhist7out.o \ |
|---|
| 479 | wrf_auxhist8in.o \ |
|---|
| 480 | wrf_auxhist8out.o \ |
|---|
| 481 | wrf_auxhist9in.o \ |
|---|
| 482 | wrf_auxhist9out.o \ |
|---|
| 483 | wrf_auxinput10in.o \ |
|---|
| 484 | wrf_auxinput10out.o \ |
|---|
| 485 | wrf_auxinput11in.o \ |
|---|
| 486 | wrf_auxinput11out.o \ |
|---|
| 487 | wrf_auxinput1in.o \ |
|---|
| 488 | wrf_auxinput1out.o \ |
|---|
| 489 | wrf_auxinput2in.o \ |
|---|
| 490 | wrf_auxinput2out.o \ |
|---|
| 491 | wrf_auxinput3in.o \ |
|---|
| 492 | wrf_auxinput3out.o \ |
|---|
| 493 | wrf_auxinput4in.o \ |
|---|
| 494 | wrf_auxinput4out.o \ |
|---|
| 495 | wrf_auxinput5in.o \ |
|---|
| 496 | wrf_auxinput5out.o \ |
|---|
| 497 | wrf_auxinput6in.o \ |
|---|
| 498 | wrf_auxinput6out.o \ |
|---|
| 499 | wrf_auxinput7in.o \ |
|---|
| 500 | wrf_auxinput7out.o \ |
|---|
| 501 | wrf_auxinput8in.o \ |
|---|
| 502 | wrf_auxinput8out.o \ |
|---|
| 503 | wrf_auxinput9in.o \ |
|---|
| 504 | wrf_auxinput9out.o \ |
|---|
| 505 | wrf_bdyin.o \ |
|---|
| 506 | wrf_bdyout.o \ |
|---|
| 507 | wrf_ext_read_field.o \ |
|---|
| 508 | wrf_ext_write_field.o \ |
|---|
| 509 | wrf_histin.o \ |
|---|
| 510 | wrf_histout.o \ |
|---|
| 511 | wrf_inputin.o \ |
|---|
| 512 | wrf_inputout.o \ |
|---|
| 513 | wrf_restartin.o \ |
|---|
| 514 | wrf_restartout.o \ |
|---|
| 515 | module_state_description.o \ |
|---|
| 516 | nl_set_0_routines.o \ |
|---|
| 517 | nl_set_1_routines.o \ |
|---|
| 518 | nl_get_0_routines.o \ |
|---|
| 519 | nl_get_1_routines.o \ |
|---|
| 520 | module_configure.o : |
|---|
| 521 | $(RM) $@ |
|---|
| 522 | $(SED_FTN) $*.F > $*.b |
|---|
| 523 | $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b > $*.f90 |
|---|
| 524 | $(RM) $*.b |
|---|
| 525 | $(FC) -c $(PROMOTION) $(FCSUFFIX) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $*.f90 |
|---|