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

Real.exe problems with ECMWF data on M1 MAC Studio

Brian LuValle

New member
I am running WRF on a Mac studio using ECMWF data, I can run WPS fine, however when I attempt to run real.exe I am given the following error :

input_wrf.F: SIZE MISMATCH: namelist num_metgrid_levels = 40

d01 2023-01-30_00:00:00 input_wrf.F: SIZE MISMATCH: input file BOTTOM-TOP_GRID_DIMENSION = 1

d01 2023-01-30_00:00:00 ---- ERROR: Mismatch between namelist and input file dimensions

NOTE: 1 namelist vs input data inconsistencies found.

-------------- FATAL CALLED ---------------


NOTE: Please check and reset these options


application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0

I have attached copies of namelist.input, namelist.wps, and rsl error
Thank you,
Brian LuValle


  • rsl.error.0000
    1.9 KB · Views: 1
  • namelist.input
    3.7 KB · Views: 1
  • namelist.wps
    754 bytes · Views: 1
Hi Brian,
It seems that perhaps you may have only processed the surface data during WPS. The met_em* files you're using are only showing a single level/layer. If you're using two separate data types for ECMWF, you'll need to run ungrib twice. There are some other considerations for ECMWF data, depending on which type you're using. Take a look at chapter 3 of the WRF Users' Guide. It discusses a utility you must run if you happen to be using model level data, as well as the process for running ungrib twice for atmospheric and surface level data. Hopefully that will help!
That's great! If you have time, will you update this post with the solution that worked for you? It may help someone else in the future. Thanks!