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 error while running PX land surface scheme (7)

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 was trying to run WRF using PX land surface scheme. While running real.exe, I got the following error. Please help me to rectify this error

DYNAMICS OPTION: Eulerian Mass Coordinate
alloc_space_field: domain 1 , 304903388 bytes allocated
d01 2016-02-07_12:00:00 Yes, this special data is acceptable to use: OUTPUT FROM METGRID V4.0
d01 2016-02-07_12:00:00 Input data is acceptable to use:
metgrid input_wrf.F first_date_input = 2016-02-07_12:00:00
metgrid input_wrf.F first_date_nml = 2016-02-07_12:00:00
d01 2016-02-07_12:00:00 Timing for input 0 s.
d01 2016-02-07_12:00:00 flag_soil_layers read from met_em file is 1
----- ERROR: sf_surface_physics = 7 AND flag_imperv = 0
----- ERROR: sf_surface_physics = 7 AND flag_canfra = 0
-------------- FATAL CALLED ---------------
Either modify the namelist settings, or rebuild the geogrid/metgrid data
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=1
system msg for write_line failure : Bad file descriptor

Thanks in Advance
Midhun M


  • namelist.input
    3.8 KB · Views: 67
The PX surface scheme requires CANFRA and IMPERV as input. Can you look at your met-em file and check whether these two variables are available? if not, please make sure you have nlcd2011_can_ll_9s and nlcd2011_imp_ll_9s data available in your WPS_GEOG path, and rerun WPS.