problem with emi_conv compilation

Setting up the SI part of the WRF.

problem with emi_conv compilation

Postby willtheone » Fri Sep 10, 2010 11:28 pm

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
willtheone
 
Posts: 4
Joined: Thu Apr 29, 2010 5:04 am

Re: problem with emi_conv compilation

Postby omid » Tue Oct 26, 2010 9:47 pm

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 . )
omid
 
Posts: 2
Joined: Tue Jul 13, 2010 12:27 am

Re: problem with emi_conv compilation

Postby jinw » Mon Apr 25, 2011 3:01 am

It is likely to install different version between WRFand CHEM!
jinw
 
Posts: 1
Joined: Fri Jan 21, 2011 12:54 am

Re: problem with emi_conv compilation

Postby wrodgers » Thu May 05, 2011 2:39 pm

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.
wrodgers
 
Posts: 24
Joined: Mon Apr 11, 2011 1:27 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests

cron