Failed on compilation of WRF3.5.1 by ifort

Failed on compilation of WRF3.5.1 by ifort

Hello,

I'm a postdoctoral in Thailand. I wanna use WRF for my research but I tap on the errors of installation.
I have a problem when I am trying to compile em_real case on Linux_x86_64, RHEL 5 (Centos, AMD Optron) using Intel Parallel Studio XE 2013 (ifort and icc), openmpi-1.6.5 and netcdf-3.6.3. I have no idea what is wrong. There is many errors in "compile.log" file. I didn't see executable that should be made in main directory.

Any help will be appreciated please. Thank you for your read.

-------------------------------------------------------------------------

**I have been followed this link to install required library:
-------------------------------------------------------------------------
http://software.intel.com/en-us/articles/wrf-and-wps-v311-installation-b...

Remark: Additionally, I add "-i_dynamic" flag to DM_FC and DM_CC to link both math libraries: libimf and libm. 

 

--------------------------------------------------------------------

** .bashrc

------------------------------------------------------------------
# ifort compiler
source /opt/intel/bin/compilervars.sh intel64
source /opt/intel/bin/ifortvars.sh intel64
source /opt/intel/bin/iccvars.sh intel64
export PATH=/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64:$PATH

# WRF library path
ulimit -s unlimited
export WRF_EM_CORE=1
export WRF_NMM_CORE=0
export WRF_DA_CORE=0
export WRF_CHEM=0
export MP_STACK_SIZE=64000000
export NETCDF=/usr/local/netcdf-3.6.3
export WRFIO_NCD_LARGE_FILE_SUPPORT=1
export MPICH_F90=/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/ifort
export JASPERLIB=/usr/local/jasper-1.900.1/lib
export JASPERINC=/usr/local/jasper-1.900.1/include
export JASPERINC=$JASPERINC:/usr/local/libpng-1.6.9/include/libpng16:/usr/local/libpng-1.
6.9/include
export J="-j 2"

--------------------------------------------------------------------

** configure.wrf
------------------------------------------------------------------
# configure.wrf
#
# To permanently change options, change the settings for your platform
# in the file arch/configure.defaults then rerun configure.
#
SHELL           =       /bin/sh
DEVTOP          =       `pwd`
LIBINCLUDE      =       .
.SUFFIXES: .F .i .o .f90 .c

#### Get core settings from environment (set in compile script)
#### Note to add a core, this has to be added to.

COREDEFS = -DEM_CORE=$(WRF_EM_CORE) \
           -DNMM_CORE=$(WRF_NMM_CORE) -DNMM_MAX_DIM=2600 \
           -DCOAMPS_CORE=$(WRF_COAMPS_CORE) \
           -DDA_CORE=$(WRF_DA_CORE) \
           -DEXP_CORE=$(WRF_EXP_CORE)

#### Single location for defining total number of domains.  You need
#### at least 1 + 2*(number of total nests).  For example, 1 coarse
#### grid + three fine grids = 1 + 2(3) = 7, so MAX_DOMAINS=7.

MAX_DOMAINS     =       21

#### DM buffer length for the configuration flags.

CONFIG_BUF_LEN  =       65536

#### Size of bitmasks (in 4byte integers) of stream masks for WRF I/O

MAX_HISTORY = 25
IWORDSIZE = 4
DWORDSIZE = 8
LWORDSIZE = 4

##############################################################################
#### The settings in this section are defaults that may be overridden by the 
#### architecture-specific settings in the next section.  
##############################################################################

##############################################################################
#### NOTE:  Do not modify these default values here.  To override these 
####        values, make changes after "Architecture specific settings".  
##############################################################################

#### Native size (in bytes) of Fortran REAL data type on this architecture ####
#### Note:  to change real wordsize (for example, to promote REALs from 
####        4-byte to 8-byte), modify the definition of RWORDSIZE in the 
####        section following "Architecture specific settings".  Do not 
####        change NATIVE_RWORDSIZE as is it architecture-specific.  
NATIVE_RWORDSIZE = 4

#### Default sed command and script for Fortran source files ####
#SED_FTN = sed -f $(WRF_SRC_ROOT_DIR)/arch/standard.sed
SED_FTN = $(WRF_SRC_ROOT_DIR)/tools/standard.exe

# Hack to work around $(PWD) not changing during OSF1 build.  
# $(IO_GRIB_SHARE_DIR) is reset during the OSF1 build only.  
IO_GRIB_SHARE_DIR = 

#### ESMF switches                 ####
#### These are set up by Config.pl ####
# switch to use separately installed ESMF library for coupling:  1==true
ESMF_COUPLING       = 0
# select dependences on module_utility.o
ESMF_MOD_DEPENDENCE = $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/module_utility.o
# select -I options for external/io_esmf vs. external/esmf_time_f90
ESMF_IO_INC         = -I$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90
# select -I options for separately installed ESMF library, if present
ESMF_MOD_INC        =  $(ESMF_IO_INC)
# select cpp token for external/io_esmf vs. external/esmf_time_f90
ESMF_IO_DEFS        = 
# select build target for external/io_esmf vs. external/esmf_time_f90
ESMF_TARGET         = esmf_time

# ESMFINCLUDEGOESHERE

#### NETCDF4 pieces

NETCDF4_IO_OPTS = -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT
GPFS            =
CURL            =
HDF5            =
ZLIB            =
DEP_LIB_PATH    = 
NETCDF4_DEP_LIB = $(DEP_LIB_PATH) $(HDF5) $(ZLIB) $(GPFS) $(CURL)

# NETCDF4INCLUDEGOESHERE

##############################################################################

LIBWRFLIB = libwrflib.a

#### Architecture specific settings ####

