WRF compilation problem

Dear all,
pgi compilation fails giving the following log (attached below). The first appearance of errors relates to something like

/usr/bin/ld: i386:x86-64 architecture of input file `io_int.o’ is incompatible with i386 output

Any ideas?
Thanks in advance
Themis

**** Compiling: WRF_EM_CORE .

make -i -r MODULE_DIRS="-I…/dyn_em -I…/dyn_nmm -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " ext
make[1]: Entering directory `/prog1/WRF3_CHEM/WRFV3’

( cd frame ; make -i -r externals )
make[2]: Entering directory /prog1/WRF3_CHEM/WRFV3/frame' ( cd /prog1/WRF3_CHEM/WRFV3/external/ioapi_share ; \ make -i -r NATIVE_RWORDSIZE="4" RWORDSIZE="4" AR="ar" ARFLAGS="ru" ) make[3]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/ioapi_share’
( /bin/rm -f …/…/inc/wrf_io_flags.h foo_io_flags.h;
/bin/cp wrf_io_flags.h foo_io_flags.h;
if [ 4 -ne 4 ] ; then
/bin/rm -f foo_io_flags.h;
sed -e ‘s/104/105/’ wrf_io_flags.h > foo_io_flags.h ;
fi ;
/bin/mv foo_io_flags.h …/…/inc/wrf_io_flags.h )
make[3]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/ioapi_share' ( cd /prog1/WRF3_CHEM/WRFV3/external/io_grib_share ; \ make CC="gcc" CFLAGS=" -DDM_PARALLEL -DSTUBMPI" RM="rm -f" RANLIB="ranlib" CPP="/lib/cpp -C -P" \ FC="pgf90 -r4 -i4 -I. -w -Mfree -byteswapio " TRADFLAG="-traditional" AR="ar" ARFLAGS="ru" archive) make[3]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_grib_share’
make[4]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_grib_share' ar ru ./libio_grib_share.a io_grib_share.o get_region_center.o gridnav.o open_file.o ranlib ./libio_grib_share.a make[4]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_grib_share’
make[3]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_grib_share' ( cd /prog1/WRF3_CHEM/WRFV3/external/io_grib1 ; \ make CC="gcc" CFLAGS=" -DDM_PARALLEL -DSTUBMPI" RM="rm -f" RANLIB="ranlib" CPP="/lib/cpp -C -P" \ FC="pgf90 -r4 -i4 -I. -w -Mfree -byteswapio " TRADFLAG="-traditional" AR="ar" ARFLAGS="ru" archive) make[3]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1’
Doing make archive on library subdirectory MEL_grib1
make[4]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1/MEL_grib1' make[5]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1/MEL_grib1’
ar ru …/libio_grib1.a FTP_getfile.o apply_bitmap.o display_gribhdr.o gbyte.o grib_dec.o grib_enc.o grib_seek.o gribgetbds.o gribgetbms.o gribgetgds.o gribgetpds.o gribhdr2file.o gribputbds.o gribputgds.o gribputpds.o hdr_print.o init_dec_struct.o init_enc_struct.o init_gribhdr.o init_struct.o ld_dec_lookup.o ld_enc_input.o ld_enc_lookup.o ld_grib_origctrs.o make_default_grbfn.o make_grib_log.o map_lvl.o map_parm.o pack_spatial.o prt_inp_struct.o upd_child_errmsg.o prt_badmsg.o swap.o grib_uthin.o set_bytes.o
ranlib …/libio_grib1.a
make[5]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1/MEL_grib1' make[4]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1/MEL_grib1’
Doing make archive on library subdirectory grib1_util
make[4]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1/grib1_util' make[5]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1/grib1_util’
ar ru …/libio_grib1.a alloc_2d.o read_grib.o write_grib.o
ranlib …/libio_grib1.a
make[5]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1/grib1_util' make[4]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1/grib1_util’
Doing make archive on library subdirectory WGRIB
make[4]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1/WGRIB' make[4]: Nothing to be done for archive’.
make[4]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1/WGRIB' make[4]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1’
ar ru ./libio_grib1.a grib1_routines.o gribmap.o io_grib1.o trim.o
ranlib ./libio_grib1.a
make[4]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1' make[3]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_grib1’
( cd /prog1/WRF3_CHEM/WRFV3/external/io_int ;
make CC=“gcc -DFSEEKO64_OK " RM=“rm -f” RANLIB=“ranlib” CPP=”/lib/cpp -C -P"
FC=“pgf90 -r4 -i4 -w -Mfree -byteswapio”
TRADFLAG="-traditional" AR=“ar” ARFLAGS=“ru” all )
make[3]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_int' if [ -f ../../frame/pack_utils.o ] ; then \ mv diffwrf.F diffwrf.F90 ; \ x=echo “pgf90 -r4 -i4 -w -Mfree -byteswapio” | awk ‘{print $1}‘; export x ; \ if [ $x = "gfortran" ] ; then \ echo removing external declaration of iargc for gfortran ; \ /lib/cpp -C -P -traditional -I../ioapi_share diffwrf.F90 | sed '/integer *, *external.*iargc/d' > diffwrf.f ; \ else \ /lib/cpp -C -P -traditional -I../ioapi_share diffwrf.F90 > diffwrf.f ; \ fi ; \ pgf90 -r4 -i4 -w -Mfree -byteswapio -c -I../ioapi_share diffwrf.f ; \ mv diffwrf.F90 diffwrf.F ; \ pgf90 -r4 -i4 -w -Mfree -byteswapio -o diffwrf diffwrf.o io_int.o \ ../../frame/pack_utils.o ../../frame/module_internal_header_util.o \ ../../frame/module_driver_constants.o \ ../../frame/module_machine.o ../../frame/wrf_debug.o ../../frame/module_wrf_error.o \ ; fi /usr/bin/ld: i386:x86-64 architecture of input fileio_int.o’ is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file ../../frame/pack_utils.o' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file …/…/frame/module_internal_header_util.o’ is incompatible with i386 output
io_int.o: In function module_ext_internal_int_get_fresh_handle_': io_int.f:(.text+0x8a): undefined reference to wrf_error_fatal_’
io_int.o: In function module_ext_internal_init_module_ext_internal_': io_int.f:(.text+0x126): undefined reference to wrf_sizeof_integer_’
io_int.f:(.text+0x130): undefined reference to wrf_sizeof_real_' io_int.o: In function ext_int_get_next_time_’:
io_int.f:(.text+0xc84): undefined reference to wrf_error_fatal_' io_int.f:(.text+0xca3): undefined reference to wrf_error_fatal_’
io_int.o: In function ext_int_get_var_info_': io_int.f:(.text+0x13c9): undefined reference to wrf_error_fatal_’
io_int.f:(.text+0x13eb): undefined reference to wrf_error_fatal_' io_int.o: In function ext_int_get_next_var_’:
io_int.f:(.text+0x186d): undefined reference to wrf_error_fatal_' io_int.o:io_int.f:(.text+0x188c): more undefined references to wrf_error_fatal_’ follow
io_int.o: In function ext_int_get_dom_ti_logical_': io_int.f:(.text+0x25cb): undefined reference to wrf_message_’
io_int.o: In function ext_int_put_dom_ti_logical_': io_int.f:(.text+0x2603): undefined reference to wrf_message_’
io_int.o: In function ext_int_get_dom_td_double_': io_int.f:(.text+0x2a3f): undefined reference to wrf_error_fatal_’
io_int.o: In function ext_int_put_dom_td_double_': io_int.f:(.text+0x2a5f): undefined reference to wrf_error_fatal_’
io_int.o: In function ext_int_get_var_ti_double_': io_int.f:(.text+0x2e6f): undefined reference to wrf_error_fatal_’
io_int.o: In function ext_int_put_var_ti_double_': io_int.f:(.text+0x2e8f): undefined reference to wrf_error_fatal_’
io_int.o: In function ext_int_get_var_td_double_': io_int.f:(.text+0x332f): undefined reference to wrf_error_fatal_’
io_int.o:io_int.f:(.text+0x334f): more undefined references to wrf_error_fatal_' follow io_int.o: In function ext_int_read_field_’:
io_int.f:(.text+0x36c2): undefined reference to wrf_message_' io_int.f:(.text+0x3875): undefined reference to wrf_message_’
io_int.o: In function ext_int_write_field_': io_int.f:(.text+0x3963): undefined reference to wrf_error_fatal_’
io_int.f:(.text+0x3982): undefined reference to wrf_error_fatal_' io_int.f:(.text+0x39c3): undefined reference to wrf_error_fatal_’
io_int.f:(.text+0x39f2): undefined reference to wrf_error_fatal_' ../../frame/module_internal_header_util.o: In function module_internal_header_util_int_get_write_field_header_’:
module_internal_header_util.f90:(.text+0x353): undefined reference to wrf_error_fatal_' ../../frame/module_internal_header_util.o:module_internal_header_util.f90:(.text+0x128c): more undefined references to wrf_error_fatal_’ follow
make[3]: [diffwrf] Error 2 (ignored)
make[3]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_int' ( cd /prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 ; \ make FC="pgf90 -r4 -i4 -w -Mfree -byteswapio" RANLIB="ranlib" \ CPP="/lib/cpp -C -P -I/prog1/WRF3_CHEM/WRFV3/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_SUBR -DDM_PARALLEL -DSTUBMPI -DNETCDF -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=32768 -DMAX_DOMAINS_F=21 -DNMM_NEST=0 -traditional" AR="ar" ARFLAGS="ru" ) make[3]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90’
make[3]: Nothing to be done for default'. make[3]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90’
( cd /prog1/WRF3_CHEM/WRFV3/external/fftpack/fftpack5 ;
make FC=“pgf90” FFLAGS="-r4 -i4 -w -Mfree -byteswapio" RANLIB=“ranlib” AR=“ar” ARFLAGS=“ru” )
make[3]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/fftpack/fftpack5' ar ru libfftpack.a c1f2kb.o c1f2kf.o c1f3kb.o c1f3kf.o c1f4kb.o c1f4kf.o c1f5kb.o c1f5kf.o c1fgkb.o c1fgkf.o c1fm1b.o c1fm1f.o cfft1b.o cfft1f.o cfft1i.o cfft2b.o cfft2f.o cfft2i.o cfftmb.o cfftmf.o cfftmi.o cmf2kb.o cmf2kf.o cmf3kb.o cmf3kf.o cmf4kb.o cmf4kf.o cmf5kb.o cmf5kf.o cmfgkb.o cmfgkf.o cmfm1b.o cmfm1f.o cosq1b.o cosq1f.o cosq1i.o cosqb1.o cosqf1.o cosqmb.o cosqmf.o cosqmi.o cost1b.o cost1f.o cost1i.o costb1.o costf1.o costmb.o costmf.o costmi.o factor.o mcfti1.o mcsqb1.o mcsqf1.o mcstb1.o mcstf1.o mradb2.o mradb3.o mradb4.o mradb5.o mradbg.o mradf2.o mradf3.o mradf4.o mradf5.o mradfg.o mrftb1.o mrftf1.o mrfti1.o msntb1.o msntf1.o r1f2kb.o r1f2kf.o r1f3kb.o r1f3kf.o r1f4kb.o r1f4kf.o r1f5kb.o r1f5kf.o r1fgkb.o r1fgkf.o rfft1b.o rfft1f.o rfft1i.o rfft2b.o rfft2f.o rfft2i.o rfftb1.o rfftf1.o rffti1.o rfftmb.o rfftmf.o rfftmi.o sinq1b.o sinq1f.o sinq1i.o sinqmb.o sinqmf.o sinqmi.o sint1b.o sint1f.o sint1i.o sintb1.o sintf1.o sintmb.o sintmf.o sintmi.o tables.o xercon.o xerfft.o ranlib libfftpack.a make[3]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/fftpack/fftpack5’
( cd /prog1/WRF3_CHEM/WRFV3/external/io_netcdf ;
make NETCDFPATH="/prog1/WRF3_CHEM/WRFV3/netcdf_links" RANLIB=“ranlib” CPP="/lib/cpp -C -P"
CC=“gcc” CFLAGS=" -DDM_PARALLEL -DSTUBMPI"
FC=“pgf90 -r4 -i4 -O2 -fast -w -Mfree -byteswapio " TRADFLAG=”-traditional" AR=“ar” ARFLAGS=“ru” )
make[3]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_netcdf' make[3]: Nothing to be done for all’.
make[3]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_netcdf' ( if [ ! -e /prog1/WRF3_CHEM/WRFV3/tools/gen_comms.c ] ; then \ /bin/cp /prog1/WRF3_CHEM/WRFV3/tools/gen_comms_warning /prog1/WRF3_CHEM/WRFV3/tools/gen_comms.c ; \ cat /prog1/WRF3_CHEM/WRFV3/external/RSL_LITE/gen_comms.c >> /prog1/WRF3_CHEM/WRFV3/tools/gen_comms.c ; fi ) ( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; \ cat /prog1/WRF3_CHEM/WRFV3/external/RSL_LITE/module_dm.F >> module_dm.F ; fi ) make[2]: Leaving directory /prog1/WRF3_CHEM/WRFV3/frame’
make[1]: Leaving directory /prog1/WRF3_CHEM/WRFV3' make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " toolsdir make[1]: Entering directory /prog1/WRF3_CHEM/WRFV3’

