Page 1 of 1

problem with emi_conv compilation

PostPosted: Fri Sep 10, 2010 11:28 pm
by willtheone
Hi,

I have a probelm when compiling WRF/chem, everything goes well with em_real , but when i compiled emi_conv, error happens like this :

mpif90 -f90=pgf90 -o convert_emiss.exe -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed -w -Mfree -byteswapio convert_emiss.o ../main/libwrflib.a /home/liaoli/WRFV3/external/fftpack/fftpack5/libfftpack.a /home/liaoli/WRFV3/external/io_grib1/libio_grib1.a /home/liaoli/WRFV3/external/io_grib_share/libio_grib_share.a /home/liaoli/WRFV3/external/io_int/libwrfio_int.a /home/liaoli/WRFV3/external/esmf_time_f90/libesmf_time.a /home/liaoli/WRFV3/external/RSL_LITE/librsl_lite.a /home/liaoli/WRFV3/frame/module_internal_header_util.o /home/liaoli/WRFV3/frame/pack_utils.o /home/liaoli/WRFV3/external/io_netcdf/libwrfio_nf.a -L/home/liaoli/bin/netcdf/lib -lnetcdf
convert_emiss.o:(.debug_info+0x1ae1): undefined reference to `..Dm_module_initialize_real'
make[1]: [convert_emiss] Error 2 (ignored)


Did anyone have this problem before? How did you solve it?
Thx in advance!


Will

Re: problem with emi_conv compilation

PostPosted: Tue Oct 26, 2010 9:47 pm
by omid
Hi Will could you solve the problem . I have the same problem:

pgf90 -o convert_emiss.exe -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed -w -Mfree -byteswapio convert_emiss.o ../main/libwrflib.a /home/oal14/omid/WRFchem_3.2.1/WRFV3/external/fftpack/fftpack5/libfftpack.a /home/oal14/omid/WRFchem_3.2.1/WRFV3/external/io_grib1/libio_grib1.a /home/oal14/omid/WRFchem_3.2.1/WRFV3/external/io_grib_share/libio_grib_share.a /home/oal14/omid/WRFchem_3.2.1/WRFV3/external/io_int/libwrfio_int.a /home/oal14/omid/WRFchem_3.2.1/WRFV3/external/esmf_time_f90/libesmf_time.a /home/oal14/omid/WRFchem_3.2.1/WRFV3/external/RSL_LITE/librsl_lite.a /home/oal14/omid/WRFchem_3.2.1/WRFV3/frame/module_internal_header_util.o /home/oal14/omid/WRFchem_3.2.1/WRFV3/frame/pack_utils.o /home/oal14/omid/WRFchem_3.2.1/WRFV3/external/io_netcdf/libwrfio_nf.a -L/home/oal14/netcdf/lib -lnetcdf
convert_emiss.o: In function `.STATICS1':
convert_emiss.f90:(.data+0x1384): undefined reference to `module_initialize_real_'
make[1]: [convert_emiss] Error 2 (ignored)
make[1]: Leaving directory `/home/oal14/omid/WRFchem_3.2.1/WRFV3/chem'
( cd test/em_real ; /bin/rm -f convert_emiss.exe ; ln -s ../../chem/convert_emiss.exe . )
( cd test/em_real ; /bin/rm -f README.namelist ; ln -s ../../run/README.namelist . )
( 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 . )

Re: problem with emi_conv compilation

PostPosted: Mon Apr 25, 2011 3:01 am
by jinw
It is likely to install different version between WRFand CHEM!

Re: problem with emi_conv compilation

PostPosted: Thu May 05, 2011 2:39 pm
by wrodgers
Acutally, double check your chem/Makefile_org. You need to include in the convert_emiss section ./module_initialize_real.o ./module_optional_input.o after the $(LIBWRFLIB) and then make sure to link the the files from the dyn_em and share directories into the chem directory.