Memory corruption error on executing ARWpost.exe

Discussions related to the use of ARWPost

Memory corruption error on executing ARWpost.exe

Postby sangeeta » Tue Oct 22, 2013 5:19 am

Dear All

I am a beginner to ARWpost. After building the ARWpost successfully ,I edited namelist.ARWpost as follows

&datetime
start_date = '2013-09-13_00:00:00',
end_date = '2013-09-14_00:00:00',
interval_seconds = 10800,
tacc = 0,
debug_level = 0,
/

&io
input_root_name = './wrfout_d03_2013-09-13_00:00:00'
output_root_name = './test'
plot = 'all_list'
fields = 'height,pressure,tk,tc'
mercator_defs = .true.
/
split_output = .true.
frames_per_outfile = 2


plot = 'all'
plot = 'list'
plot = 'all_list'
! Below is a list of all available diagnostics
fields = 'height,geopt,theta,tc,tk,td,td2,rh,rh2,umet,vmet,pressure,u10m,v10m,wdir,wspd,wd10,ws10,slp,mcape,mcin,lcl,lfc,cape,cin,dbz,max_dbz,clfr'

&interp
interp_method = 0,
interp_levels = 1000.,950.,900.,850.,800.,750.,700.,650.,600.,550.,500.,450.,400.,350.,300.,250.,200.,150.,100.,
/
extrapolate = .true.

interp_method = 0, ! 0 is model levels, -1 is nice height levels, 1 is user specified pressure/height

interp_levels = 1000.,950.,900.,850.,800.,750.,700.,650.,600.,550.,500.,450.,400.,350.,300.,250.,200.,150.,100.,
interp_levels = 0.25, 0.50, 0.75, 1.00, 2.00, 3.00, 4.00, 5.00, 6.00, 7.00, 8.00, 9.00, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0,
;--------------------------------------------------------------------
wrfout_d03_2013-09-13_00:00:00 is 2 day simulated file generated by WRF.

On executing /ARWpost.exe , I got

!!!!!!!!!!!!!!!!
ARWpost v3.1
!!!!!!!!!!!!!!!!

FOUND the following input files:
./wrfout_d03_2013-09-13_00:00:00

START PROCESSING DATA

Processing time --- 2013-09-13_00:00:00
Found the right date - continue
*** glibc detected *** ./ARWpost.exe: malloc(): memory corruption: 0x0979e898 ***

Any help regarding this is appreciated.
Thanks.
Sangeeta Maharjan.
sangeeta
 
Posts: 25
Joined: Mon Feb 04, 2013 5:16 am

Re: Memory corruption error on executing ARWpost.exe

Postby sangeeta » Sun Oct 27, 2013 7:34 am

Hi,
I tried to install ARWpost using netcdf-3.6.3( previously netcdf-4.1.3) again but the problem is same while executing ARWpost.exe.

ARWpost v3.1
!!!!!!!!!!!!!!!!

FOUND the following input files:
./wrfout_d03_2013-09-13_00:00:00

START PROCESSING DATA

Processing time --- 2013-09-13_00:00:00
Found the right date - continue
*** glibc detected *** ./ARWpost.exe: malloc(): memory corruption: 0x09263468 ***

Have you encountered such problem while executing ARWpost?
Hoping to overcome this problem.

Sangeeta Maharjan.
sangeeta
 
Posts: 25
Joined: Mon Feb 04, 2013 5:16 am

Re: Memory corruption error on executing ARWpost.exe

Postby imdnme » Sun Apr 13, 2014 1:41 am

I get a similar error when trying to process all variables or 'all_list', or 'list' with added WRF variable:
(If only 'list' of diagnostics is used, everything is OK.)

plot = 'list'
fields = 'height,pressure,tc,rh,lcl,clfr,wspd,wdir,ws10,wd10,RAINC'

Processing time --- 2014-04-12_12:00:00
Found the right date - continue
*** glibc detected *** ./ARWpost.exe: malloc(): memory corruption: 0x00000000025542a0 ***
*** glibc detected *** ./ARWpost.exe: malloc(): memory corruption: 0x00000000025542a0 ***

