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 error: failed to allocate grid file

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
Hello Staff,

I am running WRF V3.6.1. I am encountering the following issue: Failed to allocate grid%cldfra_sh(sm31:em31,sm32:em32,sm33:em33). I am able to run real.exe but not wrf.exe. I am attaching my namelist.input. I have tried using different time steps, but have been unsuccessful. Could you please help me trouble shoot the problem.



  • namelist.input
    5.1 KB · Views: 50

WRF requested computer memory be allocated to your job, and there wasn't sufficient memory available.

If you are on a computer shared by others, then other user jobs could have interferred.

If not, choices are:

(1) If non-mpi, try running on a computer with more memory.

(2) If running MPI, add more compute nodes.

(3) Reduce the domain size.