[Wrf-users] Compiling Error

Dmitry N. Mikushin maemarcus at gmail.com
Fri May 9 08:40:31 MDT 2014


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/d8d06718/attachment.html 


More information about the Wrf-users mailing list