# Settings for Linux x86_64 i486 i586 i686, ifort compiler with icc  (dmpar)
#
#        By default, some files are compiled without optimizations to speed up compilatio
n. Removing
#        respective makefile rules in the end of this file will result in longer compilat
ion time, and, possibly
#        Out Of Memory messages, but might produce binaries which are substantially faste
r.
#
#        Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm 
#        for latest info on how to build WRF with Intel compilers.
DMPARALLEL      =        1
OMPCPP          =       # -D_OPENMP
OMP             =       # -openmp -fpp -auto
OMPCC           =       # -openmp -fpp -auto
SFC             =       ifort
SCC             =       icc
CCOMP           =       icc
DM_FC           =       mpif90 -f90=$(SFC) -i_dynamic
DM_CC           =       mpicc -cc=$(SCC) -DMPI2_SUPPORT -i_dynamic
FC              =        $(DM_FC)
CC              =       $(DM_CC) -DFSEEKO64_OK 
LD              =       $(FC)
RWORDSIZE       =       $(NATIVE_RWORDSIZE)
PROMOTION       =       -i4
ARCH_LOCAL      =       -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM
CFLAGS_LOCAL    =       -w -O3 -ip #-xHost -fp-model fast=2 -no-prec-div -no-prec-sqrt -f
tz -no-multibyte-chars
LDFLAGS_LOCAL   =       -ip #-xHost -fp-model fast=2 -no-prec-div -no-prec-sqrt -ftz -ali
gn all -fno-alias -fno-common
CPLUSPLUSLIB    =       
ESMF_LDFLAG     =       $(CPLUSPLUSLIB)
FCOPTIM         =       -O3
FCREDUCEDOPT    =       $(FCOPTIM)
FCNOOPT         =       -O0 -fno-inline -fno-ip
FCDEBUG         =       # -g $(FCNOOPT) -traceback # -fpe0 -check all -ftrapuv -unroll0 -
u
FORMAT_FIXED    =       -FI
FORMAT_FREE     =       -FR
FCSUFFIX        =
BYTESWAPIO      =       -convert big_endian
FCBASEOPTS_NO_G =       -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
FCBASEOPTS      =       $(FCBASEOPTS_NO_G) $(FCDEBUG)
MODULE_SRCH_FLAG =     
TRADFLAG        =      -traditional
CPP             =      /lib/cpp -C -P
AR              =      ar
ARFLAGS         =      ru
M4              =      m4
RANLIB          =      ranlib
CC_TOOLS        =      $(SCC) 

###########################################################
######################
# POSTAMBLE

FGREP = fgrep -iq

ARCHFLAGS       =    $(COREDEFS) -DIWORDSIZE=$(IWORDSIZE) -DDWORDSIZE=$(DWORDSIZE) -DRWOR
DSIZE=$(RWORDSIZE) -DLWORDSIZE=$(LWORDSIZE) \
                     $(ARCH_LOCAL) \
                     $(DA_ARCHFLAGS) \
                      -DDM_PARALLEL \
                       \
                      -DNETCDF \
                       \
                       \
                       \
                       \
                       \
                       \
                       \
                       \
                      -DUSE_ALLOCATABLES \
                      -DGRIB1 \
                      -DINTIO \
                      -DLIMIT_ARGS \
                      -DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) \
                      -DMAX_DOMAINS_F=$(MAX_DOMAINS) \
                      -DMAX_HISTORY=$(MAX_HISTORY) \
                      -DNMM_NEST=$(WRF_NMM_NEST)
CFLAGS          =    $(CFLAGS_LOCAL) -DDM_PARALLEL  \
                      -DMAX_HISTORY=$(MAX_HISTORY) -DNMM_CORE=$(WRF_NMM_CORE)
FCFLAGS         =    $(FCOPTIM) $(FCBASEOPTS)
ESMF_LIB_FLAGS  =    
# ESMF 5 -- these are defined in esmf.mk, included above
ESMF_IO_LIB     =    -L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 -lesmf_time
ESMF_IO_LIB_EXT =    -L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 -lesmf_time
INCLUDE_MODULES =    $(MODULE_SRCH_FLAG) \
                     $(ESMF_MOD_INC) $(ESMF_LIB_FLAGS) \
                      -I$(WRF_SRC_ROOT_DIR)/main \
                      -I$(WRF_SRC_ROOT_DIR)/external/io_netcdf \
                      -I$(WRF_SRC_ROOT_DIR)/external/io_int \
                      -I$(WRF_SRC_ROOT_DIR)/frame \
                      -I$(WRF_SRC_ROOT_DIR)/share \
                      -I$(WRF_SRC_ROOT_DIR)/phys \
                      -I$(WRF_SRC_ROOT_DIR)/chem -I$(WRF_SRC_ROOT_DIR)/inc \
                      -I$(NETCDFPATH)/include \
                      
REGISTRY        =    Registry
CC_TOOLS_CFLAGS = -DNMM_CORE=$(WRF_NMM_CORE)

 LIB_BUNDLED     = \
                      $(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5/libfftpack.a \
                      $(WRF_SRC_ROOT_DIR)/external/io_grib1/libio_grib1.a \
                      $(WRF_SRC_ROOT_DIR)/external/io_grib_share/libio_grib_share.a \
                      $(WRF_SRC_ROOT_DIR)/external/io_int/libwrfio_int.a \
                      $(ESMF_IO_LIB) \
                      $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a \
                      $(WRF_SRC_ROOT_DIR)/frame/module_internal_header_util.o \
                      $(WRF_SRC_ROOT_DIR)/frame/pack_utils.o 

 LIB_EXTERNAL    = \
                      -L$(WRF_SRC_ROOT_DIR)/external/io_netcdf -lwrfio_nf -L/usr/local/ne
tcdf-3.6.3/lib  -lnetcdf    

LIB             =    $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL) $(LIB_WRF_HYDRO)
LDFLAGS         =    $(OMP) $(FCFLAGS) $(LDFLAGS_LOCAL) 
ENVCOMPDEFS     =    
WRF_CHEM        =       0 
CPPFLAGS        =    $(ARCHFLAGS) $(ENVCOMPDEFS) -I$(LIBINCLUDE) $(TRADFLAG) 
NETCDFPATH      =    /usr/local/netcdf-3.6.3
PNETCDFPATH     =    

bundled:  io_only fftpack 
external: io_only $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a gen_comms_rsllite m
odule_dm_rsllite $(ESMF_TARGET)
io_only:  esmf_time wrfio_nf   wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int

######################
externals: io_only bundled external

gen_comms_serial :
        ( /bin/rm -f $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c )

module_dm_serial :
        ( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; cat modu
le_dm_stubs.F >> module_dm.F ; fi )

gen_comms_rsllite :
        ( if [ ! -e $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ] ; then \
          /bin/cp $(WRF_SRC_ROOT_DIR)/tools/gen_comms_warning $(WRF_SRC_ROOT_DIR)/tools/g
en_comms.c ; \
          cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/gen_comms.c >> $(WRF_SRC_ROOT_DIR)/to
ols/gen_comms.c ; fi )

module_dm_rsllite :
        ( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; \
          cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/module_dm.F >> module_dm.F ; fi )

