[Mesa-users] About the warning issue during installing MESA15140

Hongwei Ge hongwei.ge at gmail.com
Mon Feb 1 09:12:01 UTC 2021


Hi MESA developers and users:

As a beginner, I am recently reading through MESA15140.
I just found some warning message in my basic.log file, such as:

../private/pre_conditioners.f90:81:81:

   71 |          do j=1,nblocks
      |                       2

......
   81 |                      pre_conditioner(k,j) = pre_conditioner(k,j) +
abs(ublk(k2,k,j-1) / right_pre_conditioner(k2,j-1))
      |
             1
Warning: Array reference at (1) out of bounds (0 < 1) in loop beginning at
(2) [-Wdo-subscript]--

There are about 6 places for such kind of warning about the Array bounds.

The code can run smoothly actually, but should we just neglect these
warnings or should we modify the array?

With best regards,

Hongwei



Yunnan Observatories, Chinese Academy of Sciences,
NO. 396, YangFangWang, Guandu District,
Kunming, 650216, China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210201/2a68a486/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 44349 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210201/2a68a486/attachment.obj>


More information about the Mesa-users mailing list