Finally I gave up struggling with the native model variables and hardcoded additional diagnostics (like accumulated rain RAINNC+RAINC+RAINSH and planning to add more).
This I did by modifying the files: module_model_basics.f90, module_arrays.f90, module_diagnostics.f90, then creating new module_calc_rain.f90 and adding it in the Makefile.
ARW compiles and runs and new variable called rain can be plotted in GrADS.
imdnme
 
Posts: 11
Joined: Wed Jul 13, 2011 3:39 am
Location: Bulgaria

Re: Memory corruption error on executing ARWpost.exe

Postby Ramchandra » Mon Dec 21, 2015 11:44 am

Hi I am also facing the same problem while running ARWpost with gcc compiler 4.3. does any body already have solution with this issue. please kindly help me if you already have solution for this.

*** glibc detected *** ./ARWpost.exe: malloc(): memory corruption: 0x0000000000ae6790 ***

!!!!!!!!!!!!!!!!


ARWpost v3.1
!!!!!!!!!!!!!!!!

FOUND the following input files:
/home/fgvy024/Build_WRF/WRFV3/run/wrfout_d01_2010-06-04_12:00:00

START PROCESSING DATA

Processing time --- 2010-06-04_12:00:00
Found the right date - continue
*** glibc detected *** ./ARWpost.exe: malloc(): memory corruption: 0x0000000000a e6790 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x79098)[0x7f1ed0cc9098]
/lib64/libc.so.6(+0x7c04f)[0x7f1ed0ccc04f]
/lib64/libc.so.6(__libc_malloc+0x77)[0x7f1ed0cce1c7]
/usr/lib64/libgfortran.so.3(+0x1d9b9)[0x7f1ed14859b9]
/usr/lib64/libgfortran.so.3(_gfortran_string_trim+0x58)[0x7f1ed15559d8]
./ARWpost.exe[0x410dd1]
./ARWpost.exe[0x4129c7]
./ARWpost.exe[0x4037ca]
./ARWpost.exe[0x45ca1c]
/lib64/libc.so.6(__libc_start_main+0xe6)[0x7f1ed0c6ec36]
./ARWpost.exe[0x4020b5]
======= Memory map: ========
00400000-004eb000 r-xp 00000000 08:03 1720398 /home/f gvy024/Build_WRF/ARWpost/src/ARWpost.exe
006ea000-006eb000 r--p 000ea000 08:03 1720398 /home/f gvy024/Build_WRF/ARWpost/src/ARWpost.exe
006eb000-006ec000 rw-p 000eb000 08:03 1720398 /home/f gvy024/Build_WRF/ARWpost/src/ARWpost.exe
006ec000-00cf3000 rw-p 00000000 00:00 0 [heap]
7f1ecc000000-7f1ecc021000 rw-p 00000000 00:00 0
7f1ecc021000-7f1ed0000000 ---p 00000000 00:00 0
7f1ed0a18000-7f1ed0a4d000 r-xp 00000000 08:01 2289168 /usr/li b64/libquadmath.so.0.0.0
7f1ed0a4d000-7f1ed0c4c000 ---p 00035000 08:01 2289168 /usr/li b64/libquadmath.so.0.0.0
7f1ed0c4c000-7f1ed0c4d000 r--p 00034000 08:01 2289168 /usr/li b64/libquadmath.so.0.0.0
7f1ed0c4d000-7f1ed0c4e000 rw-p 00035000 08:01 2289168 /usr/li b64/libquadmath.so.0.0.0
7f1ed0c50000-7f1ed0dc2000 r-xp 00000000 08:01 2528069 /lib64/ libc-2.11.3.so
7f1ed0dc2000-7f1ed0fc2000 ---p 00172000 08:01 2528069 /lib64/ libc-2.11.3.so
7f1ed0fc2000-7f1ed0fc6000 r--p 00172000 08:01 2528069 /lib64/ libc-2.11.3.so
7f1ed0fc6000-7f1ed0fc7000 rw-p 00176000 08:01 2528069 /lib64/ libc-2.11.3.so
7f1ed0fc7000-7f1ed0fcc000 rw-p 00000000 00:00 0
7f1ed0fd0000-7f1ed0fe5000 r-xp 00000000 08:01 2528159 /lib64/ libgcc_s.so.1
7f1ed0fe5000-7f1ed11e4000 ---p 00015000 08:01 2528159 /lib64/ libgcc_s.so.1
7f1ed11e4000-7f1ed11e5000 r--p 00014000 08:01 2528159 /lib64/ libgcc_s.so.1
7f1ed11e5000-7f1ed11e6000 rw-p 00015000 08:01 2528159 /lib64/ libgcc_s.so.1
7f1ed11e8000-7f1ed1243000 r-xp 00000000 08:01 2528098 /lib64/ libm-2.11.3.so
7f1ed1243000-7f1ed1442000 ---p 0005b000 08:01 2528098 /lib64/ libm-2.11.3.so
7f1ed1442000-7f1ed1443000 r--p 0005a000 08:01 2528098 /lib64/ libm-2.11.3.so
7f1ed1443000-7f1ed1461000 rw-p 0005b000 08:01 2528098 /lib64/ libm-2.11.3.so
7f1ed1468000-7f1ed157c000 r-xp 00000000 08:01 2289255 /usr/li b64/libgfortran.so.3.0.0
7f1ed157c000-7f1ed177b000 ---p 00114000 08:01 2289255 /usr/li b64/libgfortran.so.3.0.0
7f1ed177b000-7f1ed177c000 r--p 00113000 08:01 2289255 /usr/li b64/libgfortran.so.3.0.0
7f1ed177c000-7f1ed177e000 rw-p 00114000 08:01 2289255 /usr/li b64/libgfortran.so.3.0.0
7f1ed1780000-7f1ed179f000 r-xp 00000000 08:01 2530929 /lib64/ ld-2.11.3.so
7f1ed195e000-7f1ed1960000 rw-p 00000000 00:00 0
7f1ed199f000-7f1ed19a0000 r--p 0001f000 08:01 2530929 /lib64/ ld-2.11.3.so
7f1ed19a0000-7f1ed19a1000 rw-p 00020000 08:01 2530929 /lib64/ ld-2.11.3.so
7f1ed19a1000-7f1ed19a3000 rw-p 00000000 00:00 0
7f1ed19a3000-7f1ed19a5000 rw-p 00000000 00:00 0
7ffeb2505000-7ffeb2526000 rw-p 00000000 00:00 0 [stack]
7ffeb2550000-7ffeb2551000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsysca ll]

