<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Your link step (assuming it in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/WRF-compile-undefined-reference-to-kmpc/m-p/1014234#M3964</link>
    <description>&lt;P&gt;Your link step (assuming it is driven by ifort or icc) needs -openmp flag to include the libiomp5 in the library search path. &amp;nbsp;It looks like you compiled for hybrid MPI/OpenMP but linked for MPI alone.&lt;/P&gt;

&lt;P&gt;The stuff you posted is rather confusing. &amp;nbsp;It might help if you would post the parts you actually want to use, and explain any deviations from the specific advice about WRF posted by Intel. &amp;nbsp;Admittedly, the advice seems to be over 3 years old.&lt;/P&gt;

&lt;P&gt;It's correct that mpif90 -fc=ifort is the same as mpiifort and so on, provided that you don't have some other mpif90 on your PATH.&lt;/P&gt;

&lt;P&gt;If your reference to SLES11 means that you aren't using Intel MPI, a forum specific to WRF might be more helpful.&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2014 18:38:00 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2014-05-14T18:38:00Z</dc:date>
    <item>
      <title>WRF compile undefined reference to `__kmpc</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/WRF-compile-undefined-reference-to-kmpc/m-p/1014232#M3962</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;i´m triying compile WRF 3.5.1 with option &lt;/SPAN&gt;&amp;nbsp; 20. &amp;nbsp;Linux x86_64 i486 i586 i686, ifort compiler with icc &amp;nbsp;(dm+sm) and&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;Intel(R) Cluster Studio XE 2013 Service Pack 1 (SP1) Update 1 for Linux* OS&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;and i´m having this errors. Then configure.wrf is below.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;../../frame/module_wrf_error.o: In function `wrf_message_':&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x2b): undefined reference to `__kmpc_global_thread_num'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x48): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x136): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	../../frame/module_wrf_error.o: In function `wrf_message2_':&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x17a): undefined reference to `__kmpc_global_thread_num'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x18b): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1de): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	../../frame/module_wrf_error.o: In function `wrf_check_error_':&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x22b): undefined reference to `__kmpc_global_thread_num'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x3c9): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x4d7): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x5ba): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x6d6): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x704): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x7ff): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x827): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x92c): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x952): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x9ab): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xa71): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xac2): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xb06): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xb5a): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xb72): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xbcb): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	../../frame/module_wrf_error.o: In function `wrf_error_fatal_':&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xc7b): undefined reference to `__kmpc_global_thread_num'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xced): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xe1c): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xe42): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xf67): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0xf8d): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x10bc): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x10e2): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x113b): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x117c): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x11d0): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x11ec): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1245): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	../../frame/module_wrf_error.o: In function `wrf_error_fatal3_':&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x12fc): undefined reference to `__kmpc_global_thread_num'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x136c): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1481): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1563): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x167f): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x16b3): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x17c6): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x17ec): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1901): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1926): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x197f): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1a3e): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1a8f): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1ad6): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1b2a): undefined reference to `__kmpc_end_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1b42): undefined reference to `__kmpc_master'&lt;BR /&gt;
	module_wrf_error.f90:(.text+0x1b9b): undefined reference to `__kmpc_end_master'&lt;/P&gt;

&lt;P&gt;the config file is...&lt;/P&gt;

&lt;P&gt;# configure.wrf&lt;BR /&gt;
	#&lt;BR /&gt;
	# This file was automatically generated by the configure script in the&lt;BR /&gt;
	# top level directory. You may make changes to the settings in this&lt;BR /&gt;
	# file but be aware they will be overwritten each time you run configure.&lt;BR /&gt;
	# Ordinarily, it is necessary to run configure once, when the code is&lt;BR /&gt;
	# first installed.&lt;BR /&gt;
	#&lt;BR /&gt;
	# To permanently change options, change the settings for your platform&lt;BR /&gt;
	# in the file arch/configure.defaults then rerun configure.&lt;BR /&gt;
	#&lt;BR /&gt;
	SHELL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; /bin/sh&lt;BR /&gt;
	DEVTOP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; `pwd`&lt;BR /&gt;
	LIBINCLUDE &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;BR /&gt;
	.SUFFIXES: .F .i .o .f90 .c&lt;/P&gt;

&lt;P&gt;#### Get core settings from environment (set in compile script)&lt;BR /&gt;
	#### Note to add a core, this has to be added to.&lt;/P&gt;

&lt;P&gt;COREDEFS = -DEM_CORE=$(WRF_EM_CORE) \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-DNMM_CORE=$(WRF_NMM_CORE) -DNMM_MAX_DIM=2600 \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; -DCOAMPS_CORE=$(WRF_COAMPS_CORE) \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; -DDA_CORE=$(WRF_DA_CORE) \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-DEXP_CORE=$(WRF_EXP_CORE)&lt;/P&gt;

&lt;P&gt;#### Single location for defining total number of domains. &amp;nbsp;You need&lt;BR /&gt;
	#### at least 1 + 2*(number of total nests). &amp;nbsp;For example, 1 coarse&lt;BR /&gt;
	#### grid + three fine grids = 1 + 2(3) = 7, so MAX_DOMAINS=7.&lt;/P&gt;

&lt;P&gt;MAX_DOMAINS&amp;nbsp;&amp;nbsp; &amp;nbsp;=&amp;nbsp;&amp;nbsp; &amp;nbsp;21&lt;/P&gt;

&lt;P&gt;#### DM buffer length for the configuration flags.&lt;/P&gt;

&lt;P&gt;CONFIG_BUF_LEN&amp;nbsp;&amp;nbsp; &amp;nbsp;=&amp;nbsp;&amp;nbsp; &amp;nbsp;65536&lt;/P&gt;

&lt;P&gt;#### Size of bitmasks (in 4byte integers) of stream masks for WRF I/O&lt;/P&gt;

&lt;P&gt;MAX_HISTORY = 25&lt;/P&gt;

&lt;P&gt;IWORDSIZE = 4&lt;BR /&gt;
	DWORDSIZE = 8&lt;BR /&gt;
	LWORDSIZE = 4&lt;/P&gt;

&lt;P&gt;##############################################################################&lt;BR /&gt;
	#### The settings in this section are defaults that may be overridden by the&amp;nbsp;&lt;BR /&gt;
	#### architecture-specific settings in the next section. &amp;nbsp;&lt;BR /&gt;
	##############################################################################&lt;/P&gt;

&lt;P&gt;##############################################################################&lt;BR /&gt;
	#### NOTE: &amp;nbsp;Do not modify these default values here. &amp;nbsp;To override these&amp;nbsp;&lt;BR /&gt;
	#### &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;values, make changes after "Architecture specific settings". &amp;nbsp;&lt;BR /&gt;
	##############################################################################&lt;/P&gt;

&lt;P&gt;#### Native size (in bytes) of Fortran REAL data type on this architecture ####&lt;BR /&gt;
	#### Note: &amp;nbsp;to change real wordsize (for example, to promote REALs from&amp;nbsp;&lt;BR /&gt;
	#### &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4-byte to 8-byte), modify the definition of RWORDSIZE in the&amp;nbsp;&lt;BR /&gt;
	#### &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;section following "Architecture specific settings". &amp;nbsp;Do not&amp;nbsp;&lt;BR /&gt;
	#### &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;change NATIVE_RWORDSIZE as is it architecture-specific. &amp;nbsp;&lt;BR /&gt;
	NATIVE_RWORDSIZE = 4&lt;/P&gt;

&lt;P&gt;#### Default sed command and script for Fortran source files ####&lt;BR /&gt;
	#SED_FTN = sed -f $(WRF_SRC_ROOT_DIR)/arch/standard.sed&lt;BR /&gt;
	SED_FTN = $(WRF_SRC_ROOT_DIR)/tools/standard.exe&lt;/P&gt;

&lt;P&gt;# Hack to work around $(PWD) not changing during OSF1 build. &amp;nbsp;&lt;BR /&gt;
	# $(IO_GRIB_SHARE_DIR) is reset during the OSF1 build only. &amp;nbsp;&lt;BR /&gt;
	IO_GRIB_SHARE_DIR =&amp;nbsp;&lt;/P&gt;

&lt;P&gt;#### ESMF switches &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ####&lt;BR /&gt;
	#### These are set up by Config.pl ####&lt;BR /&gt;
	# switch to use separately installed ESMF library for coupling: &amp;nbsp;1==true&lt;BR /&gt;
	ESMF_COUPLING &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0&lt;BR /&gt;
	# select dependences on module_utility.o&lt;BR /&gt;
	ESMF_MOD_DEPENDENCE = $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/module_utility.o&lt;BR /&gt;
	# select -I options for external/io_esmf vs. external/esmf_time_f90&lt;BR /&gt;
	ESMF_IO_INC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = -I$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90&lt;BR /&gt;
	# select -I options for separately installed ESMF library, if present&lt;BR /&gt;
	ESMF_MOD_INC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp;$(ESMF_IO_INC)&lt;BR /&gt;
	# select cpp token for external/io_esmf vs. external/esmf_time_f90&lt;BR /&gt;
	ESMF_IO_DEFS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;nbsp;&lt;BR /&gt;
	# select build target for external/io_esmf vs. external/esmf_time_f90&lt;BR /&gt;
	ESMF_TARGET &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = esmf_time&lt;/P&gt;

&lt;P&gt;# ESMFINCLUDEGOESHERE&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	#### NETCDF4 pieces&lt;/P&gt;

&lt;P&gt;NETCDF4_IO_OPTS = -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT&lt;BR /&gt;
	GPFS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&lt;BR /&gt;
	CURL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&lt;BR /&gt;
	HDF5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&lt;BR /&gt;
	ZLIB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&lt;BR /&gt;
	DEP_LIB_PATH &amp;nbsp; &amp;nbsp;=&amp;nbsp;&lt;BR /&gt;
	NETCDF4_DEP_LIB = $(DEP_LIB_PATH) $(HDF5) $(ZLIB) $(GPFS) $(CURL)&lt;/P&gt;

&lt;P&gt;# NETCDF4INCLUDEGOESHERE&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	##############################################################################&lt;/P&gt;

&lt;P&gt;LIBWRFLIB = libwrflib.a&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	#### Architecture specific settings ####&lt;/P&gt;

&lt;P&gt;# Settings for Linux x86_64 i486 i586 i686, ifort compiler with icc &amp;nbsp;(dm+sm)&lt;BR /&gt;
	#&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;By default, some files are compiled without optimizations to speed up compilation. Removing&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;respective makefile rules in the end of this file will result in longer compilation time, and, possibly&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Out Of Memory messages, but might produce binaries which are substantially faster.&lt;BR /&gt;
	#&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Please visit &lt;A href="http://www.intel.com/support/performancetools/sb/cs-028607.htm&amp;nbsp;" target="_blank"&gt;http://www.intel.com/support/performancetools/sb/cs-028607.htm&amp;nbsp;&lt;/A&gt;;&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for latest info on how to build WRF with Intel compilers.&lt;BR /&gt;
	#&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If you got Out Of Memory message, there are several options:&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1. Check your memory limits (ulimit -a), possibly increasing swap partitions size.&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2. Remove any debugging flags (-g, -check, -traceback).&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3. Force the problematic file to be compiled with less optimizations (see examples at the&amp;nbsp;&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end of this file), try -no-ip compiler flag.&lt;BR /&gt;
	#&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This configuration is aimed at accuracy. To improve performance (at the expence of accuracy) you might&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;consider removing '-fp-model precise' flag from FCBASEOPTS. This enables non value-safe optimizations.&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Another option is to add '-ftz' flag, which flushes denormal results to zero when the application is in&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;the gradual underflow mode. It may improve performance if the denormal values are not critical to the&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;behavior of your workload. To further improve performance, add suitable vectorization options for your&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;processor to FCOPTIM (see ifort manpage).&lt;BR /&gt;
	#&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If you have Intel MPI installed and wish to use instead, make the&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;following changes to settings below:&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DM_FC &amp;nbsp;= mpiifort&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DM_CC &amp;nbsp;= mpiicc&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;and source bin64/mpivars.sh file from your Intel MPI installation&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;before the build.&lt;BR /&gt;
	#&lt;BR /&gt;
	# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Suggestions for timing improvements from Craig Mattocks&lt;BR /&gt;
	#&lt;BR /&gt;
	#CFLAGS_LOCAL &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; -w -O3 -ip -fp-model precise -w -ftz -align all -fno-alias $(FORMAT_FREE) $(BYTESWAPIO) #-xHost -fp-model fast=2 -no-prec-div -no-prec-sqrt -ftz -no-multibyte-chars&amp;nbsp;&lt;BR /&gt;
	#LDFLAGS_LOCAL &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; -ip -fp-model precise -w -ftz -align all -fno-alias $(FORMAT_FREE) $(BYTESWAPIO) #-xHost -fp-model fast=2 -no-prec-div -no-prec-sqrt -ftz -align all -fno-alias -fno-common&amp;nbsp;&lt;BR /&gt;
	#FCBASEOPTS_NO_G = &amp;nbsp; &amp;nbsp; &amp;nbsp; -w -ip -fp-model precise -w -ftz -align all -fno-alias $(FORMAT_FREE) $(BYTESWAPIO) #-xHost -fp-model fast=2 -no-heap-arrays -no-prec-div -no-prec-sqrt -ftz -align all -fno-alias -fno-common $(FORMAT_FREE) $(BYTESWAPIO)&lt;/P&gt;

&lt;P&gt;DMPARALLEL &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;BR /&gt;
	OMPCPP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-D_OPENMP&lt;BR /&gt;
	OMP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-openmp -fpp -auto&lt;BR /&gt;
	OMPCC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-openmp -fpp -auto&lt;BR /&gt;
	SFC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; ifort&lt;BR /&gt;
	SCC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; icc&lt;BR /&gt;
	CCOMP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; icc&lt;BR /&gt;
	DM_FC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; mpif90 -f90=$(SFC)&amp;nbsp;&lt;BR /&gt;
	DM_CC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; mpicc -cc=$(SCC) -DMPI2_SUPPORT -DMPI2_THREAD_SUPPORT&lt;BR /&gt;
	FC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(DM_FC)&lt;BR /&gt;
	CC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; $(DM_CC) -DFSEEKO64_OK&amp;nbsp;&lt;BR /&gt;
	LD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; $(FC)&lt;BR /&gt;
	RWORDSIZE &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; $(NATIVE_RWORDSIZE)&lt;BR /&gt;
	PROMOTION &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; -i4&lt;BR /&gt;
	ARCH_LOCAL &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM&lt;BR /&gt;
	CFLAGS_LOCAL &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; -w -O2 -ip #-xHost -fp-model fast=2 -no-prec-div -no-prec-sqrt -ftz -no-multibyte-chars&lt;BR /&gt;
	LDFLAGS_LOCAL &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; -ip #-xHost -fp-model fast=2 -no-prec-div -no-prec-sqrt -ftz -align all -fno-alias -fno-common&lt;BR /&gt;
	CPLUSPLUSLIB &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	ESMF_LDFLAG &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; $(CPLUSPLUSLIB)&lt;BR /&gt;
	FCOPTIM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; -O2&amp;nbsp;&lt;BR /&gt;
	FCREDUCEDOPT&amp;nbsp;&amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; $(FCOPTIM)&lt;BR /&gt;
	FCNOOPT&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; -O0 -fno-inline -fno-ip&lt;BR /&gt;
	FCDEBUG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; # -g $(FCNOOPT) -traceback # -fpe0 -check all -ftrapuv -unroll0 -u&lt;BR /&gt;
	FORMAT_FIXED &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; -FI&lt;BR /&gt;
	FORMAT_FREE &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp; -FR&lt;BR /&gt;
	FCSUFFIX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&lt;BR /&gt;
	BYTESWAPIO &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; -convert big_endian&lt;BR /&gt;
	FCBASEOPTS_NO_G = &amp;nbsp; &amp;nbsp; &amp;nbsp; -ip -fp-model precise -w -ftz -align all -fno-alias $(FORMAT_FREE) $(BYTESWAPIO) #-xHost -fp-model fast=2 -no-heap-arrays -no-prec-div -no-prec-sqrt -fno-common&lt;BR /&gt;
	FCBASEOPTS &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp; $(FCBASEOPTS_NO_G) $(FCDEBUG)&lt;BR /&gt;
	MODULE_SRCH_FLAG = &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	TRADFLAG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp;-traditional&lt;BR /&gt;
	CPP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp;/lib/cpp -C -P&lt;BR /&gt;
	AR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp;ar&lt;BR /&gt;
	ARFLAGS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp; &amp;nbsp;ru&lt;BR /&gt;
	M4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp;m4&lt;BR /&gt;
	RANLIB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp;ranlib&lt;BR /&gt;
	CC_TOOLS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; &amp;nbsp;$(SCC)&amp;nbsp;&lt;/P&gt;

&lt;P&gt;###########################################################&lt;BR /&gt;
	######################&lt;BR /&gt;
	# POSTAMBLE&lt;/P&gt;

&lt;P&gt;FGREP = fgrep -iq&lt;/P&gt;

&lt;P&gt;ARCHFLAGS &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp;$(COREDEFS) -DIWORDSIZE=$(IWORDSIZE) -DDWORDSIZE=$(DWORDSIZE) -DRWORDSIZE=$(RWORDSIZE) -DLWORDSIZE=$(LWORDSIZE) \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(ARCH_LOCAL) \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(DA_ARCHFLAGS) \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DDM_PARALLEL \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DNETCDF \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DUSE_ALLOCATABLES \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DGRIB1 \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DINTIO \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DLIMIT_ARGS \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DMAX_DOMAINS_F=$(MAX_DOMAINS) \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DMAX_HISTORY=$(MAX_HISTORY) \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-DNMM_NEST=$(WRF_NMM_NEST)&lt;BR /&gt;
	CFLAGS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp;$(CFLAGS_LOCAL) -DDM_PARALLEL &amp;nbsp;\&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DMAX_HISTORY=$(MAX_HISTORY) -DNMM_CORE=$(WRF_NMM_CORE)&lt;BR /&gt;
	FCFLAGS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp;$(FCOPTIM) $(FCBASEOPTS)&lt;BR /&gt;
	ESMF_LIB_FLAGS &amp;nbsp;= &amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	# ESMF 5 -- these are defined in esmf.mk, included above&lt;BR /&gt;
	&amp;nbsp;ESMF_IO_LIB &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp;-L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 -lesmf_time&lt;BR /&gt;
	ESMF_IO_LIB_EXT = &amp;nbsp; &amp;nbsp;-L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 -lesmf_time&lt;BR /&gt;
	INCLUDE_MODULES = &amp;nbsp; &amp;nbsp;$(MODULE_SRCH_FLAG) \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(ESMF_MOD_INC) $(ESMF_LIB_FLAGS) \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(WRF_SRC_ROOT_DIR)/main \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(WRF_SRC_ROOT_DIR)/external/io_netcdf \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(WRF_SRC_ROOT_DIR)/external/io_int \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(WRF_SRC_ROOT_DIR)/frame \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(WRF_SRC_ROOT_DIR)/share \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(WRF_SRC_ROOT_DIR)/phys \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(WRF_SRC_ROOT_DIR)/chem -I$(WRF_SRC_ROOT_DIR)/inc \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(NETCDFPATH)/include \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	REGISTRY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp;Registry&lt;BR /&gt;
	CC_TOOLS_CFLAGS = -DNMM_CORE=$(WRF_NMM_CORE)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;LIB_BUNDLED &amp;nbsp; &amp;nbsp; = \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5/libfftpack.a \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(WRF_SRC_ROOT_DIR)/external/io_grib1/libio_grib1.a \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(WRF_SRC_ROOT_DIR)/external/io_grib_share/libio_grib_share.a \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(WRF_SRC_ROOT_DIR)/external/io_int/libwrfio_int.a \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(ESMF_IO_LIB) \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(WRF_SRC_ROOT_DIR)/frame/module_internal_header_util.o \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(WRF_SRC_ROOT_DIR)/frame/pack_utils.o&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;LIB_EXTERNAL &amp;nbsp; &amp;nbsp;= \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -L$(WRF_SRC_ROOT_DIR)/external/io_netcdf -lwrfio_nf -L/opt/netcdf/host/lib &amp;nbsp;-lnetcdf &amp;nbsp; &amp;nbsp;&lt;/P&gt;

&lt;P&gt;LIB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp;$(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL) $(LIB_WRF_HYDRO)&lt;BR /&gt;
	LDFLAGS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp;$(OMP) $(FCFLAGS) $(LDFLAGS_LOCAL)&amp;nbsp;&lt;BR /&gt;
	ENVCOMPDEFS &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	WRF_CHEM&amp;nbsp;&amp;nbsp; &amp;nbsp;=&amp;nbsp;&amp;nbsp; &amp;nbsp;0&amp;nbsp;&lt;BR /&gt;
	CPPFLAGS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp;$(ARCHFLAGS) $(ENVCOMPDEFS) -I$(LIBINCLUDE) $(TRADFLAG)&amp;nbsp;&lt;BR /&gt;
	NETCDFPATH &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp;/opt/netcdf/host&lt;BR /&gt;
	PNETCDFPATH &amp;nbsp; &amp;nbsp; = &amp;nbsp; &amp;nbsp;&lt;/P&gt;

&lt;P&gt;bundled: &amp;nbsp;io_only fftpack&amp;nbsp;&lt;BR /&gt;
	external: io_only $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a gen_comms_rsllite module_dm_rsllite $(ESMF_TARGET)&lt;BR /&gt;
	io_only: &amp;nbsp;esmf_time wrfio_nf &amp;nbsp; wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	######################&lt;BR /&gt;
	externals: io_only bundled external&lt;/P&gt;

&lt;P&gt;gen_comms_serial :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( /bin/rm -f $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c )&lt;/P&gt;

&lt;P&gt;module_dm_serial :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; cat module_dm_stubs.F &amp;gt;&amp;gt; module_dm.F ; fi )&lt;/P&gt;

&lt;P&gt;gen_comms_rsllite :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( if [ ! -e $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ] ; then \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /bin/cp $(WRF_SRC_ROOT_DIR)/tools/gen_comms_warning $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/gen_comms.c &amp;gt;&amp;gt; $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; fi )&lt;/P&gt;

&lt;P&gt;module_dm_rsllite :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/module_dm.F &amp;gt;&amp;gt; module_dm.F ; fi )&lt;/P&gt;

&lt;P&gt;wrfio_nf :&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/io_netcdf ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make $(J) NETCDFPATH="$(NETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CC="$(SCC)" CFLAGS="$(CFLAGS)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FC="$(SFC) $(PROMOTION) $(OMP) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )&lt;/P&gt;

&lt;P&gt;wrfio_pnf :&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/io_pnetcdf ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make $(J) NETCDFPATH="$(PNETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP) $(ARCHFLAGS)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FC="$(FC) $(PROMOTION) $(OMP) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )&lt;/P&gt;

&lt;P&gt;wrfio_grib_share :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/io_grib_share ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)&amp;nbsp;&lt;/P&gt;

&lt;P&gt;wrfio_grib1 :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/io_grib1 ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)&lt;/P&gt;

&lt;P&gt;wrfio_grib2 :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/io_grib2 ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CPP="$(CPP)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FIXED="$(FORMAT_FIXED)" archive)&lt;/P&gt;

&lt;P&gt;wrfio_int :&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/io_int ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make $(J) CC="$(CC)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(OMP)" FGREP="$(FGREP)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ARCHFLAGS="$(ARCHFLAGS)" all )&lt;/P&gt;

&lt;P&gt;esmf_time :&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make $(J) FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CPP="$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )&lt;/P&gt;

&lt;P&gt;fftpack :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make $(J) FC="$(SFC)" FFLAGS="$(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )&lt;/P&gt;

&lt;P&gt;atm_ocn :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/atm_ocn ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CPP="$(CPP)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FC="$(DM_FC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FIXED="$(FORMAT_FIXED)" )&lt;/P&gt;

&lt;P&gt;$(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/RSL_LITE ; make $(J) CC="$(CC) $(CFLAGS)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FC="$(FC) $(FCFLAGS) $(OMP) $(PROMOTION) $(BYTESWAPIO)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CPP="$(CPP) -I. $(ARCHFLAGS) $(OMPCPP) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ;\&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(RANLIB) $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a )&lt;/P&gt;

&lt;P&gt;######################&lt;BR /&gt;
	#&amp;nbsp;&amp;nbsp; &amp;nbsp;Macros, these should be generic for all machines&lt;/P&gt;

&lt;P&gt;LN&amp;nbsp;&amp;nbsp; &amp;nbsp;=&amp;nbsp;&amp;nbsp; &amp;nbsp;ln -sf&lt;BR /&gt;
	MAKE&amp;nbsp;&amp;nbsp; &amp;nbsp;=&amp;nbsp;&amp;nbsp; &amp;nbsp;make -i -r&lt;BR /&gt;
	RM&amp;nbsp;&amp;nbsp; &amp;nbsp;= &amp;nbsp;&amp;nbsp; &amp;nbsp;rm -f&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	# These sub-directory builds are identical across all architectures&lt;/P&gt;

&lt;P&gt;wrf_ioapi_includes :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/ioapi_share ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(MAKE) NATIVE_RWORDSIZE="$(NATIVE_RWORDSIZE)" RWORDSIZE="$(RWORDSIZE)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )&lt;/P&gt;

&lt;P&gt;wrfio_esmf :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;( cd $(WRF_SRC_ROOT_DIR)/external/io_esmf ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(ESMF_MOD_INC)" \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RANLIB="$(RANLIB)" CPP="$(CPP) $(POUND_DEF) " AR="$(AR)" ARFLAGS="$(ARFLAGS)" )&lt;/P&gt;

&lt;P&gt;#&amp;nbsp;&amp;nbsp; &amp;nbsp;There is probably no reason to modify these rules&lt;/P&gt;

&lt;P&gt;.F.i:&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $@&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.F &amp;gt; $@&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;mv $*.i $(DEVTOP)/pick/$*.f90&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;cp $*.F $(DEVTOP)/pick&lt;/P&gt;

&lt;P&gt;.F.o:&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $@&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.F &amp;nbsp;&amp;gt; $*.bb&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(SED_FTN) $*.bb | $(CPP) &amp;gt; $*.f90&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $*.b $*.bb&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;@ if echo $(ARCHFLAGS) | $(FGREP) 'DVAR4D'; then \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo COMPILING $*.F for 4DVAR ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(WRF_SRC_ROOT_DIR)/var/build/da_name_space.pl $*.f90 &amp;gt; $*.f90.tmp ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mv $*.f90.tmp $*.f90 ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fi&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(FC) -o $@ -c $(FCFLAGS) $(OMP) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;.F.f90:&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $@&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(SED_FTN) $*.F &amp;gt; $*.b&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b &amp;nbsp;&amp;gt; $@&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $*.b&lt;/P&gt;

&lt;P&gt;.f90.o:&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $@&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(FC) -o $@ -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90&lt;/P&gt;

&lt;P&gt;setfeenv.o : setfeenv.c&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $@&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(CCOMP) -o $@ -c $(CFLAGS) $(OMPCC) $*.c&lt;/P&gt;

&lt;P&gt;.c.o:&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $@&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(CC) -o $@ -c $(CFLAGS) $*.c&lt;/P&gt;

&lt;P&gt;# A little more adventurous. &amp;nbsp;Allow full opt on&amp;nbsp;&lt;BR /&gt;
	# mediation_integrate.o \&lt;BR /&gt;
	# shift_domain_em.o \&lt;BR /&gt;
	# solve_em.o &amp;nbsp;&amp;lt;-- gets a little kick from SOLVE_EM_SPECIAL too, if defined&lt;BR /&gt;
	# mediation_feedback_domain.o : mediation_feedback_domain.F&lt;BR /&gt;
	# mediation_force_domain.o : mediation_force_domain.F&lt;BR /&gt;
	# mediation_interp_domain.o : mediation_interp_domain.F&lt;/P&gt;

&lt;P&gt;# compile these without high optimization to speed compile&lt;BR /&gt;
	mediation_integrate.o : mediation_integrate.F&lt;BR /&gt;
	track_driver.o : track_driver.F&lt;BR /&gt;
	convert_nmm.o : convert_nmm.F&lt;BR /&gt;
	init_modules_em.o : init_modules_em.F&lt;BR /&gt;
	input_wrf.o : input_wrf.F&lt;BR /&gt;
	module_io.o : module_io.F&lt;BR /&gt;
	module_comm_dm.o : module_comm_dm.F&lt;BR /&gt;
	module_comm_dm_0.o : module_comm_dm_0.F&lt;BR /&gt;
	module_comm_dm_1.o : module_comm_dm_1.F&lt;BR /&gt;
	module_comm_dm_2.o : module_comm_dm_2.F&lt;BR /&gt;
	module_comm_dm_3.o : module_comm_dm_3.F&lt;BR /&gt;
	module_comm_nesting_dm.o : module_comm_nesting_dm.F&lt;BR /&gt;
	module_configure.o : module_configure.F&lt;BR /&gt;
	module_dm.o : module_dm.F&lt;BR /&gt;
	module_domain.o : module_domain.F&lt;BR /&gt;
	module_domain_type.o : module_domain_type.F&lt;BR /&gt;
	module_alloc_space_0.o : module_alloc_space_0.F&lt;BR /&gt;
	module_alloc_space_1.o : module_alloc_space_1.F&lt;BR /&gt;
	module_alloc_space_2.o : module_alloc_space_2.F&lt;BR /&gt;
	module_alloc_space_3.o : module_alloc_space_3.F&lt;BR /&gt;
	module_alloc_space_4.o : module_alloc_space_4.F&lt;BR /&gt;
	module_alloc_space_5.o : module_alloc_space_5.F&lt;BR /&gt;
	module_alloc_space_6.o : module_alloc_space_6.F&lt;BR /&gt;
	module_alloc_space_7.o : module_alloc_space_7.F&lt;BR /&gt;
	module_alloc_space_8.o : module_alloc_space_8.F&lt;BR /&gt;
	module_alloc_space_9.o : module_alloc_space_9.F&lt;BR /&gt;
	module_tiles.o : module_tiles.F&lt;BR /&gt;
	module_fddaobs_rtfdda.o : module_fddaobs_rtfdda.F&lt;BR /&gt;
	module_initialize.o : module_initialize.F&lt;BR /&gt;
	module_physics_init.o : module_physics_init.F&amp;nbsp;&lt;BR /&gt;
	module_initialize_b_wave.o : module_initialize_b_wave.F&lt;BR /&gt;
	module_initialize_hill2d_x.o : module_initialize_hill2d_x.F&lt;BR /&gt;
	module_initialize_quarter_ss.o : module_initialize_quarter_ss.F&lt;BR /&gt;
	module_initialize_real.o : module_initialize_real.F&lt;BR /&gt;
	module_initialize_real.o: module_initialize_real.F&lt;BR /&gt;
	module_initialize_squall2d_x.o : module_initialize_squall2d_x.F&lt;BR /&gt;
	module_initialize_squall2d_y.o : module_initialize_squall2d_y.F&lt;BR /&gt;
	module_initialize_scm_xy.o : module_initialize_scm_xy.F&lt;BR /&gt;
	module_integrate.o : module_integrate.F&lt;BR /&gt;
	module_io_mm5.o : module_io_mm5.F&lt;BR /&gt;
	module_io_wrf.o : module_io_wrf.F&lt;BR /&gt;
	module_si_io.o : module_si_io.F&lt;BR /&gt;
	module_wps_io_arw.o : module_wps_io_arw.F&lt;BR /&gt;
	module_state_description.o : module_state_description.F&amp;nbsp;&lt;BR /&gt;
	output_wrf.o : output_wrf.F&lt;BR /&gt;
	solve_interface.o : solve_interface.F&lt;BR /&gt;
	start_domain.o : start_domain.F&lt;BR /&gt;
	start_em.o : start_em.F&lt;BR /&gt;
	wrf_bdyin.o : wrf_bdyin.F&lt;BR /&gt;
	wrf_bdyout.o : wrf_bdyout.F&lt;BR /&gt;
	wrf_ext_read_field.o : wrf_ext_read_field.F&lt;BR /&gt;
	wrf_ext_write_field.o : wrf_ext_write_field.F&lt;BR /&gt;
	wrf_fddaobs_in.o : wrf_fddaobs_in.F&lt;BR /&gt;
	wrf_histin.o : wrf_histin.F&lt;BR /&gt;
	wrf_histout.o : wrf_histout.F&lt;BR /&gt;
	wrf_inputin.o : wrf_inputin.F&lt;BR /&gt;
	wrf_inputout.o : wrf_inputout.F&lt;BR /&gt;
	wrf_restartin.o : wrf_restartin.F&lt;BR /&gt;
	wrf_restartout.o : wrf_restartout.F&lt;BR /&gt;
	wrf_tsin.o : wrf_tsin.F&lt;BR /&gt;
	nl_get_0_routines.o : nl_get_0_routines.F&lt;BR /&gt;
	nl_get_1_routines.o : nl_get_1_routines.F&lt;BR /&gt;
	nl_set_0_routines.o : nl_set_0_routines.F&lt;BR /&gt;
	nl_set_1_routines.o : nl_set_1_routines.F&lt;/P&gt;

&lt;P&gt;mediation_integrate.o \&lt;BR /&gt;
	track_driver.o \&lt;BR /&gt;
	convert_nmm.o \&lt;BR /&gt;
	init_modules_em.o \&lt;BR /&gt;
	module_dm.o \&lt;BR /&gt;
	module_fddaobs_rtfdda.o \&lt;BR /&gt;
	module_initialize.o \&lt;BR /&gt;
	module_initialize_b_wave.o \&lt;BR /&gt;
	module_initialize_hill2d_x.o \&lt;BR /&gt;
	module_initialize_quarter_ss.o \&lt;BR /&gt;
	module_initialize_real.o \&lt;BR /&gt;
	module_initialize_squall2d_x.o \&lt;BR /&gt;
	module_initialize_squall2d_y.o \&lt;BR /&gt;
	module_initialize_scm_xy.o \&lt;BR /&gt;
	module_integrate.o \&lt;BR /&gt;
	module_io_mm5.o \&lt;BR /&gt;
	module_io_wrf.o \&lt;BR /&gt;
	module_si_io.o \&lt;BR /&gt;
	module_wps_io_arw.o \&lt;BR /&gt;
	module_tiles.o \&lt;BR /&gt;
	output_wrf.o \&lt;BR /&gt;
	solve_interface.o \&lt;BR /&gt;
	start_domain.o \&lt;BR /&gt;
	start_em.o \&lt;BR /&gt;
	wrf_fddaobs_in.o \&lt;BR /&gt;
	wrf_tsin.o :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $@&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(SED_FTN) $*.F &amp;gt; $*.b&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b &amp;nbsp;&amp;gt; $*.f90&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $*.b&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;@ if echo $(ARCHFLAGS) | $(FGREP) 'DVAR4D'; then \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo COMPILING $*.F for 4DVAR ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(WRF_SRC_ROOT_DIR)/var/build/da_name_space.pl $*.f90 &amp;gt; $*.f90.tmp ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mv $*.f90.tmp $*.f90 ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fi&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;if $(FGREP) '!$$OMP' $*.f90 ; then \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITH OMP ; fi ; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$(FC) -c $(PROMOTION) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90 ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITHOUT OMP ; fi ; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$(FC) -c $(PROMOTION) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $*.f90 ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fi&lt;/P&gt;

&lt;P&gt;#solve_em.o :&lt;BR /&gt;
	#&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $@&lt;BR /&gt;
	#&amp;nbsp;&amp;nbsp; &amp;nbsp;$(SED_FTN) $*.F &amp;gt; $*.b&amp;nbsp;&lt;BR /&gt;
	#&amp;nbsp;&amp;nbsp; &amp;nbsp;$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b &amp;nbsp;&amp;gt; $*.f90&lt;BR /&gt;
	#&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $*.b&lt;BR /&gt;
	#&amp;nbsp;&amp;nbsp; &amp;nbsp;$(FC) -o $@ -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $(SOLVE_EM_SPECIAL) $(OMP) $*.f90&lt;/P&gt;

&lt;P&gt;module_sf_ruclsm.o : module_sf_ruclsm.F&lt;/P&gt;

&lt;P&gt;module_sf_ruclsm.o :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $@&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(SED_FTN) $*.F &amp;gt; $*.b&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b &amp;nbsp;&amp;gt; $*.f90&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $*.b&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;if $(FGREP) '!$$OMP' $*.f90 ; then \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo COMPILING $*.F WITH OMP ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITH OMP ; fi ; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90 ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITHOUT OMP ; fi ; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $*.f90 ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fi&lt;/P&gt;

&lt;P&gt;# compile without OMP&lt;BR /&gt;
	input_wrf.o \&lt;BR /&gt;
	module_domain.o \&lt;BR /&gt;
	module_domain_type.o \&lt;BR /&gt;
	module_physics_init.o \&lt;BR /&gt;
	module_io.o \&lt;BR /&gt;
	wrf_bdyin.o \&lt;BR /&gt;
	wrf_bdyout.o \&lt;BR /&gt;
	wrf_ext_read_field.o \&lt;BR /&gt;
	wrf_ext_write_field.o \&lt;BR /&gt;
	wrf_histin.o \&lt;BR /&gt;
	wrf_histout.o \&lt;BR /&gt;
	wrf_inputin.o \&lt;BR /&gt;
	wrf_inputout.o \&lt;BR /&gt;
	wrf_restartin.o \&lt;BR /&gt;
	wrf_restartout.o \&lt;BR /&gt;
	module_state_description.o \&lt;BR /&gt;
	module_alloc_space.o \&lt;BR /&gt;
	module_alloc_space_0.o \&lt;BR /&gt;
	module_alloc_space_1.o \&lt;BR /&gt;
	module_alloc_space_2.o \&lt;BR /&gt;
	module_alloc_space_3.o \&lt;BR /&gt;
	module_alloc_space_4.o \&lt;BR /&gt;
	module_alloc_space_5.o \&lt;BR /&gt;
	module_alloc_space_6.o \&lt;BR /&gt;
	module_alloc_space_7.o \&lt;BR /&gt;
	module_alloc_space_8.o \&lt;BR /&gt;
	module_alloc_space_9.o \&lt;BR /&gt;
	module_comm_dm.o \&lt;BR /&gt;
	module_comm_dm_0.o \&lt;BR /&gt;
	module_comm_dm_1.o \&lt;BR /&gt;
	module_comm_dm_2.o \&lt;BR /&gt;
	module_comm_dm_3.o \&lt;BR /&gt;
	module_comm_nesting_dm.o \&lt;BR /&gt;
	module_configure.o :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $@&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.F &amp;nbsp;&amp;gt; $*.bb&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(SED_FTN) $*.bb | $(CPP) &amp;gt; $*.f90&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;@ if echo $(ARCHFLAGS) | $(FGREP) 'DVAR4D'; then \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo COMPILING $*.F for 4DVAR ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(WRF_SRC_ROOT_DIR)/var/build/da_name_space.pl $*.f90 &amp;gt; $*.f90.tmp ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mv $*.f90.tmp $*.f90 ; \&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fi&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(RM) $*.b $*.bb&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(FC) -c $(PROMOTION) $(FCSUFFIX) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $*.f90&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2014 08:37:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/WRF-compile-undefined-reference-to-kmpc/m-p/1014232#M3962</guid>
      <dc:creator>MK</dc:creator>
      <dc:date>2014-05-14T08:37:50Z</dc:date>
    </item>
    <item>
      <title>im using SLES 11 sp3</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/WRF-compile-undefined-reference-to-kmpc/m-p/1014233#M3963</link>
      <description>&lt;P&gt;im using SLES 11 sp3&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2014 08:47:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/WRF-compile-undefined-reference-to-kmpc/m-p/1014233#M3963</guid>
      <dc:creator>MK</dc:creator>
      <dc:date>2014-05-14T08:47:23Z</dc:date>
    </item>
    <item>
      <title>Your link step (assuming it</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/WRF-compile-undefined-reference-to-kmpc/m-p/1014234#M3964</link>
      <description>&lt;P&gt;Your link step (assuming it is driven by ifort or icc) needs -openmp flag to include the libiomp5 in the library search path. &amp;nbsp;It looks like you compiled for hybrid MPI/OpenMP but linked for MPI alone.&lt;/P&gt;

&lt;P&gt;The stuff you posted is rather confusing. &amp;nbsp;It might help if you would post the parts you actually want to use, and explain any deviations from the specific advice about WRF posted by Intel. &amp;nbsp;Admittedly, the advice seems to be over 3 years old.&lt;/P&gt;

&lt;P&gt;It's correct that mpif90 -fc=ifort is the same as mpiifort and so on, provided that you don't have some other mpif90 on your PATH.&lt;/P&gt;

&lt;P&gt;If your reference to SLES11 means that you aren't using Intel MPI, a forum specific to WRF might be more helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2014 18:38:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/WRF-compile-undefined-reference-to-kmpc/m-p/1014234#M3964</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-05-14T18:38:00Z</dc:date>
    </item>
    <item>
      <title>I met the same problem too,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/WRF-compile-undefined-reference-to-kmpc/m-p/1014235#M3965</link>
      <description>&lt;P&gt;I met the same problem too, and rerun ./compile wrf could link wrf.exe, but it could not work fine, core dump, do you think it's a bug in openmp libs？&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 09:30:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/WRF-compile-undefined-reference-to-kmpc/m-p/1014235#M3965</guid>
      <dc:creator>An_Yang</dc:creator>
      <dc:date>2014-06-09T09:30:05Z</dc:date>
    </item>
  </channel>
</rss>

