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

netcdf compilation issue


New member
I have gcc 9.4.0 installed on my system and it has passed all "System Environment Tests" mentioned here: Compiling WRF

when I build the NetCdf library (the one for c) I get the following error message:
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/bohan/Build_WRF/LIBRARIES/netcdf-c-4.7.4':
configure: error: C compiler cannot create executables
See `config.log' for more details

I have attached the config.log file for reference. I do not understand why it is not compiling although my compilers have passed all your system tests


  • config.log
    18.8 KB · Views: 1
The system environment tests listed on our site are specific for installing WRF and WPS. If you are having trouble installing any of the libraries, you will need to either contact a support person with that library, or speak to a system administrator at your institution to see if they are able to help. Unfortunately we only have the resources to support WRF/WPS.