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

Compile WRF-4.0 (em_real)

Essie Lou

New member
错误:
make[2]: [diffwrf] 错误 1(忽略)
make[1]:[em_wrf] 错误 1(忽略)
make[1]: [em_real] 错误 1(忽略)
make[1]: [em_real] 错误 1(忽略)
make[1]: [em_real] 错误 1(忽略)

编译 WRF-4.0 时出现问题,我不知道如何解决,这是我的日志文件
 

Attachments

  • compile_em_real.log
    1.1 MB · Views: 3
Last edited:
Hi,
The first error I see in your log file is:

Code:
wrf_io.f:(.text+0x413d8): undefined reference to `nf_def_var_chunking_'
wrf_io.f:(.text+0x41412): undefined reference to `nf_def_var_deflate_'

Any error that references variables that start with "nf_" typically indicates an issue with netCDF. Can you issue the following two commands:

Code:
echo $NETCDF >& netcdf.txt

echo $PATH >& path.txt

and send those two text files, along with your configure.wrf file?

It looks like you were probably following the instructions in the compiling tutorial. Did all of the tests pass?
 
Hi,
The first error I see in your log file is:

Code:
wrf_io.f:(.text+0x413d8): undefined reference to `nf_def_var_chunking_'
wrf_io.f:(.text+0x41412): undefined reference to `nf_def_var_deflate_'

Any error that references variables that start with "nf_" typically indicates an issue with netCDF. Can you issue the following two commands:

Code:
echo $NETCDF >& netcdf.txt

echo $PATH >& path.txt

and send those two text files, along with your configure.wrf file?

It looks like you were probably following the instructions in the compiling tutorial. Did all of the tests pass?
thank you for your reply.
I solved this problem by modifying the lib of netcdf in configure.wrf :)
 
Top