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 compilation problem Version 4.5.2


I am trying to install the new WRF in the HPC. I downloaded it from GitHub and followed the instructions on this link, OnLineTutorial. However, it failed to create the executable links, and I could not figure out what was wrong. I also tried with v4.5 and v4.5.1, same results. I am attaching the log.compile file here.

Any help would be appreciated.



  • log.compile.txt
    897.8 KB · Views: 2
This is the error message I see in your compile log:

/Users/sadislam/WRF_a_latest/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): In function `nf_def_var_chunking_':
nf_nc4.f90:(.text+0x5ea2): undefined reference to `nc_def_var_chunking_ints'
/Users/sadislam/WRF_a_latest/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): In function `nf_inq_var_chunking_':
nf_nc4.f90:(.text+0x61bf): undefined reference to `nc_inq_var_chunking_ints'
/Users/sadislam/WRF_a_latest/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): In function `nf_set_chunk_cache_':
nf_nc4.f90:(.text+0x6c0f): undefined reference to `nc_set_chunk_cache_ints'
/Users/sadislam/WRF_a_latest/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): In function `nf_get_chunk_cache_':
nf_nc4.f90:(.text+0x6c48): undefined reference to `nc_get_chunk_cache_ints'
/Users/sadislam/WRF_a_latest/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): In function `nf_set_var_chunk_cache_':
nf_nc4.f90:(.text+0x6cdc): undefined reference to `nc_set_var_chunk_cache_ints'
/Users/sadislam/WRF_a_latest/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): In function `nf_get_var_chunk_cache_':
nf_nc4.f90:(.text+0x6d37): undefined reference to `nc_get_var_chunk_cache_ints'
collect2: error: ld returned 1 exit status

real    0m1.107s
user    0m0.145s
sys     0m0.864s
make[2]: [diffwrf] Error 1 (ignored)

Can you issue the following two commands and share the output *.txt files?

echo $NETCDF >& netcdf.txt

echo $PATH >& path.txt

Can you also attach your configure.wrf file? Thanks!