[Wrf-users] Problem to build ungrib.exe in WPS

Dmitry N. Mikushin maemarcus at gmail.com
Thu Sep 6 17:58:20 MDT 2012


Dear José,

This error means three libraries ungrib.exe depends on are missing.
Two of them should be available from your Linux distribution - libpng
and libjasper. And the first library seems to be custom. Check if it
should have been built earlier, but also failed due to some error.

- D.

2012/9/7 Jose Augusto Paixão Veiga <veiga.uea at gmail.com>:
> Dear WRF users,
>
> I am trying to compile WPS with the option PC Linux x86_64 (IA64 and
> Opteron), PGI compiler 5.2 or higher, DM parallel (option 9) in a cluster to
> use GRIB2 format files. However, after configuring and compiling WPS the
> executable file ungrib.exe is not built in the WPS directory. I successfully
> compiled WRFV3 and all path to netcdf, jusper, zlib and libpng are set in my
> bash file.
>
> Bellow follows the final part of my ./compile ungrib. Pay attention at the
> red lines which is indicative of some 'problem' to find some libs.
>
> What should I do to built ungrib.exe with the option I set before?
>
> When I use option 8 (NO GRIB2) all executable files are built.
>
>
>
> grib.o output.o rrpr.o rd_grib1.o file_delete.o datint.o rd_grib2.o  \
> -L./ngl -lw3 -lg2_4 \
> -L/contrib/jasper/lib -ljasper -L/contrib/libpng/lib -lpng
> -L/contrib/zlib/lib -lz \
> -L. -lpgu
> /usr/bin/ld: cannot find -lg2_4
> /usr/bin/ld: cannot find -ljasper
> /usr/bin/ld: cannot find -lpng
> make[1]: [ungrib.exe] Error 2 (ignored)
> make[1]: Leaving directory `/home/veiga/MODELS/CLWRF/WPS/ungrib/src'
> if [ -h ungrib.exe ] ; then \
>         /bin/rm -f ungrib.exe ; \
> fi ; \
> if [ -h ../ungrib.exe ] ; then \
> /bin/rm -f ../ungrib.exe ; \
> fi ; \
> if [ -e src/ungrib.exe ] ; then \
> ln -sf src/ungrib.exe . ; \
> fi
>
>
> Thanks in advance,
>
> José Augusto P. Veiga,
>
> ======================================
> Universidade do Estado do Amazonas
> Departamento de Meteorologia
> Escola Superior de Tecnologia (EST)
> -----------------------------------------------------------------------------
> Av. Darcy Vargas, 1200, Manaus-AM Brasil
> Work phone:    (92) 3878 4323
> Skype: veiga_j.a.p.
> -----------------------------------------------------------------------------
> CV: http://lattes.cnpq.br/4027612512091565
> URL:http://scientificmet.wordpress.com/
> http://nmet.wordpress.com/
> -----------------------------------------------------------------------------
>
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>


More information about the Wrf-users mailing list