[Wrf-users] WRF 2.2.1 intel compiler problems
Erick van Rijk
vanrijk at apple.com
Tue Nov 13 12:20:49 MST 2007
Hi,
I'm trying to build WRF 2.2.1 with intel ifort/icc using the intel
supplied default configs.
I get some compile errors (that are ignored) that seem to come from
auxinput1_inname not being resolved correctly.
I get the following error:
*******
ifort -c -O3 -switch fe_use_rtl_arg_copy_inout -
mP2OPT_vec_xform_level=103 -FR -cm -w -I. -convert big_endian -fp-
model precise -traceback -openmp -fpp -auto -I../dyn_em -I../dyn_nmm
-I ../main -I../external/io_netcdf -I../external/io_int -I../external/
esmf_time_f90
-I../frame -I../share -I../phys -I../inc -I../chem -real_size `expr 4
\* 8` mediation_integrate.f90
fortcom: Error: mediation_integrate.f90, line 1151: This is not a
field name that is defined in the encompassing structure.
[AUXINPUT1_INNAME]
CALL construct_filename2a ( auxname , config_flags%
auxinput1_inname, grid%id , 2 , timestr )
----------------------------------------------------------^
compilation aborted for mediation_integrate.f90 (code 1)
make[2]: [mediation_integrate.o] Error 1 (ignored)
******
Does anyone have any idea why this would happen?
Thanks,
Erick
This is the config i'm using to build it supplied by intel:
# Settings for Darwin ifort compiler (OpenMP)
#
OMP = -openmp -fpp -auto
OMPCPP = -D_OPENMP
FC = ifort
LD = ifort
CC = icc
SCC = $(CC)
SFC = $(FC)
RWORDSIZE = $(NATIVE_RWORDSIZE)
RSIZEBITS = `expr $(RWORDSIZE) \* 8`
PROMOTION = -real_size $(RSIZEBITS)
CFLAGS = -DMACOS
FCOPTIM = -O3 -switch fe_use_rtl_arg_copy_inout -
mP2OPT_vec_xform_level=103
FCDEBUG = #-g
FCBASEOPTS = -FR -cm -w -I. $(FCDEBUG) -convert big_endian
-fp-model precise -traceback
FCFLAGS = $(FCOPTIM) $(FCBASEOPTS) $(OMP)
ARCHFLAGS = -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=$
(RWORDSIZE) -DLWORDSIZE=4 \
-DNETCDF -DGRIB1 \
-DLIMIT_ARGS -DNOIFORT_KLUDGE
# machine-specific flags needed to link in ESMF library (C++ run-time-
library, etc.)
ESMF_LIB_FLAGS =
ESMF_IO_LIB = -L../external/esmf_time_f90 -lesmf_time
ESMF_IO_LIB_EXT = -L../../external/esmf_time_f90 -lesmf_time
INCLUDE_MODULES = -I ../main -I../external/io_netcdf -I../
external/io_int -I../external/esmf_time_f90 \
-I../frame -I../share -I../phys -I../inc -
I../chem
PERL = perl
REGISTRY = Registry
LIB = -L../external/io_netcdf -lwrfio_nf -L/usr/
local/lib -lnetcdf \
-L../external/io_grib1 -lio_grib1 \
\
-L../external/io_grib_share -lio_grib_share \
../frame/module_internal_header_util.o ../
frame/pack_utils.o -L../external/esmf_time_f90 -lesmf_time
LDFLAGS = $(FCFLAGS) $(FCFLAGS) $(OMP)
ENVCOMPDEFS =
WRF_CHEM = 0
CPP = /usr/bin/cpp -C -P -traditional
POUND_DEF = $(OMPCPP) $(COREDEFS) -DNONSTANDARD_SYSTEM -
DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) -DMAX_DOMAINS_F=$(MAX_DOMAINS) -DGRIB1
CPPFLAGS = -I$(LIBINCLUDE) -C -P $(ARCHFLAGS) $
(ENVCOMPDEFS) $(POUND_DEF)
AR = ar ru
M4 = m4 -B 14000
RANLIB = ranlib
NETCDFPATH = /usr/local
CC_TOOLS = $(CC)
More information about the Wrf-users
mailing list