wrfio_nf : 
        ( cd $(WRF_SRC_ROOT_DIR)/external/io_netcdf ; \
          make $(J) NETCDFPATH="$(NETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
          CC="$(SCC)" CFLAGS="$(CFLAGS)" \
          FC="$(SFC) $(PROMOTION) $(OMP) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" AR
FLAGS="$(ARFLAGS)" )

wrfio_pnf : 
        ( cd $(WRF_SRC_ROOT_DIR)/external/io_pnetcdf ; \
          make $(J) NETCDFPATH="$(PNETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP) $(ARCHFLAG
S)" \
          FC="$(FC) $(PROMOTION) $(OMP) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARF
LAGS="$(ARFLAGS)" )
wrfio_grib_share :
        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib_share ; \
          make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(C
PP)" \
          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(T
RADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive) 

wrfio_grib1 :
        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib1 ; \
          make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(C
PP)" \
          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(T
RADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)

wrfio_grib2 :
        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib2 ; \
          make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \
          CPP="$(CPP)" \
          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-tr
aditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \
          FIXED="$(FORMAT_FIXED)" archive)

wrfio_int : 
        ( cd $(WRF_SRC_ROOT_DIR)/external/io_int ; \
          make $(J) CC="$(CC)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
          FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(OMP)" FGREP="$(FGREP)" \
          TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ARCHFLAGS="$(ARCHFLAGS)"
 all )

esmf_time : 
        ( cd $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 ; \
          make $(J) FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" 
\
          CPP="$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" 
ARFLAGS="$(ARFLAGS)" )

fftpack :
        ( cd $(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 ; \
          make $(J) FC="$(SFC)" FFLAGS="$(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(
RANLIB)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )

atm_ocn :
        ( cd $(WRF_SRC_ROOT_DIR)/external/atm_ocn ; \
          make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \
          CPP="$(CPP)" \
          FC="$(DM_FC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-
traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \
          FIXED="$(FORMAT_FIXED)" )

