[Wrf-users] UPP V3.1 - Unipost Error

Dominikus Heinzeller climbfuji at ymail.com
Tue Jan 3 02:09:13 MST 2017


Hi WRF users,

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:

http://www.dogtoytough.net/work/uppv31_patches/index.html

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:

    CHARACTER * 1   KBUF(*)

This is replaced with

    CHARACTER * 1   KBUF(ITOT)
    INTEGER, INTENT(INOUT) :: ITOT

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).

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.

Cheers,

Dom

> On 14/12/2016, at 1:45 PM, Stefania Roa <stefania at datameteo.it> wrote:
> 
>> Hello,
>> 
>> Does anyone know what would cause this error to be returned from unipost:
>> 
>> *** Error in `../Build_WRF/UPPV3.1/bin/unipost.exe': double free or 
>> corruption (!prev): 0x000000005ab9b5c0 ***
>> 
>> The problem is only for wrfout_d02, d01 e d03 work fine.
>> 
>> When I look at one of the unipost_d02*.out files, the error is:
>> 
>> Program received signal SIGABRT: Process abort signal.
>> 
>> Backtrace for this error:
>> #0  0x7F8DC7F89E08
>> #1  0x7F8DC7F88F90
>> #2  0x7F8DC749E4AF
>> #3  0x7F8DC749E428
>> #4  0x7F8DC74A0029
>> #5  0x7F8DC74E07E9
>> #6  0x7F8DC74E8E09
>> #7  0x7F8DC74EC98B
>> #8  0x79321B in w3fi72_
>> #9  0x464411 in gribit_
>> #10  0x4B5626 in mdl2p_
>> #11  0x4DF04F in process_
>> #12  0x539298 in MAIN__ at WRFPOST.f:?
>> 
>> =================================================================================== 
>> 
>> =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
>> =   EXIT CODE: 134
>> =   CLEANING UP REMAINING PROCESSES
>> =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
>> =================================================================================== 
>> 
>> YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Terminated (signal 15)
>> This typically refers to a problem with your application.
>> Please see the FAQ page for debugging suggestions
>> 
>> System is x64 Ubuntu 16.04 LTS, UPP is configured for gcc/gfortran.
>> 
>> Thanks,
>> 
>> Stefania Roà
>> 
> 
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20170103/f6817013/attachment.html 


More information about the Wrf-users mailing list