<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi WRF users,</div><div class=""><br class=""></div><div class="">Stefania and I were working in the background on a solution to this problem. We could fix it with a series of patches of UPPv3.1. These patches and instructions can be downloaded from here:</div><div class=""><br class=""></div><div class=""><font color="#0069d9" class=""><u class=""><a href="http://www.dogtoytough.net/work/uppv31_patches/index.html" class="">http://www.dogtoytough.net/work/uppv31_patches/index.html</a></u></font></div><div class=""><br class=""></div><div class="">The cause of the crash Stefania reported happened to me earlier with UPPv2.1 and is related to the definition of the length of the character-array containing the GRIB message in w3fi72.f:</div><div class=""><br class=""></div><div class="">&nbsp; &nbsp; CHARACTER * 1 &nbsp; KBUF(*)</div><div class=""><br class=""></div><div class="">This is replaced with</div><div class=""><br class=""></div><div class=""><div class="">&nbsp; &nbsp; CHARACTER * 1 &nbsp; KBUF(ITOT)</div><div class="">&nbsp; &nbsp; INTEGER, INTENT(INOUT) :: ITOT</div></div><div class=""><br class=""></div><div class="">where ITOT is calculated outside this routine as the total length of the grib message. This implies changes to several interfaces, all contained in the patches (see above website for more information).</div><div class=""><br class=""></div><div class="">In addition to fixing Stefania’s problem, the patches enable compiling and running UPPv3.1 on Mac OS X Sierra, for details again see the above website.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Dom</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 14/12/2016, at 1:45 PM, Stefania Roa &lt;<a href="mailto:stefania@datameteo.it" class="">stefania@datameteo.it</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><blockquote type="cite" class="">Hello,<br class=""><br class="">Does anyone know what would cause this error to be returned from unipost:<br class=""><br class="">*** Error in `../Build_WRF/UPPV3.1/bin/unipost.exe': double free or <br class="">corruption (!prev): 0x000000005ab9b5c0 ***<br class=""><br class="">The problem is only for wrfout_d02, d01 e d03 work fine.<br class=""><br class="">When I look at one of the unipost_d02*.out files, the error is:<br class=""><br class="">Program received signal SIGABRT: Process abort signal.<br class=""><br class="">Backtrace for this error:<br class="">#0 &nbsp;0x7F8DC7F89E08<br class="">#1 &nbsp;0x7F8DC7F88F90<br class="">#2 &nbsp;0x7F8DC749E4AF<br class="">#3 &nbsp;0x7F8DC749E428<br class="">#4 &nbsp;0x7F8DC74A0029<br class="">#5 &nbsp;0x7F8DC74E07E9<br class="">#6 &nbsp;0x7F8DC74E8E09<br class="">#7 &nbsp;0x7F8DC74EC98B<br class="">#8 &nbsp;0x79321B in w3fi72_<br class="">#9 &nbsp;0x464411 in gribit_<br class="">#10 &nbsp;0x4B5626 in mdl2p_<br class="">#11 &nbsp;0x4DF04F in process_<br class="">#12 &nbsp;0x539298 in MAIN__ at WRFPOST.f:?<br class=""><br class="">=================================================================================== <br class=""><br class="">= &nbsp;&nbsp;BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<br class="">= &nbsp;&nbsp;EXIT CODE: 134<br class="">= &nbsp;&nbsp;CLEANING UP REMAINING PROCESSES<br class="">= &nbsp;&nbsp;YOU CAN IGNORE THE BELOW CLEANUP MESSAGES<br class="">=================================================================================== <br class=""><br class="">YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Terminated (signal 15)<br class="">This typically refers to a problem with your application.<br class="">Please see the FAQ page for debugging suggestions<br class=""><br class="">System is x64 Ubuntu 16.04 LTS, UPP is configured for gcc/gfortran.<br class=""><br class="">Thanks,<br class=""><br class="">Stefania Roà<br class=""><br class=""></blockquote><br class="">_______________________________________________<br class="">Wrf-users mailing list<br class=""><a href="mailto:Wrf-users@ucar.edu" class="">Wrf-users@ucar.edu</a><br class="">http://mailman.ucar.edu/mailman/listinfo/wrf-users<br class=""></div></div></blockquote></div><br class=""></div></body></html>