<div dir="ltr"><span style="font-family:arial,helvetica,sans-serif"><font>Hi,
</font></span><div><span style="font-family:arial,helvetica,sans-serif"><font><br></font></span>
</div><span style="font-family:arial,helvetica,sans-serif"><font>
</font></span><div><span style="font-family:arial,helvetica,sans-serif"><font>I noticed that there is segmentation fault when
using fewer processes in WRFv3.5 (compiled in dm+sm mode on BG/Q
using XL compilers). </font></span><span style="font-family:arial,helvetica,sans-serif"><font><span style="font-family:arial,helvetica,sans-serif"><font>I get seg fault on 128 BG/Q nodes with 16 processes per node and 2 openmp threads, however the run completes on 256 nodes with 16 processes per node and 2 openmp threads.<br>
<br></font></span>I did a little bit of debugging, and found that
the segmentation fault on fewer cores is due to
uninitialized variables. This is happening during radiation function
call, which is typically every 30 min (radt = 30 in namelist). In the
subroutine cldprmc (in phys/module_ra_rrtmg_lw.F), few processes seg
fault in the line where abscoice(ig) is calculated.
This is due to uninitialized variables on the RHS (debugging shows NANs
for some of the variables). Digging up further, looks like cldprmc is
called from subroutine rrtmg_lw and before that, subroutine inatm is
called where variable reicmc is supposed to be
initialized. But this initialization does not happen correctly for all
the processes. I do not yet have a clear idea why this is the case
because I do not know the code that well. I am using ra_<span style="background-color:rgb(230,230,0)">lw</span>_physics=4. Can
anyone help?<br></font></span></div><span style="font-family:arial,helvetica,sans-serif"><font>
</font></span><div><span style="font-family:arial,helvetica,sans-serif"><font><br></font></span>
</div><span style="font-family:arial,helvetica,sans-serif"><font>
</font></span><div><span style="font-family:arial,helvetica,sans-serif"><font>Thanks,</font></span></div><span style="font-family:arial,helvetica,sans-serif"><font>
</font></span><div><span style="font-family:arial,helvetica,sans-serif"><font>Preeti</font></span></div><span style="font-family:arial,helvetica,sans-serif"><font>
</font></span><div><span style="font-family:arial,helvetica,sans-serif"><font><br></font></span>
</div></div>