Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

WRF 4.5.1 compiling issue - problem building executables

teecee

New member
Hi, I've have been having issues with compiling WRF where I receive an issue with building executables. I have followed the tutorial here primarily.

I am using Ubuntu on Windows OS. To my knowledge I have most recent iterations of all required setup.

Attached are the compile log and configure file. Any help would be appreciated.
 

Attachments

  • compile.log
    952.2 KB · Views: 2
Hi,
The errors shown in your compile log are these (and other similar ones):
Code:
wrf_io.f:(.text+0x46): undefined reference to `nf_strerror_'
/usr/bin/ld: wrf_io.o: in function `__ext_ncd_support_routines_MOD_gettimeindex':
wrf_io.f:(.text+0x549a): undefined reference to `nf_put_vara_text_'
/usr/bin/ld: wrf_io.o: in function `ext_ncd_get_var_td_char_':
wrf_io.f:(.text+0xcbfb): undefined reference to `nf_inq_varid_'
/usr/bin/ld: wrf_io.f:(.text+0xcc4c): undefined reference to `nf_inq_var_'
/usr/bin/ld: wrf_io.f:(.text+0xd222): undefined reference to `nf_inq_dimlen_'
/usr/bin/ld: wrf_io.f:(.text+0xd2f4): undefined reference to `nf_get_vara_text_'
/usr/bin/ld: wrf_io.o: in function `ext_ncd_get_var_td_logical_':
wrf_io.f:(.text+0xddc7): undefined reference to `nf_inq_varid_'

Any time there is an error like that, that mentions a reference to "nf_*" it's usually an issue with netCDF - either the NETCDF path is not set correctly, or the PATH is not set to the netcdf bin, or they are set to the wrong location, wrong version, or that the netCDF libary wasn't installed correctly. I would recommend following the steps in this tutorial to get WRF compiled on your system.
 
Top