[tc.exe] Summary of my experience

Any issues with the actual running of the WRF.

[tc.exe] Summary of my experience

Postby packard » Mon Feb 23, 2015 5:41 am

I have been trying to run tc.exe for TC bogussing and I have met many errors. Thanks for the forum, I finally got it running ok.

I want to share my experience and make a summary for related posts.


The most common error is:
Code: Select all
*** The MPI_Comm_f2c() function was called before MPI_INIT was invoked.

Compile the program with serial option might solve the problem.
http://forum.wrfforum.com/viewtopic.php?f=47&t=6786


Another common error is:
Code: Select all
forrtl: severe (71): integer divide by zero

Compile the program with no nesting option might solve the problem.
http://forum.wrfforum.com/viewtopic.php?f=6&t=5704


A weird runtime error I met is:
Code: Select all
Segmentation fault (core dumped)

Or,
Code: Select all
*** glibc detected *** ./tc.exe: munmap_chunk(): invalid pointer: 0x000000000fd19040 ***

I am having this problem when I am using gfortran/gcc.
The reason for this problem is unknown, but using other compilers, say ifort/icc (version 11) seems to solve the problem.
http://forum.wrfforum.com/viewtopic.php?f=21&t=3877 : similar errors on metgrid.exe


Many might want to do bogussing before a nested WRF simulation. I have come up with some ideas which I haven't tested yet.
One idea is to run WPS for the whole domain in the finest resolution, then run tc.exe, and finally, use utilities like ncks to generate initial conditions in coarsen resolutions.
Another idea is to run tc.exe for d01, set fine_input_stream (=2?), so that the nest is interpolated from d01.
The third idea is to run tc.exe (many times) for each domain, though this is not recommended by ARWUserGuide.

Other useful reference:
http://www2.mmm.ucar.edu/mm5/mm5v3/tc-bogus.html
SIZE MISMATCH: http://forum.wrfforum.com/viewtopic.php?f=21&t=2898
Floating point exception: http://forum.wrfforum.com/viewtopic.php?f=6&t=944
packard
 
Posts: 6
Joined: Fri Apr 25, 2014 10:33 pm

Re: [tc.exe] Summary of my experience

Postby Arshal Wang » Tue Jan 03, 2017 3:29 am

packard,
Hi,I have successfully run tc.exe and real.exe ,but when I run wrf.exe,the problem is as following:
--- WARNING: traj_opt is zero, but num_traj is not zero; setting num_traj to zero.
--- NOTE: sst_update is 0, setting io_form_auxinput4 = 0 and auxinput4_interval = 0 for all domains
--- NOTE: grid_fdda is 0 for domain 1, setting gfdda interval and ending time to 0 for that domain.
--- NOTE: both grid_sfdda and pxlsm_soil_nudge are 0 for domain 1, setting sgfdda interval and ending time to 0 for that domain.
--- NOTE: obs_nudge_opt is 0 for domain 1, setting obs nudging interval and ending time to 0 for that domain.
--- NOTE: bl_pbl_physics /= 4, implies mfshconv must be 0, resetting
--- NOTE: RRTMG radiation is not used, setting: o3input=0 to avoid data pre-processing
--- NOTE: num_soil_layers has been set to 4
WRF V3.7 MODEL
DYNAMICS OPTION: Eulerian Mass Coordinate
alloc_space_field: domain 1 , 463803276 bytes allocated
med_initialdata_input: calling input_input
Timing for processing wrfinput file (stream 0) for domain 1: 0.11039 elapsed seconds
INPUT LandUse = "USGS"
LANDUSE TYPE = "USGS" FOUND 33 CATEGORIES 2 SEASONS WATER CATEGORY = 16 SNOW CATEGORY = 24
INITIALIZE THREE Noah LSM RELATED TABLES
LANDUSE TYPE = USGS FOUND 27 CATEGORIES
INPUT SOIL TEXTURE CLASSIFICATION = STAS
SOIL TEXTURE CLASSIFICATION = STAS FOUND 19 CATEGORIES
Flerchinger USEd in NEW version. Iterations= 10
Flerchinger USEd in NEW version. Iterations= 10
Flerchinger USEd in NEW version. Iterations= 10
Flerchinger USEd in NEW version. Iterations= 10
Flerchinger USEd in NEW version. Iterations= 10
Flerchinger USEd in NEW version. Iterations= 10
Flerchinger USEd in NEW version. Iterations= 10
Flerchinger USEd in NEW version. Iterations= 10
Flerchinger USEd in NEW version. Iterations= 10
Flerchinger USEd in NEW version. Iterations= 10
Flerchinger USEd in NEW version. Iterations= 10
Segmentation fault(core dumped)
Could you give me a hand?
Thank you very much!
Arshal
Arshal Wang
 
Posts: 3
Joined: Fri Sep 30, 2016 5:13 am


Return to Runtime Problems

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 2 guests