namelist.arwpost
&datetime
start_date = '2010-06-04_12:00:00',
end_date = '2010-06-05_12:00:00',
interval_seconds = 10800,
tacc = 0,
debug_level = 0,
/

&io
input_root_name = '/home/fgvy024/Build_WRF/WRFV3/run/wrfout_d01_2010-06-04_12:00:00'
output_root_name = './test'
plot = 'all_list'
fields = 'height,pressure,tk,tc'
mercator_defs = .true.
/
split_output = .true.
frames_per_outfile = 2


plot = 'all'
plot = 'list'
plot = 'all_list'
! Below is a list of all available diagnostics
fields = 'height,geopt,theta,tc,tk,td,td2,rh,rh2,umet,vmet,pressure,u10m,v10m,wdir,wspd,wd10,ws10,slp,mcape,mcin,lcl,lfc,cape,cin,dbz,max_dbz,clfr'


&interp
interp_method = 0,
interp_levels = 1000.,950.,900.,850.,800.,750.,700.,650.,600.,550.,500.,450.,400.,350.,300.,250.,200.,150.,100.,
/
extrapolate = .true.

interp_method = 0, ! 0 is model levels, -1 is nice height levels, 1 is user specified pressure/height

interp_levels = 1000.,950.,900.,850.,800.,750.,700.,650.,600.,550.,500.,450.,400.,350.,300.,250.,200.,150.,100.,
interp_levels = 0.25, 0.50, 0.75, 1.00, 2.00, 3.00, 4.00, 5.00, 6.00, 7.00, 8.00, 9.00, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0,
Ramchandra
 
Posts: 4
Joined: Mon Dec 21, 2015 11:12 am

Re: Memory corruption error on executing ARWpost.exe

Postby fard792 » Thu Jun 16, 2016 1:52 am

hi
if you want to get ride of from this error
you have to compile ARWpost 3.1 with PGI compilers

good luck
fard792
 
Posts: 7
Joined: Wed Apr 15, 2009 3:55 am


Return to ARWPost

Who is online

Users browsing this forum: No registered users and 1 guest

cron