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

I am getting these types of error messages when compiling: ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_real

Status
Not open for further replies.

kwerner

Administrator
Staff member
When compiling, and you get messages such as these:

ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_real
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_real
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_double
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_double
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_int
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_int

This indicates a problem with netCDF. The problem is usually that the compiler used to install netCDF is not the same as the one used to compile WRF. Re-installing netCDF with the same compiler as you chose to compile WRF (or reconfiguring WRF with the same compiler you used to install netCDF) will solve the problem. Remember to do a 'clean -a' before reconfiguring and recompiling WRF.
 
Status
Not open for further replies.
Top