[Wrf-users] Segmentation fault with ARWpost

Dmitry N. Mikushin maemarcus at gmail.com
Tue Jan 8 08:55:24 MST 2013


Hi Srikanth,

Debugger is unable to find the sources to point you to the location of
segmentation fault. If you are building and running the model on the same
machine (or sources should be available in some other way), I guess this is
happening because WRF uses temporary .f files as result of preprocessing
original .F sources, and deletes them afterwards. You might want to track
the part of compile script, which deletes them and disable it.

- D.

2013/1/8 Srikanth Yalavarthi <ysk1188 at yahoo.com>

> Dear all
>
> When I run ARWpost, I get a segmentation fault
>
> santosh at srikanth-desktop:~/WRF/ARWpost$ ./ARWpost.exe
>
> !!!!!!!!!!!!!!!!
>   ARWpost v3.1
> !!!!!!!!!!!!!!!!
>
> FOUND the following input files:
>  ./wrfout_d01_2008-04-25_00:00:00
>
> START PROCESSING DATA
>
>  Processing  time --- 2008-04-25_00:00:00
>    Found the right date - continue
> Segmentation fault
>
>
>
> When I try to debug it with gdb the output is as follows
>
> Starting program: /home/santosh/WRF/ARWpost/ARWpost.exe
>
> !!!!!!!!!!!!!!!!
>   ARWpost v3.1
> !!!!!!!!!!!!!!!!
>
> FOUND the following input files:
>  ./wrfout_d01_2008-04-25_00:00:00
>
> START PROCESSING DATA
>
>  Processing  time --- 2008-04-25_00:00:00
>    Found the right date - continue
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x08059779 in get_fields (valid_date=..., _valid_date=19) at
> process_domain_module.f:305
> 305    process_domain_module.f: No such file or directory.
>     in process_domain_module.f
> (gdb) bt
> #0  0x08059779 in get_fields (valid_date=..., _valid_date=19) at
> process_domain_module.f:305
> #1  0x0805b823 in process_domain () at process_domain_module.f:152
> #2  0x0804adc8 in arwpost () at ARWpost.f:23
> #3  0x0807d71b in main ()
> #4  0xb7c8aca6 in __libc_start_main () from /lib/i686/cmov/libc.so.6
> #5  0x08049481 in _start ()
> (gdb) q
>
> Can someone help me in this regard
>
> _______________________________________________
> 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/20130108/d611b894/attachment.html 


More information about the Wrf-users mailing list