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

Fails to compile WRFV4.6.1

sekluzia

Member
Dear colleges,

Please find attached the log file after compilation and WRF configuration file.
Please note that I successfully passed the two Library Compatibility Tests for Fortran + C + NetCDF and Fortran + C + NetCDF + MPI, respectively.
I would much appreciate your help!

Kind regards,
Artur
 

Attachments

  • configure.wrf.txt
    20.5 KB · Views: 1
  • log.compile.txt
    988.4 KB · Views: 1
Hi,

The error messages in your compile log are

Code:
/usr/bin/ld: /data/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): in function `nf_def_var_chunking_':
nf_nc4.f90:(.text+0x5fee): undefined reference to `nc_def_var_chunking_ints'
/usr/bin/ld: /data/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): in function `nf_inq_var_chunking_':
nf_nc4.f90:(.text+0x6325): undefined reference to `nc_inq_var_chunking_ints'
/usr/bin/ld: /data/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): in function `nf_set_chunk_cache_':
nf_nc4.f90:(.text+0x6d8f): undefined reference to `nc_set_chunk_cache_ints'
/usr/bin/ld: /data/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): in function `nf_get_chunk_cache_':
nf_nc4.f90:(.text+0x6dc8): undefined reference to `nc_get_chunk_cache_ints'
/usr/bin/ld: /data/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): in function `nf_set_var_chunk_cache_':
nf_nc4.f90:(.text+0x6e5c): undefined reference to `nc_set_var_chunk_cache_ints'
/usr/bin/ld: /data/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(nf_nc4.o): in function `nf_get_var_chunk_cache_':
nf_nc4.f90:(.text+0x6eb7): undefined reference to `nc_get_var_chunk_cache_ints'

These errors typically mean that netcdf wasn't installed correctly, or that you don't have the paths set up correctly. Since you tested and all the tests pass, can you make sure you have the NETCDF environment variable set to the right location, and that you have the netcdf/bin directory set in your PATH?

If that's not the problem, another user is having a similar issue, and one of our software engineers is working with them on it. You may want to follow their discussion to see if it's helpful to you, as well.
 
Top