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

Hello,

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.

Thanks.
 

Attachments

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

Code:
/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?

Code:
echo $NETCDF >& netcdf.txt

echo $PATH >& path.txt

Can you also attach your configure.wrf file? Thanks!
 
I am also getting the same errors, was there a resolution to this?
Hi,
The error messages above are pretty generic. Since this post is old, can you start a new thread with your issue? Please be sure to include your compilie log and configure.wrf file. If you haven't already followed the instructions in the compiling tutorial, do that first.
 
Well, I figured it out. I was having to upgrade netcdf and also having to directly link libcurl.so in the upper level makefile library linking structure since it wouldn’t recognize -lcurl or any -L dir

Thanks for replying, perhaps this might help somebody out there
 
Top