<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D">I should have posted this before, but for completeness, below is the stack trace from wrf.exe, and I’ve also attached the namelist used in this iteration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D">PBL scheme is MYJ (2).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D">(I do realize that using the urban physics option on such a coarse grid is likely not advisable, but crashes are never good … :D )<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D">--Kevin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">forrtl: error (182): floating invalid - possible uninitialized real/complex variable.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">Image PC Routine Line Source
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 000000000B622132 Unknown Unknown Unknown<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">libpthread-2.12.s 0000003389E0F7E0 Unknown Unknown Unknown<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 000000000AB63954 module_sf_bep_mp_ 563 module_sf_bep.f90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 0000000009DCA4D8 module_sf_noahdrv 1397 module_sf_noahdrv.f90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 0000000006FF8A06 module_surface_dr 2447 module_surface_driver.f90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 000000000450EC7E module_first_rk_s 353 module_first_rk_step_part1.f90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 00000000035B3D7D solve_em_ 859 solve_em.f90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 0000000003063C0F solve_interface_ 121 solve_interface.f90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 0000000000524EE7 module_integrate_ 328 module_integrate.f90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 000000000040DC93 module_wrf_top_mp 348 module_wrf_top.f90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 000000000040D125 MAIN__ 31 wrf.f90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 000000000040D0DE Unknown Unknown Unknown<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">libc-2.12.so 000000338961ED1D __libc_start_main Unknown Unknown<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">wrf.exe 000000000040CFE9 Unknown Unknown Unknown<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D">Abort (core dumped)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">_____________________________________________<br>
Kevin Tyle, Manager of Departmental Computing<br>
Dept. of Atmospheric & Environmental Sciences <br>
University at Albany<br>
Earth Science 235, 1400 Washington Avenue <br>
Albany, NY 12222<br>
Email: <a href="mailto:ktyle@albany.edu">ktyle@albany.edu</a><br>
Phone: 518-442-4578 <br>
_____________________________________________<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> wrf-users-bounces@ucar.edu [mailto:wrf-users-bounces@ucar.edu]
<b>On Behalf Of </b>Tyle, Kevin R<br>
<b>Sent:</b> Friday, July 21, 2017 1:36 PM<br>
<b>To:</b> Francisco Salamanca Palou <fsalaman@asu.edu><br>
<b>Cc:</b> wrf-users@ucar.edu; wrfhelp@ucar.edu<br>
<b>Subject:</b> Re: [Wrf-users] Segfaults with Intel 2017 Compiler<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D">Hi Francisco,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D">I experienced the crashes in a two-domain simulation with sf_surface_physics = 2 (also tried 4) and sf_urban_physics = 2 (also tried 1) in both domains. For debugging purposes,
I then ran on only one domain.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D">Kevin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">_____________________________________________<br>
Kevin Tyle, Manager of Departmental Computing<br>
Dept. of Atmospheric & Environmental Sciences <br>
University at Albany<br>
Earth Science 235, 1400 Washington Avenue <br>
Albany, NY 12222<br>
Email: <a href="mailto:ktyle@albany.edu">ktyle@albany.edu</a><br>
Phone: 518-442-4578 <br>
_____________________________________________<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Francisco Salamanca Palou [<a href="mailto:fsalaman@asu.edu">mailto:fsalaman@asu.edu</a>]
<br>
<b>Sent:</b> Friday, July 21, 2017 1:03 PM<br>
<b>To:</b> Tyle, Kevin R <<a href="mailto:ktyle@albany.edu">ktyle@albany.edu</a>><br>
<b>Cc:</b> <a href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a>; <a href="mailto:wrfhelp@ucar.edu">
wrfhelp@ucar.edu</a><br>
<b>Subject:</b> Re: [Wrf-users] Segfaults with Intel 2017 Compiler<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi Kevin,<o:p></o:p></p>
</div>
<p class="MsoNormal">You must run with the same sf_urban_physics option in all the domains, otherwise the model will crash.<o:p></o:p></p>
</div>
<p class="MsoNormal">I hope this help you<o:p></o:p></p>
</div>
<p class="MsoNormal">Best<o:p></o:p></p>
</div>
<p class="MsoNormal">Francisco<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, Jul 21, 2017 at 9:57 AM, Tyle, Kevin R <<a href="mailto:ktyle@albany.edu" target="_blank">ktyle@albany.edu</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">Thanks to those who responded. One of the suggestions was to increase the value of the debugging parameter in the namelist and that was a big help.
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">After recompiling with debugging and traceback, the true cause of the segfault revealed itself. If sf_urban_physics is non zero AND a Noah land surface
scheme is chosen, WRF will crash; not only with Intel 17.0.4 but also 14.0.1 (and the latest 18 beta). Looks to be a problem with uninitialized variables when module_sf_noahdrv calls the particular sf_urban scheme.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">When WRF is run using the PGI compiler (2017), crashes are much less likely, but still occur on occasion.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">The documentation for WRF says that the urban physics schemes will work if a Noah LSM is chosen … perhaps this is a problem that was thought to be fixed
but appears not to be.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">--Kevin</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">_____________________________________________<br>
Kevin Tyle, Manager of Departmental Computing<br>
Dept. of Atmospheric & Environmental Sciences <br>
University at Albany<br>
Earth Science 235, 1400 Washington Avenue <br>
Albany, NY 12222<br>
Email: <a href="mailto:ktyle@albany.edu" target="_blank">ktyle@albany.edu</a><br>
Phone: <a href="tel:(518)%20442-4578" target="_blank">518-442-4578</a>
<br>
_____________________________________________</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b> Tyle, Kevin R
<br>
<b>Sent:</b> Monday, July 17, 2017 4:05 PM<br>
<b>To:</b> '<a href="mailto:wrf-users@ucar.edu" target="_blank">wrf-users@ucar.edu</a>' <<a href="mailto:wrf-users@ucar.edu" target="_blank">wrf-users@ucar.edu</a>><br>
<b>Subject:</b> Segfaults with Intel 2017 Compiler<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’ve experienced segfaults in various WRF versions (3.7.1 and 3.9) that appear tied to executables built using the current (17.0.4) version of the Intel compilers.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">With debugging set at a value of 100 in namelist.input, I consistently see “CALL rrtmg_lw” as the last thing written to the rsl.error.0000 file prior to the segfault.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Longwave schemes 4 (3.7.1 and 3.9) and 24 (3.9) have been tried with similar behavior.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">This is using openmpi (have tried the latest 1.10 and 2.1 releases). Stacksize is unlimited.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Intel compiler version 14.0.1 does not show this problem, nor does the latest PGI 2017 community release.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Any ideas or suggestions would be appreciated!<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--Kevin<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">_____________________________________________<br>
Kevin Tyle, Manager of Departmental Computing<br>
Dept. of Atmospheric & Environmental Sciences <br>
University at Albany<br>
Earth Science 235, 1400 Washington Avenue <br>
Albany, NY 12222<br>
Email: <a href="mailto:ktyle@albany.edu" target="_blank">ktyle@albany.edu</a><br>
Phone: <a href="tel:(518)%20442-4578" target="_blank">518-442-4578</a>
<br>
_____________________________________________</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>