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

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 Sir/Madam,
I am doing a simulation with WRF version I am encountering a particular error in creating input files for daughter domains. This simulaiton is with GFS data. The rsl* and namelist.input files are attached.

Request your assistance to sort it out.

Thanking you
Warm Regards


  • namelist.input
    4.3 KB · Views: 51
  • rsl.txt
    4 KB · Views: 49
You have this posted in the real.exe section, but the rsl file seems to be for a wrf.exe run, so I assume the error is actually occurring when you're running WRF. The error shown at the end of your rsl file is:
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:      70
 program wrf: error opening wrfinput_d02 for reading ierr=       -1021

Do you actually have a wrfinput_d02 file in your running directory? If so, are you certain that it is complete, and that real.exe completed without any errors? If you don't still have the rsl.out.0000 files for your real.exe run, can you run that again and take a look at the end of your rsl.out.0000 file to make sure that real completed successfully?
Dear Sir,
Thanks for your reply. When I give the command to run WRF, I am giving the foll two commands one after the other.

mpirun -np 60 -machinefile $PBS_NODEFILE ./real.exe
mpirun -np 60 -machinefile $PBS_NODEFILE ./wrf.exe

From the first step, it creates the file wrfinput_d01 and then exits with an error msg for the daughter domains. Since the real.exe has not run completely, I posted the error here.

Request your support to sort this out.

Thanking you for your time and consideration,
Warm Regards
In your last post, you said that you posted the error here, but I don't see anything. Can you please send the rsl files for the real.exe run? Thanks.
Dear Sir,
For this run, the rsl file is the same as I attached in my previous mail. However now the problem is with the num_metgrid_levels.

Thanking you for your time and consideration
Warm Regards

So for now, this is not a problem anymore, and your only problem now is found on this post:

Is that correct?