wrf.exe crashing using Wrf Var output

Any issues with the actual running of the WRF.

wrf.exe crashing using Wrf Var output

Postby themis » Thu May 15, 2008 9:25 am

Hello everyone,
i am running wrf.exe using the updated wf_init.d01 from the wrf Var. My machine is a 64 Suse 10.2 with 2 Intel Quad / 32 Gb Ram.
While the control run (no da) runs fine, when i use the updated wf_init.d01 wrf.exe crashes. Here's the error message.
Any help is appreciated
Themis


*** glibc detected *** ./wrf.exe: malloc(): memory corruption: 0x0000000009dbaa50 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2b8ac7f808fe]
/lib64/libc.so.6[0x2b8ac7f82787]
/lib64/libc.so.6(__libc_malloc+0x86)[0x2b8ac7f84386]
./wrf.exe[0x1118c6f]
======= Memory map: ========
00400000-011e3000 r-xp 00000000 08:04 23298150 /prog1/WRFV2/main/wrf.exe
013e2000-013e3000 r-xp 00de2000 08:04 23298150 /prog1/WRFV2/main/wrf.exe
013e3000-014ac000 rwxp 00de3000 08:04 23298150 /prog1/WRFV2/main/wrf.exe
014ac000-13e4b000 rwxp 014ac000 00:00 0 [heap]
2b8ac767b000-2b8ac7697000 r-xp 00000000 08:01 392450 /lib64/ld-2.5.so
2b8ac7697000-2b8ac76c8000 rwxp 2b8ac7697000 00:00 0
2b8ac76ca000-2b8ac76cb000 rwxp 2b8ac76ca000 00:00 0
2b8ac76cb000-2b8ac7700000 r-xs 00000000 08:01 2389115 /var/run/nscd/dbH8mf6H (deleted)
2b8ac7700000-2b8ac7757000 rwxp 2b8ac7700000 00:00 0
2b8ac7757000-2b8ac778c000 r-xs 00000000 08:01 2389111 /var/run/nscd/passwd
2b8ac778c000-2b8ac788e000 rwxp 2b8ac778c000 00:00 0
2b8ac7897000-2b8ac7899000 rwxp 0001c000 08:01 392450 /lib64/ld-2.5.so
2b8ac7899000-2b8ac78af000 r-xp 00000000 08:01 392483 /lib64/libpthread-2.5.so
2b8ac78af000-2b8ac7aae000 ---p 00016000 08:01 392483 /lib64/libpthread-2.5.so
2b8ac7aae000-2b8ac7ab0000 rwxp 00015000 08:01 392483 /lib64/libpthread-2.5.so
2b8ac7ab0000-2b8ac7ab4000 rwxp 2b8ac7ab0000 00:00 0
2b8ac7ab4000-2b8ac7abc000 r-xp 00000000 08:01 392487 /lib64/librt-2.5.so
2b8ac7abc000-2b8ac7cbb000 ---p 00008000 08:01 392487 /lib64/librt-2.5.so
2b8ac7cbb000-2b8ac7cbd000 rwxp 00007000 08:01 392487 /lib64/librt-2.5.so
2b8ac7cbd000-2b8ac7d12000 r-xp 00000000 08:01 392465 /lib64/libm-2.5.so
2b8ac7d12000-2b8ac7f11000 ---p 00055000 08:01 392465 /lib64/libm-2.5.so
2b8ac7f11000-2b8ac7f13000 rwxp 00054000 08:01 392465 /lib64/libm-2.5.so
2b8ac7f13000-2b8ac7f14000 rwxp 2b8ac7f13000 00:00 0
2b8ac7f14000-2b8ac804d000 r-xp 00000000 08:01 392457 /lib64/libc-2.5.so
2b8ac804d000-2b8ac824c000 ---p 00139000 08:01 392457 /lib64/libc-2.5.so
2b8ac824c000-2b8ac824f000 r-xp 00138000 08:01 392457 /lib64/libc-2.5.so
2b8ac824f000-2b8ac8251000 rwxp 0013b000 08:01 392457 /lib64/libc-2.5.so
2b8ac8251000-2b8ae1353000 rwxp 2b8ac8251000 00:00 0
2b8ae1385000-2b8ae1392000 r-xp 00000000 08:01 392501 /lib64/libgcc_s.so.1
2b8ae1392000-2b8ae1591000 ---p 0000d000 08:01 392501 /lib64/libgcc_s.so.1
2b8ae1591000-2b8ae1593000 rwxp 0000c000 08:01 392501 /lib64/libgcc_s.so.1
2b8ae4000000-2b8ae4021000 rwxp 2b8ae4000000 00:00 0
2b8ae4021000-2b8ae8000000 ---p 2b8ae4021000 00:00 0
7fffe3419000-7fffe342f000 rwxp 7fffe3419000 00:00 0 [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso]
Aborted
themis
 
Posts: 14
Joined: Tue Apr 22, 2008 3:39 pm

Re: wrf.exe crashing using Wrf Var output

Postby themis » Fri May 16, 2008 8:20 am

Dear all,
i guess i am answering to my own question, but at least now it works...:)
here's what was happening;
i was running wrf, use ssm/i data then run VAR, update init and BD, then run wrf.exe with the updated previous files.
While the initial wrf outputs (no VAR involved) run fine, wrf.exe was crashing when the updated init and bd files were used (the message is shown above). What seemed to change the situation to a normal ending when the updated files were used is this:

sf_surface_physics = 2
num_soil_layers = 4 >>>> WRF CRASHES IF WRF-VAR is used

sf_surface_physics = 1
num_soil_layers = 5 >>>> WRF ENDS NORMALLY IF WRF-VAR is used

Please let me know if you faced similar problems. Is this a bug in the VAR and/or WRF V2.2?
Best,
Themis
themis
 
Posts: 14
Joined: Tue Apr 22, 2008 3:39 pm

Re: wrf.exe crashing using Wrf Var output

Postby hclin » Fri May 16, 2008 10:10 am

That is not a bug, just an unpleasant side effect of having WRF and WRF-Var in separate packages.
Users have to make sure the num_soil_layers settings in the namelists are consistent between WRF and WRF-Var.

When wrfinput file has num_soil_layers=5, if WRF-Var is run with num_soil_layers=4, then the WRF-Var analysis output will
have soil-related variables with dimensions of 4, that's the source of the problem.
soil_layers_stag=4
float TSLB(Time, soil_layers_stag, south_north, west_east) ;
float ZS(Time, soil_layers_stag) ;
float DZS(Time, soil_layers_stag) ;
float SMOIS(Time, soil_layers_stag, south_north, west_east)
hclin
 
Posts: 68
Joined: Thu Apr 24, 2008 7:21 pm


Return to Runtime Problems

Who is online

Users browsing this forum: No registered users and 10 guests