[Wrf-users] Compiling Error

Dmitry N. Mikushin maemarcus at gmail.com
Fri May 9 12:09:08 MDT 2014


That error means you did not build NetCDF Fortran interface, or the
pre-built library is not installed on your system.

Try more:
https://www.google.ch/?gfe_rd=cr&ei=IhltU6vSNqKI8Qf-x4H4Aw#q=libnetcdff


2014-05-09 19:48 GMT+02:00 luis del castillo <luis.delcastillo at cathalac.int>
:

>  Thanks Dmitry but I get this
>
> /usr/bin/ld: cannot find –lnetcdff
>
>
>
> I try to google it but I cant find nothing about a library lnetcdff
> instead I found a lot about lnetcdf as library.
>
>
>
> Any Ideas.
>
>
>
> regards
>
>
>
> *From:* Dmitry N. Mikushin [mailto:maemarcus at gmail.com]
> *Sent:* viernes, 09 de mayo de 2014 9:41 a. m.
> *To:* luis del castillo
> *Cc:* wrf-users at ucar.edu
> *Subject:* Re: [Wrf-users] Compiling Error
>
>
>
> mpif90 -f90=pgf90 -o wrf.exe  -O3  -w -Mfree -byteswapio     wrf.o
> ../main/module_wrf_top.o libwrflib.a
> /home/wrf/WRF/WRFV3/external/fftpack/fftpack5/libfftpack.a
> /home/wrf/WRF/WRFV3/external/io_grib1/libio_grib1.a
> /home/wrf/WRF/WRFV3/external/io_grib_share/libio_grib_share.a
> /home/wrf/WRF/WRFV3/external/io_int/libwrfio_int.a
> -L/home/wrf/WRF/WRFV3/external/esmf_time_f90 -lesmf_time
> /home/wrf/WRF/WRFV3/external/RSL_LITE/librsl_lite.a
> /home/wrf/WRF/WRFV3/frame/module_internal_header_util.o
> /home/wrf/WRF/WRFV3/frame/pack_utils.o
> -L/home/wrf/WRF/WRFV3/external/io_netcdf -lwrfio_nf
> -L/usr/local/netcdf/4.3.0/pgi/13.5/lib  -lnetcdf
> libwrflib.a(track_driver.o): In function `write_track_':
> /home/wrf/WRF/WRFV3/share/./track_driver.f90:288: undefined reference to
> `nf_create_'
>
> You're linking libnetcdf, which is a C version of NetCDF, while WRF needs
> Fortran version - libnetcdff. Instead of -lnetcdf, try to do -lnetcdff
> -lnetcdf.
>
> - D.
>
>
>
> 2014-05-08 23:31 GMT+02:00 luis del castillo <
> luis.delcastillo at cathalac.int>:
>
>  Good afternoon people… I am trying to compile the WRF 3.5.1 using
> netcdf4.3.0 and fortran 2013. In this email you can find two files one with
> all the environmental variables and the second one has all the compiling
> log.
>
>
>
> Thanks
>
> Luis Alejandro Del Castillo Riley
>
> CATHALAC
>
>
>
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20140509/76f75a23/attachment-0001.html 


More information about the Wrf-users mailing list