[Wrf-users] sorry for disturbing
jagabandhu panda
jagabandhu at gmail.com
Thu Jan 7 22:36:57 MST 2010
Hi
In my case one of the problems was with the linking of libwrfvar.a with
libwrfio_nf.a. Therefore, I added "-L$(WRF_SRC_DIRECTORY)/external/io_netcdf
-lwrfio_nf \" inbetween the links that are provided under "LIB_BUNDLED" in
configure.wrf to overcome the "undefined reference due to ext_ncd_........."
type of errors. I was successful in overcoming the error due to this as I
realized there is no problem in the installation of my netcdf library.
However, I am still facing a problem as follows:
---------------------------------------------------------------------------------------------------------------------------------------------
pgf90 -o da_wrfvar.exe -O2 -fast -w -Mfree -byteswapio
-I/home/jagabandhu/SATDAS/RADMOD/WRFDAV3P1P1/external/esmf_time_f90 \
da_control.o da_wrfvar_main.o -L. -lwrfvar
-L/home/jagabandhu/SATDAS/RADMOD/CRTM1P2P2 -lcrtm \
-L/home/jagabandhu/SATDAS/RADMOD/WRFDAV3P1P1/external/fftpack/fftpack5
-lfftpack -L/home/jagabandhu/SATDAS/RADMOD/WRFDAV3P1P1/external/io_grib1
-lio_grib1
-L/home/jagabandhu/SATDAS/RADMOD/WRFDAV3P1P1/external/io_grib_share
-lio_grib_share
-L/home/jagabandhu/SATDAS/RADMOD/WRFDAV3P1P1/external/io_netcdf -lwrfio_nf
-L/home/jagabandhu/SATDAS/RADMOD/WRFDAV3P1P1/external/io_int -lwrfio_int
/home/jagabandhu/SATDAS/RADMOD/WRFDAV3P1P1/external/esmf_time_f90/libesmf_time.a
/home/jagabandhu/SATDAS/RADMOD/WRFDAV3P1P1/external/esmf_time_f90/libesmf_time.a
/home/jagabandhu/SATDAS/RADMOD/WRFDAV3P1P1/frame/module_internal_header_util.o
/home/jagabandhu/SATDAS/RADMOD/WRFDAV3P1P1/frame/pack_utils.o
/home/jagabandhu/SATDAS/RADMOD/WRFDAV3P1P1/external/io_netcdf/libwrfio_nf.a
-L/home/jagabandhu/netcdf-3.6.3/lib -lnetcdf
./libwrfvar.a(da_radiance1.o): In function `da_radiance1_fcomp1_':
da_radiance1.f:(.text+0x1520c): undefined reference to `dmin1_'
make[1]: [da_wrfvar.exe] Error 2 (ignored)
---------------------------------------------------------------------------------------------------------------------------
By using this idea I could compile WRF-Var 3.0 without CRTM or RTTOV (used
for radiance data assimilation). Since, I am intending to assimlate
satellite radiance, therefore I am trying to overcome the above problem for
compiling WRF-Var 3.1.1 with CRTM or RTTOV. However, if the problem of yours
is same as mine (i.e. undefined reference due to ext_ncd_.........) and you
are not intending to use CRTM/ RTTOV then you should be able to compile
using this idea as I used. I would be happy to get any suggestions from any
users or from wrfhelp.
Best wishes
Jagabandhu
On Tue, Jan 5, 2010 at 5:51 PM, moudi pascal <moudipascal at yahoo.fr> wrote:
> Hello, i am so interested by your problem. Please let me know if you have
> solved it,
> I get the same problem, may be with processing wrf. when in compile wrf, i
> get de .exe files not in main/ directorie, but in the links and those are
> break link, they donot work, please would you help me. I'm working on linux
> x84_64, with gfortran
> I get the same problem as you when processing wrfvar 3.1.1
> Best regards
>
> Pascal MOUDI IGRI
> Ph-D Student at the
> Laboratory for Environmental Modeling and Atmospheric Physics (LEMAP)
> Faculty of Science
> University of Yaounde I, Cameroon
> and Student at the National Advanced training School for Technical
> Education,
> Electricity Engeneering, Douala
> Tel:+237 75 32 58 52
>
>
> ------------------------------
> *De :* jagabandhu panda <jagabandhu at gmail.com>
> *À :* wrf-users at ucar.edu
> *Envoyé le :* Dim 20 Décembre 2009, 13 h 33 min 14 s
> *Objet :* [Wrf-users] bufr library required for WRF-Var V3.0 or not?
>
> Hi
>
> I am trying to install WRF-Var 3.0 using PGI+gcc compilers in a single
> processor linux server. I am not able to do it completely. The da_wrfvar.exe
> is not forming even though other utilities are forming! I discovered the
> bufr library is linked when the da_wrfvar.f is being compiled to form
> da_wrfvar.exe! Since other utilities use blas as well as lapack and they are
> forming it seems the bufr is the culprit! I am thinking I may try to compile
> without bufr. Is it fine to compile it without bufr library?
>
> or please let me know how I should compile bufr library so that "undefined
> reference....." kind of errors would not come.
>
> Earlier I used to think netcdf is the culprit! However with the netcdf I
> have compiled and installed WRF modeling system V3.0! So, I feel it is not
> the culprit. Therefore, my thinking goes to bufr library. It is my humble
> request to the users to help me in overcoming this problem as I am new to
> the WRF-Var part!
>
> regards
> Jagabandhu
> New Delhi, India
>
>
>
--
##################################
Jagabandhu Panda
Research Associate
Sattellite Meteorology Division
India Meteorological Department
Mausam Bhawan, Lodhi Road
New Delhi-110003, India
Web:http://jagabandhu.googlepages.com
##################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20100108/1b834394/attachment.html
More information about the Wrf-users
mailing list