[Wrf-users] Compiling Error
luis del castillo
luis.delcastillo at cathalac.int
Fri May 9 11:48:26 MDT 2014
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<mailto: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<mailto: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/5c01fc2a/attachment.html
More information about the Wrf-users
mailing list