$(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a :
        ( cd $(WRF_SRC_ROOT_DIR)/external/RSL_LITE ; make $(J) CC="$(CC) $(CFLAGS)" \
          FC="$(FC) $(FCFLAGS) $(OMP) $(PROMOTION) $(BYTESWAPIO)" \
          CPP="$(CPP) -I. $(ARCHFLAGS) $(OMPCPP) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLA
GS)" ;\
          $(RANLIB) $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a )

######################
#       Macros, these should be generic for all machines

LN      =       ln -sf
MAKE    =       make -i -r
RM      =       rm -f

# These sub-directory builds are identical across all architectures

wrf_ioapi_includes :
        ( cd $(WRF_SRC_ROOT_DIR)/external/ioapi_share ; \
          $(MAKE) NATIVE_RWORDSIZE="$(NATIVE_RWORDSIZE)" RWORDSIZE="$(RWORDSIZE)" AR="$(A
R)" ARFLAGS="$(ARFLAGS)" )

wrfio_esmf :
        ( cd $(WRF_SRC_ROOT_DIR)/external/io_esmf ; \
          make FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(ESMF_MOD_INC)" \
          RANLIB="$(RANLIB)" CPP="$(CPP) $(POUND_DEF) " AR="$(AR)" ARFLAGS="$(ARFLAGS)" )

#       There is probably no reason to modify these rules
.F.i:
        $(RM) $@
        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.F > $@
        mv $*.i $(DEVTOP)/pick/$*.f90
        cp $*.F $(DEVTOP)/pick

.F.o:
        $(RM) $@
        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.F  > $*.bb
        $(SED_FTN) $*.bb | $(CPP) > $*.f90
        $(RM) $*.b $*.bb
        @ if echo $(ARCHFLAGS) | $(FGREP) 'DVAR4D'; then \
          echo COMPILING $*.F for 4DVAR ; \
          $(WRF_SRC_ROOT_DIR)/var/build/da_name_space.pl $*.f90 > $*.f90.tmp ; \
          mv $*.f90.tmp $*.f90 ; \
        fi
        $(FC) -o $@ -c $(FCFLAGS) $(OMP) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90
        

.F.f90:
        $(RM) $@
        $(SED_FTN) $*.F > $*.b 
        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b  > $@
        $(RM) $*.b

.f90.o:
        $(RM) $@
        $(FC) -o $@ -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90

setfeenv.o : setfeenv.c
        $(RM) $@
        $(CCOMP) -o $@ -c $(CFLAGS) $(OMPCC) $*.c

.c.o:
        $(RM) $@
        $(CC) -o $@ -c $(CFLAGS) $*.c

# A little more adventurous.  Allow full opt on 
 

 

 

** compile.log has this errors:
------------------------------------------------------------------
copying Registry/Registry.EM to Registry/Registry
 
Compiling: WRF_EM_CORE .
 
setting parallel make -j 2
make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm   -I/home/parichat/wrf/WRFV3.5.1/externa
l/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/parichat/wrf/WRFV3.5.1/exter
nal/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/home/parichat/wrf/WRFV3.5
.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wrf/WRFV3.5.1/phys -I/home
/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -I/usr/local/netcdf-3.6.3
/include " ext
make[1]: Entering directory `/home/parichat/wrf/WRFV3.5.1'
--------------------------------------
( cd frame ; make -i -r externals )
make[2]: Entering directory `/home/parichat/wrf/WRFV3.5.1/frame'
( cd /home/parichat/wrf/WRFV3.5.1/external/esmf_time_f90 ; \
          make -j 2 FC="ifort -i4  -ip -fp-model precise -w -ftz -align all -fno-alias -F
R -convert big_endian  " RANLIB="ranlib" \
          CPP="/lib/cpp -C -P -I/home/parichat/wrf/WRFV3.5.1/inc -I. -DEM_CORE=1 -DNMM_CO
RE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZ
E=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DDM_PARALLEL -D
NETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAI
NS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -traditional" AR="ar" ARFLAGS="ru" )
make[3]: Entering directory `/home/parichat/wrf/WRFV3.5.1/external/esmf_time_f90'
/bin/rm -f ESMF_Base.o
/bin/rm -f ESMF_Fraction.o
sed -e "/\!.*'/s/'//g" ESMF_Base.F90 > ESMF_Base.b
sed -e "/\!.*'/s/'//g" ESMF_Fraction.F90 > ESMF_Fraction.b
/lib/cpp -C -P -I/home/parichat/wrf/WRFV3.5.1/inc -I. -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_
DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE
=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DDM_PARALLEL -DNETCDF -DUSE_AL
LOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_H
ISTORY=25 -DNMM_NEST=0 -traditional -C -P -I. ESMF_Fraction.b > ESMF_Fraction.f
               .......
               .......
               .......
opening Registry/registry.diags
including Registry/registry.diags
opening Registry/registry.bdy_perturb
including Registry/registry.bdy_perturb
if [ "m4" = NA ] ; then \
          /bin/cp ../arch/md_calls.inc . ; \
        else \
          m4 md_calls.m4 > md_calls.inc ; \
        fi
/lib/cpp -C -P -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -D
EXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_F
UNC -DWRF_USE_CLM  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS
 -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0  -I. -traditiona
l  -I../inc module_internal_header_util.F > module_internal_header_util.f90
ifort -c -i4   -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endia
n   module_internal_header_util.f90
Registry INFO variable counts: 0d 2026 1d 103 2d 847 3d 617
mpicc -cc=icc -DMPI2_SUPPORT -i_dynamic -DFSEEKO64_OK  -c -w -O3 -ip  -DDM_PARALLEL -DMAX
_HISTORY=25 -DNMM_CORE=0 wrf_num_bytes_between.c
rm -f libmassv.o
/lib/cpp -C -P -I/home/parichat/wrf/WRFV3.5.1/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=
2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -
DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCA
TABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTO
RY=25 -DNMM_NEST=0  -I. -traditional   libmassv.F  > libmassv.bb
/home/parichat/wrf/WRFV3.5.1/tools/standard.exe libmassv.bb | /lib/cpp -C -P > libmassv.f
90
rm -f libmassv.b libmassv.bb
REGISTRY WARNING: o3rad: o3rad_b is not a variable or number; ignoring it
REGISTRY WARNING: o3rad: o3rad_bt is not a variable or number; ignoring it
REGISTRY WARNING: aerod(grid%sm31,grid%sm32,grid%sm33,itrace): aerod_b is not a variable 
or number; ignoring it
REGISTRY WARNING: aerod(grid%sm31,grid%sm32,grid%sm33,itrace): aerod_bt is not a variable
 or number; ignoring it
REGISTRY WARNING: om_tmp: om_tmp_b is not a variable or number; ignoring it
REGISTRY WARNING: om_tmp: om_tmp_bt is not a variable or number; ignoring it
REGISTRY WARNING: om_s: om_s_b is not a variable or number; ignoring it
REGISTRY WARNING: om_s: om_s_bt is not a variable or number; ignoring it
REGISTRY WARNING: om_u: om_u_b is not a variable or number; ignoring it
REGISTRY WARNING: om_u: om_u_bt is not a variable or number; ignoring it
mpif90 -f90=ifort -i_dynamic -o libmassv.o -c -O3 -ip -fp-model precise -w -ftz -align al
l -fno-alias -FR -convert big_endian    -I../dyn_em -I../dyn_nmm   -I/home/parichat/wrf/W
RFV3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/parichat/wrf
/WRFV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/home/pari
chat/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wrf/WRFV3.
5.1/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -I/usr/lo
cal/netcdf-3.6.3/include  -i4  libmassv.f90
REGISTRY WARNING: om_v: om_v_b is not a variable or number; ignoring it
REGISTRY WARNING: om_v: om_v_bt is not a variable or number; ignoring it
REGISTRY WARNING: om_ml: om_ml_b is not a variable or number; ignoring it
REGISTRY WARNING: om_ml: om_ml_bt is not a variable or number; ignoring it
REGISTRY WARNING: ru_tendf_stoch: ru_tendf_stoch_b is not a variable or number; ignoring 
it
REGISTRY WARNING: ru_tendf_stoch: ru_tendf_stoch_bt is not a variable or number; ignoring
 it
REGISTRY WARNING: rv_tendf_stoch: rv_tendf_stoch_b is not a variable or number; ignoring 
it
REGISTRY WARNING: rv_tendf_stoch: rv_tendf_stoch_bt is not a variable or number; ignoring
 it
REGISTRY WARNING: rt_tendf_stoch: rt_tendf_stoch_b is not a variable or number; ignoring 
it
REGISTRY WARNING: rt_tendf_stoch: rt_tendf_stoch_bt is not a variable or number; ignoring
 it
REGISTRY WARNING: field_u_tend_perturb: field_u_tend_perturb_b is not a variable or numbe
r; ignoring it
REGISTRY WARNING: field_u_tend_perturb: field_u_tend_perturb_bt is not a variable or numb
er; ignoring it
REGISTRY WARNING: field_v_tend_perturb: field_v_tend_perturb_b is not a variable or numbe
r; ignoring it
REGISTRY WARNING: field_v_tend_perturb: field_v_tend_perturb_bt is not a variable or numb
er; ignoring it
REGISTRY WARNING: field_t_tend_perturb: field_t_tend_perturb_b is not a variable or numbe
r; ignoring it
REGISTRY WARNING: field_t_tend_perturb: field_t_tend_perturb_bt is not a variable or numb
er; ignoring it
ADVISORY: RSL_LITE version of gen_comms is linked in with registry program.
rm -f collect_on_comm.o
mpicc -cc=icc -DMPI2_SUPPORT -i_dynamic -DFSEEKO64_OK  -o collect_on_comm.o -c -w -O3 -ip
  -DDM_PARALLEL -DMAX_HISTORY=25 -DNMM_CORE=0 collect_on_comm.c
mpicc -cc=icc -DMPI2_SUPPORT -i_dynamic -DFSEEKO64_OK  -c -w -O3 -ip  -DDM_PARALLEL -DMAX
_HISTORY=25 -DNMM_CORE=0 -DIWORDSIZE=4 pack_utils.c
rm -f module_wrf_error.o
/lib/cpp -C -P -I/home/parichat/wrf/WRFV3.5.1/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=
2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -
DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCA
TABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTO
RY=25 -DNMM_NEST=0  -I. -traditional   module_wrf_error.F  > module_wrf_error.bb
/home/parichat/wrf/WRFV3.5.1/tools/standard.exe module_wrf_error.bb | /lib/cpp -C -P > mo
dule_wrf_error.f90
rm -f module_wrf_error.b module_wrf_error.bb
               .......
               .......
               .......
make[1]: Leaving directory `/home/parichat/wrf/WRFV3.5.1'
if [ 0 -eq 1 ]   ; then make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm   -I/home/parich
at/wrf/WRFV3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/pari
chat/wrf/WRFV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/h
ome/parichat/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wr
f/WRFV3.5.1/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -
I/usr/local/netcdf-3.6.3/include " nmm_core ; fi
if [ 0 -eq 1 ]   ; then make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm   -I/home/parich
at/wrf/WRFV3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/pari
chat/wrf/WRFV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/h
ome/parichat/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wr
f/WRFV3.5.1/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -
I/usr/local/netcdf-3.6.3/include " exp_core ; fi
if [ 0 -eq 1 ]   ; then make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm   -I/home/parich
at/wrf/WRFV3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/pari
chat/wrf/WRFV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/h
ome/parichat/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wr
f/WRFV3.5.1/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -
I/usr/local/netcdf-3.6.3/include " wrf_hydro ; fi
( cd main ; make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm   -I/home/parichat/wrf/WRFV3
.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/parichat/wrf/WRF
V3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/home/parichat
/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wrf/WRFV3.5.1/
phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -I/usr/local/
netcdf-3.6.3/include " SOLVER=em em_wrf )
make[1]: Entering directory `/home/parichat/wrf/WRFV3.5.1/main'
rm -f ../main/module_wrf_top.o
/lib/cpp -C -P -I/home/parichat/wrf/WRFV3.5.1/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=
2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -
DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCA
TABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTO
RY=25 -DNMM_NEST=0  -I. -traditional   ../main/module_wrf_top.F  > ../main/module_wrf_top
.bb
/home/parichat/wrf/WRFV3.5.1/tools/standard.exe ../main/module_wrf_top.bb | /lib/cpp -C -
P > ../main/module_wrf_top.f90
rm -f ../main/module_wrf_top.b ../main/module_wrf_top.bb
mpif90 -f90=ifort -i_dynamic -o ../main/module_wrf_top.o -c -O3 -ip -fp-model precise -w 
-ftz -align all -fno-alias -FR -convert big_endian    -I../dyn_em -I../dyn_nmm   -I/home/
parichat/wrf/WRFV3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/hom
e/parichat/wrf/WRFV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_in
t -I/home/parichat/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/paric
hat/wrf/WRFV3.5.1/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1
/inc -I/usr/local/netcdf-3.6.3/include  -i4  ../main/module_wrf_top.f90
rm -f wrf.o
/lib/cpp -C -P -I/home/parichat/wrf/WRFV3.5.1/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=
2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -
DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCA
TABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTO
RY=25 -DNMM_NEST=0  -I. -traditional   wrf.F  > wrf.bb
/home/parichat/wrf/WRFV3.5.1/tools/standard.exe wrf.bb | /lib/cpp -C -P > wrf.f90
rm -f wrf.b wrf.bb
mpif90 -f90=ifort -i_dynamic -o wrf.o -c -O3 -ip -fp-model precise -w -ftz -align all -fn
o-alias -FR -convert big_endian    -I../dyn_em -I../dyn_nmm   -I/home/parichat/wrf/WRFV3.
5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/parichat/wrf/WRFV
3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/home/parichat/
wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wrf/WRFV3.5.1/p
hys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -I/usr/local/n
etcdf-3.6.3/include  -i4  wrf.f90
ranlib libwrflib.a
mpif90 -f90=ifort -i_dynamic -o wrf.exe  -O3 -ip -fp-model precise -w -ftz -align all -fn
o-alias -FR -convert big_endian   -ip   wrf.o ../main/module_wrf_top.o libwrflib.a /home/
parichat/wrf/WRFV3.5.1/external/fftpack/fftpack5/libfftpack.a /home/parichat/wrf/WRFV3.5.
1/external/io_grib1/libio_grib1.a /home/parichat/wrf/WRFV3.5.1/external/io_grib_share/lib
io_grib_share.a /home/parichat/wrf/WRFV3.5.1/external/io_int/libwrfio_int.a -L/home/paric
hat/wrf/WRFV3.5.1/external/esmf_time_f90 -lesmf_time /home/parichat/wrf/WRFV3.5.1/externa
l/RSL_LITE/librsl_lite.a /home/parichat/wrf/WRFV3.5.1/frame/module_internal_header_util.o
 /home/parichat/wrf/WRFV3.5.1/frame/pack_utils.o  -L/home/parichat/wrf/WRFV3.5.1/external
/io_netcdf -lwrfio_nf -L/usr/local/netcdf-3.6.3/lib  -lnetcdf      
libwrflib.a(solve_em.o): In function `solve_em_':
solve_em.f90:(.text+0x13fd1): undefined reference to `module_physics_addtendc_mp_advance_
ppt_'
solve_em.f90:(.text+0x162dd): undefined reference to `module_microphysics_driver_mp_micro
physics_driver_'
solve_em.f90:(.text+0x169ab): undefined reference to `module_microphysics_zero_out_mp_mic
rophysics_zero_outb_'
solve_em.f90:(.text+0x16a8b): undefined reference to `module_microphysics_zero_out_mp_mic
rophysics_zero_outb_'
solve_em.f90:(.text+0x16b6b): undefined reference to `module_microphysics_zero_out_mp_mic
rophysics_zero_outb_'
solve_em.f90:(.text+0x16c4b): undefined reference to `module_microphysics_zero_out_mp_mic
rophysics_zero_outb_'
solve_em.f90:(.text+0x16eaf): undefined reference to `module_microphysics_zero_out_mp_mic
rophysics_zero_outa_'
solve_em.f90:(.text+0x16f8f): undefined reference to `module_microphysics_zero_out_mp_mic
rophysics_zero_outa_'
solve_em.f90:(.text+0x1706f): undefined reference to `module_microphysics_zero_out_mp_mic
rophysics_zero_outa_'
solve_em.f90:(.text+0x1714f): undefined reference to `module_microphysics_zero_out_mp_mic
rophysics_zero_outa_'
solve_em.f90:(.text+0x18a0e): undefined reference to `module_lightning_driver_mp_lightnin
g_driver_'
solve_em.f90:(.text+0x2362d): undefined reference to `module_diagnostics_mp_diagnostic_ou
tput_calc_'
solve_em.f90:(.text+0x242b8): undefined reference to `module_diagnostics_mp_pld_'
solve_em.f90:(.text+0x2660c): undefined reference to `module_diagnostics_mp_clwrf_output_
calc_'
libwrflib.a(module_first_rk_step_part1.o): In function `module_first_rk_step_part1_mp_fir
st_rk_step_part1_':
module_first_rk_step_part1.f90:(.text+0x2175): undefined reference to `module_radiation_d
river_mp_pre_radiation_driver_'
module_first_rk_step_part1.f90:(.text+0x47b3): undefined reference to `module_radiation_d
river_mp_radiation_driver_'
module_first_rk_step_part1.f90:(.text+0xc229): undefined reference to `module_surface_dri
ver_mp_surface_driver_'
module_first_rk_step_part1.f90:(.text+0x10bdf): undefined reference to `module_pbl_driver
_mp_pbl_driver_'
module_first_rk_step_part1.f90:(.text+0x137bc): undefined reference to `module_cumulus_dr
iver_mp_cumulus_driver_'
module_first_rk_step_part1.f90:(.text+0x15325): undefined reference to `module_shallowcu_
driver_mp_shallowcu_driver_'
module_first_rk_step_part1.f90:(.text+0x17d07): undefined reference to `module_fddagd_dri
ver_mp_fddagd_driver_'
module_first_rk_step_part1.f90:(.text+0x18748): undefined reference to `module_fr_fire_dr
iver_wrf_mp_fire_driver_em_step_'
libwrflib.a(module_first_rk_step_part2.o): In function `module_first_rk_step_part2_mp_fir
st_rk_step_part2_':
module_first_rk_step_part2.f90:(.text+0x24b2): undefined reference to `module_physics_add
tendc_mp_update_phy_ten_'
module_first_rk_step_part2.f90:(.text+0x6172): undefined reference to `module_fddaobs_dri
ver_mp_fddaobs_driver_'
libwrflib.a(start_em.o): In function `start_domain_em_':
start_em.f90:(.text+0x10c7b): undefined reference to `module_physics_init_mp_phy_init_'
start_em.f90:(.text+0x1433c): undefined reference to `module_lightning_driver_mp_lightnin
g_init_'
start_em.f90:(.text+0x219df): undefined reference to `module_diagnostics_mp_pld_'
start_em.f90:(.text+0x21e2f): undefined reference to `module_fr_fire_driver_wrf_mp_fire_d
river_em_init_'
make[1]: [em_wrf] Error 1 (ignored)
make[1]: Leaving directory `/home/parichat/wrf/WRFV3.5.1/main'
( cd run ; /bin/rm -f wrf.exe ; ln -s ../main/wrf.exe . )
if [ 0 -eq 1 ] ; then \
          ( cd main ; make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm   -I/home/parichat
/wrf/WRFV3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/parich
at/wrf/WRFV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/hom
e/parichat/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wrf/
WRFV3.5.1/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -I/
usr/local/netcdf-3.6.3/include " SOLVER=em em_wrf_SST_ESMF ) ; \
        fi
build started:   Thu Mar 27 18:13:45 ICT 2014
build completed: Thu Mar 27 19:40:13 ICT 2014
--------------------------------------
( cd main ; make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm   -I/home/parichat/wrf/WRFV3
.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/parichat/wrf/WRF
V3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/home/parichat
/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wrf/WRFV3.5.1/
phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -I/usr/local/
netcdf-3.6.3/include " SOLVER=em IDEAL_CASE=real em_real )
make[1]: Entering directory `/home/parichat/wrf/WRFV3.5.1/main'
rm -f ../dyn_em/module_initialize_real.o
/lib/cpp -C -P -I/home/parichat/wrf/WRFV3.5.1/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=
2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -
DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCA
TABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTO
RY=25 -DNMM_NEST=0  -I. -traditional   ../dyn_em/module_initialize_real.F  > ../dyn_em/mo
dule_initialize_real.bb
/home/parichat/wrf/WRFV3.5.1/tools/standard.exe ../dyn_em/module_initialize_real.bb | /li
b/cpp -C -P > ../dyn_em/module_initialize_real.f90
rm -f ../dyn_em/module_initialize_real.b ../dyn_em/module_initialize_real.bb
mpif90 -f90=ifort -i_dynamic -o ../dyn_em/module_initialize_real.o -c -O3 -ip -fp-model p
recise -w -ftz -align all -fno-alias -FR -convert big_endian    -I../dyn_em -I../dyn_nmm 
  -I/home/parichat/wrf/WRFV3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/m
ain -I/home/parichat/wrf/WRFV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/exte
rnal/io_int -I/home/parichat/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/
home/parichat/wrf/WRFV3.5.1/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf
/WRFV3.5.1/inc -I/usr/local/netcdf-3.6.3/include  -i4  ../dyn_em/module_initialize_real.f
90
rm -f ndown_em.o
/lib/cpp -C -P -I/home/parichat/wrf/WRFV3.5.1/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=
2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -
DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCA
TABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTO
RY=25 -DNMM_NEST=0  -I. -traditional   ndown_em.F  > ndown_em.bb
/home/parichat/wrf/WRFV3.5.1/tools/standard.exe ndown_em.bb | /lib/cpp -C -P > ndown_em.f
90
rm -f ndown_em.b ndown_em.bb
mpif90 -f90=ifort -i_dynamic -o ndown_em.o -c -O3 -ip -fp-model precise -w -ftz -align al
l -fno-alias -FR -convert big_endian    -I../dyn_em -I../dyn_nmm   -I/home/parichat/wrf/W
RFV3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/parichat/wrf
/WRFV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/home/pari
chat/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wrf/WRFV3.
5.1/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -I/usr/lo
cal/netcdf-3.6.3/include  -i4  ndown_em.f90
rm -f nup_em.o
/lib/cpp -C -P -I/home/parichat/wrf/WRFV3.5.1/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=
2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -
DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCA
TABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTO
RY=25 -DNMM_NEST=0  -I. -traditional   nup_em.F  > nup_em.bb
/home/parichat/wrf/WRFV3.5.1/tools/standard.exe nup_em.bb | /lib/cpp -C -P > nup_em.f90
rm -f nup_em.b nup_em.bb
mpif90 -f90=ifort -i_dynamic -o nup_em.o -c -O3 -ip -fp-model precise -w -ftz -align all 
-fno-alias -FR -convert big_endian    -I../dyn_em -I../dyn_nmm   -I/home/parichat/wrf/WRF
V3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/parichat/wrf/W
RFV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/home/parich
at/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wrf/WRFV3.5.
1/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -I/usr/loca
l/netcdf-3.6.3/include  -i4  nup_em.f90
rm -f tc_em.o
/lib/cpp -C -P -I/home/parichat/wrf/WRFV3.5.1/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=
2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -
DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCA
TABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTO
RY=25 -DNMM_NEST=0  -I. -traditional   tc_em.F  > tc_em.bb
/home/parichat/wrf/WRFV3.5.1/tools/standard.exe tc_em.bb | /lib/cpp -C -P > tc_em.f90
rm -f tc_em.b tc_em.bb
mpif90 -f90=ifort -i_dynamic -o tc_em.o -c -O3 -ip -fp-model precise -w -ftz -align all -
fno-alias -FR -convert big_endian    -I../dyn_em -I../dyn_nmm   -I/home/parichat/wrf/WRFV
3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/parichat/wrf/WR
FV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/home/paricha
t/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wrf/WRFV3.5.1
/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -I/usr/local
/netcdf-3.6.3/include  -i4  tc_em.f90
rm -f real_em.o
/lib/cpp -C -P -I/home/parichat/wrf/WRFV3.5.1/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=
2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -
DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCA
TABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTO
RY=25 -DNMM_NEST=0  -I. -traditional   real_em.F  > real_em.bb
/home/parichat/wrf/WRFV3.5.1/tools/standard.exe real_em.bb | /lib/cpp -C -P > real_em.f90
rm -f real_em.b real_em.bb
mpif90 -f90=ifort -i_dynamic -o real_em.o -c -O3 -ip -fp-model precise -w -ftz -align all
 -fno-alias -FR -convert big_endian    -I../dyn_em -I../dyn_nmm   -I/home/parichat/wrf/WR
FV3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/parichat/wrf/
WRFV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/home/paric
hat/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wrf/WRFV3.5
.1/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -I/usr/loc
al/netcdf-3.6.3/include  -i4  real_em.f90
ranlib libwrflib.a
mpif90 -f90=ifort -i_dynamic -o ndown.exe  -O3 -ip -fp-model precise -w -ftz -align all -
fno-alias -FR -convert big_endian   -ip   ndown_em.o  ../dyn_em/module_initialize_real.o 
libwrflib.a /home/parichat/wrf/WRFV3.5.1/external/fftpack/fftpack5/libfftpack.a /home/par
ichat/wrf/WRFV3.5.1/external/io_grib1/libio_grib1.a /home/parichat/wrf/WRFV3.5.1/external
/io_grib_share/libio_grib_share.a /home/parichat/wrf/WRFV3.5.1/external/io_int/libwrfio_i
nt.a -L/home/parichat/wrf/WRFV3.5.1/external/esmf_time_f90 -lesmf_time /home/parichat/wrf
/WRFV3.5.1/external/RSL_LITE/librsl_lite.a /home/parichat/wrf/WRFV3.5.1/frame/module_inte
rnal_header_util.o /home/parichat/wrf/WRFV3.5.1/frame/pack_utils.o  -L/home/parichat/wrf/
WRFV3.5.1/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf-3.6.3/lib  -lnetcdf      
libwrflib.a(start_em.o): In function `start_domain_em_':
start_em.f90:(.text+0x10c7b): undefined reference to `module_physics_init_mp_phy_init_'
start_em.f90:(.text+0x1433c): undefined reference to `module_lightning_driver_mp_lightnin
g_init_'
start_em.f90:(.text+0x219df): undefined reference to `module_diagnostics_mp_pld_'
start_em.f90:(.text+0x21e2f): undefined reference to `module_fr_fire_driver_wrf_mp_fire_d
river_em_init_'
make[1]: [em_real] Error 1 (ignored)
mpif90 -f90=ifort -i_dynamic -o nup.exe  -O3 -ip -fp-model precise -w -ftz -align all -fn
o-alias -FR -convert big_endian   -ip   nup_em.o  ../dyn_em/module_initialize_real.o libw
rflib.a /home/parichat/wrf/WRFV3.5.1/external/fftpack/fftpack5/libfftpack.a /home/paricha
t/wrf/WRFV3.5.1/external/io_grib1/libio_grib1.a /home/parichat/wrf/WRFV3.5.1/external/io_
grib_share/libio_grib_share.a /home/parichat/wrf/WRFV3.5.1/external/io_int/libwrfio_int.a
 -L/home/parichat/wrf/WRFV3.5.1/external/esmf_time_f90 -lesmf_time /home/parichat/wrf/WRF
V3.5.1/external/RSL_LITE/librsl_lite.a /home/parichat/wrf/WRFV3.5.1/frame/module_internal
_header_util.o /home/parichat/wrf/WRFV3.5.1/frame/pack_utils.o  -L/home/parichat/wrf/WRFV
3.5.1/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf-3.6.3/lib  -lnetcdf      
libwrflib.a(start_em.o): In function `start_domain_em_':
start_em.f90:(.text+0x10c7b): undefined reference to `module_physics_init_mp_phy_init_'
start_em.f90:(.text+0x1433c): undefined reference to `module_lightning_driver_mp_lightnin
g_init_'
start_em.f90:(.text+0x219df): undefined reference to `module_diagnostics_mp_pld_'
start_em.f90:(.text+0x21e2f): undefined reference to `module_fr_fire_driver_wrf_mp_fire_d
river_em_init_'
make[1]: [em_real] Error 1 (ignored)
mpif90 -f90=ifort -i_dynamic -o tc.exe  -O3 -ip -fp-model precise -w -ftz -align all -fno
-alias -FR -convert big_endian   -ip   tc_em.o  ../dyn_em/module_initialize_real.o libwrf
lib.a /home/parichat/wrf/WRFV3.5.1/external/fftpack/fftpack5/libfftpack.a /home/parichat/
wrf/WRFV3.5.1/external/io_grib1/libio_grib1.a /home/parichat/wrf/WRFV3.5.1/external/io_gr
ib_share/libio_grib_share.a /home/parichat/wrf/WRFV3.5.1/external/io_int/libwrfio_int.a -
L/home/parichat/wrf/WRFV3.5.1/external/esmf_time_f90 -lesmf_time /home/parichat/wrf/WRFV3
.5.1/external/RSL_LITE/librsl_lite.a /home/parichat/wrf/WRFV3.5.1/frame/module_internal_h
eader_util.o /home/parichat/wrf/WRFV3.5.1/frame/pack_utils.o  -L/home/parichat/wrf/WRFV3.
5.1/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf-3.6.3/lib  -lnetcdf      
libwrflib.a(start_em.o): In function `start_domain_em_':
start_em.f90:(.text+0x10c7b): undefined reference to `module_physics_init_mp_phy_init_'
start_em.f90:(.text+0x1433c): undefined reference to `module_lightning_driver_mp_lightnin
g_init_'
start_em.f90:(.text+0x219df): undefined reference to `module_diagnostics_mp_pld_'
start_em.f90:(.text+0x21e2f): undefined reference to `module_fr_fire_driver_wrf_mp_fire_d
river_em_init_'
make[1]: [em_real] Error 1 (ignored)
mpif90 -f90=ifort -i_dynamic -o real.exe  -O3 -ip -fp-model precise -w -ftz -align all -f
no-alias -FR -convert big_endian   -ip   real_em.o ../dyn_em/module_initialize_real.o lib
wrflib.a /home/parichat/wrf/WRFV3.5.1/external/fftpack/fftpack5/libfftpack.a /home/parich
at/wrf/WRFV3.5.1/external/io_grib1/libio_grib1.a /home/parichat/wrf/WRFV3.5.1/external/io
_grib_share/libio_grib_share.a /home/parichat/wrf/WRFV3.5.1/external/io_int/libwrfio_int.
a -L/home/parichat/wrf/WRFV3.5.1/external/esmf_time_f90 -lesmf_time /home/parichat/wrf/WR
FV3.5.1/external/RSL_LITE/librsl_lite.a /home/parichat/wrf/WRFV3.5.1/frame/module_interna
l_header_util.o /home/parichat/wrf/WRFV3.5.1/frame/pack_utils.o  -L/home/parichat/wrf/WRF
V3.5.1/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf-3.6.3/lib  -lnetcdf      
libwrflib.a(start_em.o): In function `start_domain_em_':
start_em.f90:(.text+0x10c7b): undefined reference to `module_physics_init_mp_phy_init_'
start_em.f90:(.text+0x1433c): undefined reference to `module_lightning_driver_mp_lightnin
g_init_'
start_em.f90:(.text+0x219df): undefined reference to `module_diagnostics_mp_pld_'
start_em.f90:(.text+0x21e2f): undefined reference to `module_fr_fire_driver_wrf_mp_fire_d
river_em_init_'
make[1]: [em_real] Error 1 (ignored)
make[1]: Leaving directory `/home/parichat/wrf/WRFV3.5.1/main'
( cd test/em_real ; /bin/rm -f wrf.exe ; ln -s ../../main/wrf.exe . )
if [ 0 -eq 1 ] ; then \
          ( cd main ; make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm   -I/home/parichat
/wrf/WRFV3.5.1/external/esmf_time_f90  -I/home/parichat/wrf/WRFV3.5.1/main -I/home/parich
at/wrf/WRFV3.5.1/external/io_netcdf -I/home/parichat/wrf/WRFV3.5.1/external/io_int -I/hom
e/parichat/wrf/WRFV3.5.1/frame -I/home/parichat/wrf/WRFV3.5.1/share -I/home/parichat/wrf/
WRFV3.5.1/phys -I/home/parichat/wrf/WRFV3.5.1/chem -I/home/parichat/wrf/WRFV3.5.1/inc -I/
usr/local/netcdf-3.6.3/include " SOLVER=em IDEAL_CASE=real em_wrf_SST_ESMF ) ; \
          ( cd test/em_esmf_exp ; /bin/rm -f wrf.exe ; ln -s ../../main/wrf.exe . ) ; \
          ( cd test/em_esmf_exp ; /bin/rm -f wrf_SST_ESMF.exe ; ln -s ../../main/wrf_SST_
ESMF.exe . ) ; \
          ( cd test/em_esmf_exp ; /bin/rm -f real.exe ; ln -s ../../main/real.exe . ) ; \
          ( cd test/em_esmf_exp ; /bin/rm -f README.namelist ; ln -s ../../run/README.nam
elist . ) ; \
          ( cd test/em_esmf_exp ; /bin/rm -f ETAMPNEW_DATA.expanded_rain ETAMPNEW_DATA RR
TM_DATA RRTMG_LW_DATA RRTMG_SW_DATA ; \
               ln -sf ../../run/ETAMPNEW_DATA . ;                      \
               ln -sf ../../run/ETAMPNEW_DATA.expanded_rain . ;        \
               ln -sf ../../run/RRTM_DATA . ;                          \
               ln -sf ../../run/RRTMG_LW_DATA . ;                      \
               ln -sf ../../run/RRTMG_SW_DATA . ;                      \
               ln -sf ../../run/CAM_ABS_DATA . ;                       \
               ln -sf ../../run/CAM_AEROPT_DATA . ;                    \
               cp     ../../run/CAMtr_volume_mixing_ratio.RCP8.5 CAMtr_volume_mixing_rati
o ;   \
               ln -sf ../../run/CAMtr_volume_mixing_ratio.RCP4.5 . ;   \
               ln -sf ../../run/CAMtr_volume_mixing_ratio.RCP6   . ;   \
               ln -sf ../../run/CAMtr_volume_mixing_ratio.RCP8.5 . ;   \
               ln -sf ../../run/CAMtr_volume_mixing_ratio.A1B    . ;   \
               ln -sf ../../run/CAMtr_volume_mixing_ratio.A2     . ;   \
               ln -sf ../../run/CLM_ALB_ICE_DFS_DATA . ;               \
               ln -sf ../../run/CLM_ALB_ICE_DRC_DATA . ;               \
               ln -sf ../../run/CLM_ASM_ICE_DFS_DATA . ;               \
               ln -sf ../../run/CLM_ASM_ICE_DRC_DATA . ;               \
               ln -sf ../../run/CLM_DRDSDT0_DATA . ;                   \
               ln -sf ../../run/CLM_EXT_ICE_DFS_DATA . ;               \
               ln -sf ../../run/CLM_EXT_ICE_DRC_DATA . ;               \
               ln -sf ../../run/CLM_KAPPA_DATA . ;                     \
               ln -sf ../../run/CLM_TAU_DATA . ;                       \

 

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Some modules contained those symbols seem not compiled correctly. Maybe you hit the bug in <http://software.intel.com/en-us/forums/topic/506826>. Can you reduce the optimization level from "-O3" to "-O2" and try again?

Leave a Comment

Please sign in to add a comment. Not a member? Join today