( cd tools ; make -i -r CC_TOOLS=“gcc” )
make[2]: Entering directory /prog1/WRF3_CHEM/WRFV3/tools' make[2]: registry’ is up to date.
make[2]: Leaving directory /prog1/WRF3_CHEM/WRFV3/tools' make[1]: Leaving directory /prog1/WRF3_CHEM/WRFV3’
/bin/rm -f main/libwrflib.a main/libwrflib.lib
make -i -r MODULE_DIRS="-I…/dyn_em -I…/dyn_nmm -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " framework
make[1]: Entering directory `/prog1/WRF3_CHEM/WRFV3’

( cd frame ; make -i -r framework;
cd …/external/io_netcdf ;
make -i -r NETCDFPATH="/prog1/WRF3_CHEM/WRFV3/netcdf_links" FC=“pgf90 -w -Mfree -byteswapio” RANLIB=“ranlib”
CPP="/lib/cpp -C -P" LDFLAGS=" -O2 -fast -w -Mfree -byteswapio " TRADFLAG="-traditional" ESMF_IO_LIB_EXT="-L/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/libesmf_time.a"
ESMF_MOD_DEPENDENCE="/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/module_utility.o" AR=“INTERNAL_BUILD_ERROR_SHOULD_NOT_NEED_AR” diffwrf;
cd …/io_int ;
make -i -r SFC=“pgf90 -w -Mfree -byteswapio” FC=“pgf90 -w -Mfree -byteswapio” RANLIB=“ranlib” CPP="/lib/cpp -C -P"
TRADFLAG="-traditional" ESMF_IO_LIB_EXT="-L/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/libesmf_time.a"
ESMF_MOD_DEPENDENCE="/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/module_utility.o" AR=“INTERNAL_BUILD_ERROR_SHOULD_NOT_NEED_AR” diffwrf ;
cd …/…/frame )
make[2]: Entering directory /prog1/WRF3_CHEM/WRFV3/frame' ( cd .. ; tools/registry -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_SUBR -DDM_PARALLEL -DSTUBMPI -DNETCDF -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=32768 -DMAX_DOMAINS_F=21 -DNMM_NEST=0 -DNEW_BDYS Registry/Registry ) ; /bin/sh: tools/registry: cannot execute binary file make[2]: [module_state_description.F] Error 126 (ignored) ar ru ../main/libwrflib.a module_driver_constants.o module_domain_type.o module_alloc_space.o module_domain.o module_integrate.o module_timing.o module_configure.o module_tiles.o module_machine.o module_nesting.o module_wrf_error.o module_state_description.o module_sm.o module_io.o module_comm_dm.o module_dm.o module_quilt_outbuf_ops.o module_io_quilt.o wrf_num_bytes_between.o wrf_shutdown.o wrf_debug.o libmassv.o nl_get_0_routines.o nl_get_1_routines.o nl_set_0_routines.o nl_set_1_routines.o collect_on_comm.o ar: creating ../main/libwrflib.a ranlib ../main/libwrflib.a make[2]: Leaving directory /prog1/WRF3_CHEM/WRFV3/frame’
make[2]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_netcdf' make[2]: diffwrf’ is up to date.
make[2]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_netcdf' make[2]: Entering directory /prog1/WRF3_CHEM/WRFV3/external/io_int’
if [ -f …/…/frame/pack_utils.o ] ; then
mv diffwrf.F diffwrf.F90 ;
x=echo "pgf90 -w -Mfree -byteswapio" | awk '{print $1}' ; export x ;
if [ $x = “gfortran” ] ; then
echo removing external declaration of iargc for gfortran ;
/lib/cpp -C -P -traditional -I…/ioapi_share diffwrf.F90 | sed ‘/integer *, *external.*iargc/d’ > diffwrf.f ;
else
/lib/cpp -C -P -traditional -I…/ioapi_share diffwrf.F90 > diffwrf.f ;
fi ;
pgf90 -w -Mfree -byteswapio -c -I…/ioapi_share diffwrf.f ;
mv diffwrf.F90 diffwrf.F ;
pgf90 -w -Mfree -byteswapio -o diffwrf diffwrf.o io_int.o
…/…/frame/pack_utils.o …/…/frame/module_internal_header_util.o
…/…/frame/module_driver_constants.o
…/…/frame/module_machine.o …/…/frame/wrf_debug.o …/…/frame/module_wrf_error.o
-L/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/libesmf_time.a ; fi
/usr/bin/ld: i386:x86-64 architecture of input file io_int.o' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file …/…/frame/pack_utils.o’ is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file ../../frame/module_internal_header_util.o' is incompatible with i386 output io_int.o: In function module_ext_internal_int_get_fresh_handle_’:
io_int.f:(.text+0x8a): undefined reference to wrf_error_fatal_' io_int.o: In function module_ext_internal_init_module_ext_internal_’:
io_int.f:(.text+0x126): undefined reference to wrf_sizeof_integer_' io_int.f:(.text+0x130): undefined reference to wrf_sizeof_real_’
io_int.o: In function ext_int_get_next_time_': io_int.f:(.text+0xc84): undefined reference to wrf_error_fatal_’
io_int.f:(.text+0xca3): undefined reference to wrf_error_fatal_' io_int.o: In function ext_int_get_var_info_’:
io_int.f:(.text+0x13c9): undefined reference to wrf_error_fatal_' io_int.f:(.text+0x13eb): undefined reference to wrf_error_fatal_’
io_int.o: In function ext_int_get_next_var_': io_int.f:(.text+0x186d): undefined reference to wrf_error_fatal_’
io_int.o:io_int.f:(.text+0x188c): more undefined references to wrf_error_fatal_' follow io_int.o: In function ext_int_get_dom_ti_logical_’:
io_int.f:(.text+0x25cb): undefined reference to wrf_message_' io_int.o: In function ext_int_put_dom_ti_logical_’:
io_int.f:(.text+0x2603): undefined reference to wrf_message_' io_int.o: In function ext_int_get_dom_td_double_’:
io_int.f:(.text+0x2a3f): undefined reference to wrf_error_fatal_' io_int.o: In function ext_int_put_dom_td_double_’:
io_int.f:(.text+0x2a5f): undefined reference to wrf_error_fatal_' io_int.o: In function ext_int_get_var_ti_double_’:
io_int.f:(.text+0x2e6f): undefined reference to wrf_error_fatal_' io_int.o: In function ext_int_put_var_ti_double_’:
io_int.f:(.text+0x2e8f): undefined reference to wrf_error_fatal_' io_int.o: In function ext_int_get_var_td_double_’:
io_int.f:(.text+0x332f): undefined reference to wrf_error_fatal_' io_int.o:io_int.f:(.text+0x334f): more undefined references to wrf_error_fatal_’ follow
io_int.o: In function ext_int_read_field_': io_int.f:(.text+0x36c2): undefined reference to wrf_message_’
io_int.f:(.text+0x3875): undefined reference to wrf_message_' io_int.o: In function ext_int_write_field_’:
io_int.f:(.text+0x3963): undefined reference to wrf_error_fatal_' io_int.f:(.text+0x3982): undefined reference to wrf_error_fatal_’
io_int.f:(.text+0x39c3): undefined reference to wrf_error_fatal_' io_int.f:(.text+0x39f2): undefined reference to wrf_error_fatal_’
…/…/frame/module_internal_header_util.o: In function module_internal_header_util_int_get_write_field_header_': module_internal_header_util.f90:(.text+0x353): undefined reference to wrf_error_fatal_’
…/…/frame/module_internal_header_util.o:module_internal_header_util.f90:(.text+0x128c): more undefined references to wrf_error_fatal_' follow make[2]: [diffwrf] Error 2 (ignored) make[2]: Leaving directory /prog1/WRF3_CHEM/WRFV3/external/io_int’
make[1]: Leaving directory /prog1/WRF3_CHEM/WRFV3' make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " shared make[1]: Entering directory /prog1/WRF3_CHEM/WRFV3’

( cd share ; make -i -r )
make[2]: Entering directory /prog1/WRF3_CHEM/WRFV3/share' if [ 0 -eq 1 ] ; then \ make -i -r nmm_contrib ; \ ar ru ../main/libwrflib.a module_bc.o module_bc_time_utilities.o module_io_wrf.o module_date_time.o module_get_file_names.o module_io_domain.o module_model_constants.o module_MPP.o module_optional_input.o module_compute_geop.o module_soil_pre.o module_llxy.o dfi.o mediation_integrate.o mediation_interp_domain.o mediation_force_domain.o mediation_feedback_domain.o mediation_nest_move.o mediation_wrfmain.o solve_interface.o start_domain.o init_modules.o set_timekeeping.o interp_fcn.o sint.o input_wrf.o output_wrf.o wrf_timeseries.o wrf_ext_write_field.o wrf_ext_read_field.o wrf_inputout.o wrf_auxinput1out.o wrf_auxinput2out.o wrf_auxinput3out.o wrf_auxinput4out.o wrf_auxinput5out.o wrf_auxinput6out.o wrf_auxinput7out.o wrf_auxinput8out.o wrf_auxinput9out.o wrf_auxinput10out.o wrf_auxinput11out.o wrf_histout.o wrf_auxhist1out.o wrf_auxhist2out.o wrf_auxhist3out.o wrf_auxhist4out.o wrf_auxhist5out.o wrf_auxhist6out.o wrf_auxhist7out.o wrf_auxhist8out.o wrf_auxhist9out.o wrf_auxhist10out.o wrf_auxhist11out.o wrf_restartout.o wrf_bdyout.o wrf_inputin.o wrf_auxhist1in.o wrf_auxhist2in.o wrf_auxhist3in.o wrf_auxhist4in.o wrf_auxhist5in.o wrf_auxhist6in.o wrf_auxhist7in.o wrf_auxhist8in.o wrf_auxhist9in.o wrf_auxhist10in.o wrf_auxhist11in.o wrf_auxinput1in.o wrf_auxinput2in.o wrf_auxinput3in.o wrf_auxinput4in.o wrf_auxinput5in.o wrf_auxinput6in.o wrf_auxinput7in.o wrf_auxinput8in.o wrf_auxinput9in.o wrf_auxinput10in.o wrf_auxinput11in.o wrf_fddaobs_in.o wrf_bdyin.o wrf_histin.o wrf_restartin.o wrf_tsin.o landread.o ; \ else \ ar ru ../main/libwrflib.a module_bc.o module_bc_time_utilities.o module_io_wrf.o module_date_time.o module_get_file_names.o module_io_domain.o module_model_constants.o module_MPP.o module_optional_input.o module_compute_geop.o module_soil_pre.o module_llxy.o dfi.o mediation_integrate.o mediation_interp_domain.o mediation_force_domain.o mediation_feedback_domain.o mediation_nest_move.o mediation_wrfmain.o solve_interface.o start_domain.o init_modules.o set_timekeeping.o interp_fcn.o sint.o input_wrf.o output_wrf.o wrf_timeseries.o wrf_ext_write_field.o wrf_ext_read_field.o wrf_inputout.o wrf_auxinput1out.o wrf_auxinput2out.o wrf_auxinput3out.o wrf_auxinput4out.o wrf_auxinput5out.o wrf_auxinput6out.o wrf_auxinput7out.o wrf_auxinput8out.o wrf_auxinput9out.o wrf_auxinput10out.o wrf_auxinput11out.o wrf_histout.o wrf_auxhist1out.o wrf_auxhist2out.o wrf_auxhist3out.o wrf_auxhist4out.o wrf_auxhist5out.o wrf_auxhist6out.o wrf_auxhist7out.o wrf_auxhist8out.o wrf_auxhist9out.o wrf_auxhist10out.o wrf_auxhist11out.o wrf_restartout.o wrf_bdyout.o wrf_inputin.o wrf_auxhist1in.o wrf_auxhist2in.o wrf_auxhist3in.o wrf_auxhist4in.o wrf_auxhist5in.o wrf_auxhist6in.o wrf_auxhist7in.o wrf_auxhist8in.o wrf_auxhist9in.o wrf_auxhist10in.o wrf_auxhist11in.o wrf_auxinput1in.o wrf_auxinput2in.o wrf_auxinput3in.o wrf_auxinput4in.o wrf_auxinput5in.o wrf_auxinput6in.o wrf_auxinput7in.o wrf_auxinput8in.o wrf_auxinput9in.o wrf_auxinput10in.o wrf_auxinput11in.o wrf_fddaobs_in.o wrf_bdyin.o wrf_histin.o wrf_restartin.o wrf_tsin.o landread.o ; \ fi make[2]: Leaving directory /prog1/WRF3_CHEM/WRFV3/share’
make[1]: Leaving directory /prog1/WRF3_CHEM/WRFV3' make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " physics make[1]: Entering directory /prog1/WRF3_CHEM/WRFV3’

( cd phys ; make -i -r )
make[2]: Entering directory /prog1/WRF3_CHEM/WRFV3/phys' if [ 0 -eq 1 ] ; then \ make -i -r nmm_contrib ; \ ar ru ../main/libwrflib.a module_bl_ysu.o module_bl_mrf.o module_bl_gfs.o module_bl_myjpbl.o module_bl_acm.o module_cu_g3.o module_cu_kf.o module_cu_bmj.o module_cu_kfeta.o module_cu_gd.o module_cu_sas.o module_mp_kessler.o module_mp_lin.o module_mp_wsm3.o module_mp_wsm5.o module_mp_wsm6.o module_mp_etanew.o module_mp_thompson.o module_mp_gsfcgce.o module_mp_morr_two_moment.o module_ra_sw.o module_ra_gsfcsw.o module_ra_rrtm.o module_ra_cam_support.o module_ra_cam.o module_ra_gfdleta.o module_ra_hs.o module_sf_sfclay.o module_sf_gfs.o module_sf_slab.o module_sf_noahdrv.o module_sf_noahlsm.o module_sf_urban.o module_sf_lsm_nmm.o module_sf_pxlsm.o module_sf_ruclsm.o module_sf_sfcdiags.o module_sf_myjsfc.o module_sf_pxsfclay.o module_physics_addtendc.o module_physics_init.o module_gfs_machine.o module_gfs_funcphys.o module_gfs_physcons.o module_progtm.o module_pbl_driver.o module_data_gocart_dust.o module_cumulus_driver.o module_microphysics_driver.o module_microphysics_zero_out.o module_mixactivate.o module_radiation_driver.o module_surface_driver.o module_diagnostics.o module_fdda_psufddagd.o module_fddagd_driver.o module_fddaobs_rtfdda.o module_fddaobs_driver.o ; \ else \ make -i -r non_nmm ; \ ar ru ../main/libwrflib.a module_bl_ysu.o module_bl_mrf.o module_bl_gfs.o module_bl_myjpbl.o module_bl_acm.o module_cu_g3.o module_cu_kf.o module_cu_bmj.o module_cu_kfeta.o module_cu_gd.o module_cu_sas.o module_mp_kessler.o module_mp_lin.o module_mp_wsm3.o module_mp_wsm5.o module_mp_wsm6.o module_mp_etanew.o module_mp_thompson.o module_mp_gsfcgce.o module_mp_morr_two_moment.o module_ra_sw.o module_ra_gsfcsw.o module_ra_rrtm.o module_ra_cam_support.o module_ra_cam.o module_ra_gfdleta.o module_ra_hs.o module_sf_sfclay.o module_sf_gfs.o module_sf_slab.o module_sf_noahdrv.o module_sf_noahlsm.o module_sf_urban.o module_sf_lsm_nmm.o module_sf_pxlsm.o module_sf_ruclsm.o module_sf_sfcdiags.o module_sf_myjsfc.o module_sf_pxsfclay.o module_physics_addtendc.o module_physics_init.o module_gfs_machine.o module_gfs_funcphys.o module_gfs_physcons.o module_progtm.o module_pbl_driver.o module_data_gocart_dust.o module_cumulus_driver.o module_microphysics_driver.o module_microphysics_zero_out.o module_mixactivate.o module_radiation_driver.o module_surface_driver.o module_diagnostics.o module_fdda_psufddagd.o module_fddagd_driver.o module_fddaobs_rtfdda.o module_fddaobs_driver.o ; \ fi make[3]: Entering directory /prog1/WRF3_CHEM/WRFV3/phys’
make[3]: Nothing to be done for non_nmm'. make[3]: Leaving directory /prog1/WRF3_CHEM/WRFV3/phys’
make[2]: Leaving directory /prog1/WRF3_CHEM/WRFV3/phys' make[1]: Leaving directory /prog1/WRF3_CHEM/WRFV3’
if [ 0 -eq 1 ] ; then make -i -r MODULE_DIRS="-I…/dyn_em -I…/dyn_nmm -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " chemics ; fi
if [ 1 -eq 1 ] ; then make -i -r MODULE_DIRS="-I…/dyn_em -I…/dyn_nmm -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " em_core ; fi
make[1]: Entering directory `/prog1/WRF3_CHEM/WRFV3’

