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

Error in real.exe while running WRF model using ERA Interim data

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 use ERA Interim reanalysis 6h data to run WRF model. While running real.exe the following error was encountered.

DYNAMICS OPTION: Eulerian Mass Coordinate
alloc_space_field: domain 1 , 648347708 bytes allocated
d01 2016-01-23_12:00:00 Yes, this special data is acceptable to use: OUTPUT FROM METGRID V4.0
d01 2016-01-23_12:00:00 Input data is acceptable to use:
metgrid input_wrf.F first_date_input = 2016-01-23_12:00:00
metgrid input_wrf.F first_date_nml = 2016-01-23_12:00:00
d01 2016-01-23_12:00:00 Timing for input 0 s.
d01 2016-01-23_12:00:00 flag_soil_layers read from met_em file is 1
Max map factor in domain 1 = 0.99. Scale the dt in the model accordingly.
Using sfcprs to compute psfc
d01 2016-01-23_12:00:00 No average surface temperature for use with inland lakes
d01 2016-01-23_12:00:00 Soil temperature closest to 30.00 at level 17
-------------- FATAL CALLED ---------------
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

I was following instructions given in the blog
I am unable to find the source of error. Hope somebody will help soon.

Midhun M
Department of Atmospheric Science
Central University of Rajasthan
Can you let me know which version of WRF you are running, and please attach your namelist.input file so that I can take a look? To attach a file, while the text box is open, click on the tab with 3 horizontal lines and follow directions for attaching files. Thanks!
Hello there,
thank you very much for your reply. :D
Actually I solved the error. The problem was associated with the METGRID.TBL file.
I replaced the SST section of the METGRID.TBL as follows:


Now the WRFv4.0 forced by ERA-Interim is working fine.
Thank You