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

ideal: error opening wrfinput for writing

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.

xyli00

Member
Dear all,

I got the following error when executing "./idea.exe"
for a domain like this,

However, if I use dx= 300 and e_we=e_sn = 201. It works.
I guess this is due to the large "wrfinput".

Any idea about how to fix this?


time_step = 1,
time_step_fract_num = 0,
time_step_fract_den = 2,
max_dom = 1,
s_we = 1, 1, 1,
e_we = 601, 201, 82,
s_sn = 1, 1, 1,
e_sn = 601, 201, 82,
s_vert = 1, 1, 1,
e_vert = 153, 153, 153
dx = 100, 100, 30,
dy = 100, 100, 30,
ztop = 7000, 7000, 7000,
grid_id = 1, 2, 3,
parent_id = 0, 1, 2,
i_parent_start = 1, 67, 36,
j_parent_start = 1, 67, 36,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 0,
smooth_option = 1


-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 174
ideal: error opening wrfinput for writing -1021
-------------------------------------------
[unset]: aborting job:
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
[constance03.pnl.gov:mpi_rank_0][MPIDI_CH3_Abort] application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0: Bad file descriptor (9)

Best,

Xiang-Yu
 
Hi Ming,

Thanks a lot. I am using WRF 3.8.1 in LES mode with the LASSO package (https://adc.arm.gov/lassobrowser).

This problem can be resolved by setting I/O to 102.

But we have trouble in post-processing because wrfout is output on each processor.

We then tried "JOINER" but the code cannot be compiled using "ifort"

pjoinwrf.f(399): error #6284: There is no matching specific function for this generic function reference. [NF90_DEF_VAR]
istatus = nf90_def_var ( foutid, varname, vartype, vardimids(1:varndims), ovarid , &
------------------------^
compilation aborted for pjoinwrf.f (code 1)
make: *** [pjoinwrf.o] Error 1

Xiang-Yu
 
Hi Xiang-Yu,
I just try to compile the JOINER program and it works for both GNU and INTEL. By the way, I compile in serial mode.

I use intel/19.0.5 and netcdf/4.7.4 is installed in my machine.

Can you try the above versions of intel and netCDF , and compile the code in serial mode? Please let me know if it works.
 
Top