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

Compiling wrf 4.2 on AWS ubuntu 18.04

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
Dear forum
I'm following the compile guide for wrf
and are now trying to build wrf em_real on an ubuntu 18.04 in amazon web servers t3.micro
First problem is listed in line 123 i log.compile
gfortran: error: ../../frame/module_driver_constants.o: No such file or directory
gfortran: error: ../../frame/module_machine.o: No such file or directory

The 2 files are not present in ../../frame/ so something fishy is going on but not sure what ?

Best regards and thanks


  • configure.wrf
    20.3 KB · Views: 49
  • log.compile
    224.2 KB · Views: 48
The first error message shown in your log file is:

module_driver_constants.G:22:2: fatal error: No such file or directory

Note that this file should be automatically generated when compiling WRF. Failing to generate this file is often related to wrong environmental settings or libraries.

Please double check your environmental settings and libraries.

Also, can you try to build WRF in dmpar mode?