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

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 :)
 
Back
Top