( cd dyn_em ; make -i -r )
make[2]: Entering directory /prog1/WRF3_CHEM/WRFV3/dyn_em' ar ru ../main/libwrflib.a module_advect_em.o module_diffusion_em.o module_small_step_em.o module_big_step_utilities_em.o module_em.o module_solvedebug_em.o module_bc_em.o module_init_utilities.o module_damping_em.o module_polarfft.o module_first_rk_step_part1.o module_first_rk_step_part2.o init_modules_em.o solve_em.o start_em.o shift_domain_em.o couple_or_uncouple_em.o nest_init_utils.o adapt_timestep_em.o interp_domain_em.o make[2]: Leaving directory /prog1/WRF3_CHEM/WRFV3/dyn_em’
make[1]: Leaving directory /prog1/WRF3_CHEM/WRFV3' if [ 0 -eq 1 ] ; then make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " nmm_core ; fi if [ 0 -eq 1 ] ; then make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " exp_core ; fi ( cd main ; make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " SOLVER=em em_wrf ) make[1]: Entering directory /prog1/WRF3_CHEM/WRFV3/main’
ranlib libwrflib.a
pgf90 -o wrf.exe -O2 -fast -w -Mfree -byteswapio wrf.o …/main/module_wrf_top.o libwrflib.a -L/prog1/WRF3_CHEM/WRFV3/external/fftpack/fftpack5 -lfftpack -L/prog1/WRF3_CHEM/WRFV3/external/io_grib1 -lio_grib1 -L/prog1/WRF3_CHEM/WRFV3/external/io_grib_share -lio_grib_share -L/prog1/WRF3_CHEM/WRFV3/external/io_int -lwrfio_int /prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/libesmf_time.a /prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/libesmf_time.a /prog1/WRF3_CHEM/WRFV3/external/RSL_LITE/librsl_lite.a /prog1/WRF3_CHEM/WRFV3/frame/module_internal_header_util.o /prog1/WRF3_CHEM/WRFV3/frame/pack_utils.o /prog1/WRF3_CHEM/WRFV3/external/io_netcdf/libwrfio_nf.a -L/prog1/WRF3_CHEM/WRFV3/netcdf_links/lib -lnetcdf
/usr/bin/ld: skipping incompatible /prog1/WRF3_CHEM/WRFV3/external/fftpack/fftpack5/libfftpack.a when searching for -lfftpack
/usr/bin/ld: cannot find -lfftpack
make[1]: [em_wrf] Error 2 (ignored)
make[1]: Leaving directory `/prog1/WRF3_CHEM/WRFV3/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 -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " SOLVER=em em_wrf_SST_ESMF ) ;
fi

( cd main ; make -i -r MODULE_DIRS="-I…/dyn_em -I…/dyn_nmm -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " SOLVER=em IDEAL_CASE=real em_real )
make[1]: Entering directory /prog1/WRF3_CHEM/WRFV3/main' ( cd ../dyn_em ; make -i -r module_initialize_real.o ) make[2]: Entering directory /prog1/WRF3_CHEM/WRFV3/dyn_em’
make[2]: module_initialize_real.o' is up to date. make[2]: Leaving directory /prog1/WRF3_CHEM/WRFV3/dyn_em’
ranlib libwrflib.a
pgf90 -o real.exe -O2 -fast -w -Mfree -byteswapio real_em.o …/dyn_em/module_initialize_real.o libwrflib.a -L/prog1/WRF3_CHEM/WRFV3/external/fftpack/fftpack5 -lfftpack -L/prog1/WRF3_CHEM/WRFV3/external/io_grib1 -lio_grib1 -L/prog1/WRF3_CHEM/WRFV3/external/io_grib_share -lio_grib_share -L/prog1/WRF3_CHEM/WRFV3/external/io_int -lwrfio_int /prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/libesmf_time.a /prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/libesmf_time.a /prog1/WRF3_CHEM/WRFV3/external/RSL_LITE/librsl_lite.a /prog1/WRF3_CHEM/WRFV3/frame/module_internal_header_util.o /prog1/WRF3_CHEM/WRFV3/frame/pack_utils.o /prog1/WRF3_CHEM/WRFV3/external/io_netcdf/libwrfio_nf.a -L/prog1/WRF3_CHEM/WRFV3/netcdf_links/lib -lnetcdf
/usr/bin/ld: skipping incompatible /prog1/WRF3_CHEM/WRFV3/external/fftpack/fftpack5/libfftpack.a when searching for -lfftpack
/usr/bin/ld: cannot find -lfftpack
make[1]: [em_real] Error 2 (ignored)
pgf90 -o ndown.exe -O2 -fast -w -Mfree -byteswapio ndown_em.o …/dyn_em/module_initialize_real.o libwrflib.a -L/prog1/WRF3_CHEM/WRFV3/external/fftpack/fftpack5 -lfftpack -L/prog1/WRF3_CHEM/WRFV3/external/io_grib1 -lio_grib1 -L/prog1/WRF3_CHEM/WRFV3/external/io_grib_share -lio_grib_share -L/prog1/WRF3_CHEM/WRFV3/external/io_int -lwrfio_int /prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/libesmf_time.a /prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/libesmf_time.a /prog1/WRF3_CHEM/WRFV3/external/RSL_LITE/librsl_lite.a /prog1/WRF3_CHEM/WRFV3/frame/module_internal_header_util.o /prog1/WRF3_CHEM/WRFV3/frame/pack_utils.o /prog1/WRF3_CHEM/WRFV3/external/io_netcdf/libwrfio_nf.a -L/prog1/WRF3_CHEM/WRFV3/netcdf_links/lib -lnetcdf
/usr/bin/ld: skipping incompatible /prog1/WRF3_CHEM/WRFV3/external/fftpack/fftpack5/libfftpack.a when searching for -lfftpack
/usr/bin/ld: cannot find -lfftpack
make[1]: [em_real] Error 2 (ignored)
pgf90 -o nup.exe -O2 -fast -w -Mfree -byteswapio nup_em.o …/dyn_em/module_initialize_real.o libwrflib.a -L/prog1/WRF3_CHEM/WRFV3/external/fftpack/fftpack5 -lfftpack -L/prog1/WRF3_CHEM/WRFV3/external/io_grib1 -lio_grib1 -L/prog1/WRF3_CHEM/WRFV3/external/io_grib_share -lio_grib_share -L/prog1/WRF3_CHEM/WRFV3/external/io_int -lwrfio_int /prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/libesmf_time.a /prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90/libesmf_time.a /prog1/WRF3_CHEM/WRFV3/external/RSL_LITE/librsl_lite.a /prog1/WRF3_CHEM/WRFV3/frame/module_internal_header_util.o /prog1/WRF3_CHEM/WRFV3/frame/pack_utils.o /prog1/WRF3_CHEM/WRFV3/external/io_netcdf/libwrfio_nf.a -L/prog1/WRF3_CHEM/WRFV3/netcdf_links/lib -lnetcdf
/usr/bin/ld: skipping incompatible /prog1/WRF3_CHEM/WRFV3/external/fftpack/fftpack5/libfftpack.a when searching for -lfftpack
/usr/bin/ld: cannot find -lfftpack
make[1]: [em_real] Error 2 (ignored)
make[1]: Leaving directory `/prog1/WRF3_CHEM/WRFV3/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 -module /prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/esmf_time_f90 -I/prog1/WRF3_CHEM/WRFV3/main -I/prog1/WRF3_CHEM/WRFV3/external/io_netcdf -I/prog1/WRF3_CHEM/WRFV3/external/io_int -I/prog1/WRF3_CHEM/WRFV3/frame -I/prog1/WRF3_CHEM/WRFV3/share -I/prog1/WRF3_CHEM/WRFV3/phys -I/prog1/WRF3_CHEM/WRFV3/chem -I/prog1/WRF3_CHEM/WRFV3/inc " 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.namelist . ) ;
( cd test/em_esmf_exp ; /bin/rm -f ETAMPNEW_DATA RRTM_DATA ;
ln -sf …/…/run/ETAMPNEW_DATA . ;
ln -sf …/…/run/RRTM_DATA . ;
ln -sf …/…/run/CAM_ABS_DATA . ;
ln -sf …/…/run/CAM_AEROPT_DATA . ;
ln -sf …/…/run/ozone.formatted . ;
ln -sf …/…/run/ozone_lat.formatted . ;
ln -sf …/…/run/ozone_plev.formatted . ;
if [ 4 -eq 8 ] ; then
ln -sf …/…/run/ETAMPNEW_DATA_DBL ETAMPNEW_DATA ;
ln -sf …/…/run/RRTM_DATA_DBL RRTM_DATA ;
fi ) ;
( cd test/em_esmf_exp ; /bin/rm -f GENPARM.TBL ; ln -s …/…/run/GENPARM.TBL . ) ;
( cd test/em_esmf_exp ; /bin/rm -f LANDUSE.TBL ; ln -s …/…/run/LANDUSE.TBL . ) ;
( cd test/em_esmf_exp ; /bin/rm -f SOILPARM.TBL ; ln -s …/…/run/SOILPARM.TBL . ) ;
( cd test/em_esmf_exp ; /bin/rm -f urban_param.tbl ; ln -s …/…/run/urban_param.tbl . ) ;
( cd test/em_esmf_exp ; /bin/rm -f VEGPARM.TBL ; ln -s …/…/run/VEGPARM.TBL . ) ;
( cd test/em_esmf_exp ; /bin/rm -f tr49t67 ; ln -s …/…/run/tr49t67 . ) ;
( cd test/em_esmf_exp ; /bin/rm -f tr49t85 ; ln -s …/…/run/tr49t85 . ) ;
( cd test/em_esmf_exp ; /bin/rm -f tr67t85 ; ln -s …/…/run/tr67t85 . ) ;
( cd test/em_esmf_exp ; /bin/rm -f gribmap.txt ; ln -s …/…/run/gribmap.txt . ) ;
( cd test/em_esmf_exp ; /bin/rm -f grib2map.tbl ; ln -s …/…/run/grib2map.tbl . ) ;
fi
( cd test/em_real ; /bin/rm -f real.exe ; ln -s …/…/main/real.exe . )
( cd test/em_real ; /bin/rm -f ndown.exe ; ln -s …/…/main/ndown.exe . )
( cd test/em_real ; /bin/rm -f nup.exe ; ln -s …/…/main/nup.exe . )
( cd test/em_real ; /bin/rm -f README.namelist ; ln -s …/…/run/README.namelist . )
( cd test/em_real ; /bin/rm -f ETAMPNEW_DATA RRTM_DATA ;
ln -sf …/…/run/ETAMPNEW_DATA . ;
ln -sf …/…/run/RRTM_DATA . ;
ln -sf …/…/run/CAM_ABS_DATA . ;
ln -sf …/…/run/CAM_AEROPT_DATA . ;
ln -sf …/…/run/ozone.formatted . ;
ln -sf …/…/run/ozone_lat.formatted . ;
ln -sf …/…/run/ozone_plev.formatted . ;
if [ 4 -eq 8 ] ; then
ln -sf …/…/run/ETAMPNEW_DATA_DBL ETAMPNEW_DATA ;
ln -sf …/…/run/RRTM_DATA_DBL RRTM_DATA ;
fi )
( cd test/em_real ; /bin/rm -f GENPARM.TBL ; ln -s …/…/run/GENPARM.TBL . )
( cd test/em_real ; /bin/rm -f LANDUSE.TBL ; ln -s …/…/run/LANDUSE.TBL . )
( cd test/em_real ; /bin/rm -f SOILPARM.TBL ; ln -s …/…/run/SOILPARM.TBL . )
( cd test/em_real ; /bin/rm -f urban_param.tbl ; ln -s …/…/run/urban_param.tbl . )
( cd test/em_real ; /bin/rm -f VEGPARM.TBL ; ln -s …/…/run/VEGPARM.TBL . )
( cd test/em_real ; /bin/rm -f tr49t67 ; ln -s …/…/run/tr49t67 . )
( cd test/em_real ; /bin/rm -f tr49t85 ; ln -s …/…/run/tr49t85 . )
( cd test/em_real ; /bin/rm -f tr67t85 ; ln -s …/…/run/tr67t85 . )
( cd test/em_real ; /bin/rm -f gribmap.txt ; ln -s …/…/run/gribmap.txt . )
( cd test/em_real ; /bin/rm -f grib2map.tbl ; ln -s …/…/run/grib2map.tbl . )
( cd run ; /bin/rm -f real.exe ; ln -s …/main/real.exe . )
( cd run ; /bin/rm -f ndown.exe ; ln -s …/main/ndown.exe . )
( cd run ; /bin/rm -f nup.exe ; ln -s …/main/nup.exe . )
( cd run ; if test -f namelist.input ; then
/bin/cp -f namelist.input namelist.input.backup ; fi ;
/bin/rm -f namelist.input ; ln -s …/test/em_real/namelist.input . )
themis

Posts: 14
Joined: Tue Apr 22, 2008 3:39 pm
Top

Hi Themis,

You’re mixing 32 and 64-bit objects. Either change the PATH to use the PGI 64-bit installation (if you want 64-bit), or add “-m32” to your gcc flags in configure.wrf (if you want 32-bit). You’ll need to rebuild, so run “./clean” before running “./compile”.

Hope this helps,
Mat