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 error

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
I have been trying to compile WRF V 3.9 with gfortran compiler on Linux Ubuntu 18.04 system. I have installed all necessary libraries but during WRF installation no exe files are being generated. i have attached configure.wrf and compile.log. I would really appreciate any help.



  • compile.log
    546.4 KB · Views: 59
  • configure.wrf
    20.3 KB · Views: 50
Please change the line in your configure.wrf from
CPP = /lib/cpp -P -nostdinc
CPP = /lib/cpp -P -traditional

Then try again. The problem is common when using newer Gnu to compiler older version of WRF (3.8.1 and less).

If possible, please update to newer version of WRF.