[mesa-users] update on mesa platform dependency bugs: natural log function different on Mac 10.6.8 vs 10.8.5

Bill Paxton paxton at kitp.ucsb.edu
Mon Nov 25 13:16:52 EST 2013


On Nov 25, 2013, at 10:07 AM, Tomasz Plewa wrote:

> Hi Bill -
> 
> I think the MESA code works, as almost every multiphysics code, only in a statistical sense. As a young Bohdan Paczynski replied to a question from a senior faculty, "That's the way it is, Professor." ;)
> 
> To give you an example from my own work, we are about to publish a paper in which we discuss a particular stellar explosion model. We performed the following number of simulations:
> 
> 1D - 26
> 2D - 169
> 3D - 61
> 
> The cost of any 2D run was at least 200 CPU hours, that of any 3D run was upward of 100,000 CPU hours. We did not produce proportionally more 1D models (even though their cost was only a few hours) because they seem lacking relevant physics (that is relevant physics does not operate in 1D). And we would love to, but simply could not afford computing more 3D models just because of their extreme cost. (I should probably say that more models would strengthen our conclusions, but in fact we would have to compute still more models only if we were to answer different questions.)
> 
> And why we computed more models than one? Exactly because of that complex interplay of various physics and aggregated model sensitivity to small perturbations. Can we avoid it? No. Why not? Because it is a genuine part of the problem. And so consistent with what Dave and Stan and Roni and others mentioned, we gathered statistics and based our conclusions on such limited sample of models. Are our conclusions "final"? Yes, for those particular model realizations, compilers we used, operating systems with and without upgrades (it takes > 1 year to get it all done), the number of cores we used, and state of hardware potentially modified by cosmic rays, if any.
> 
> I know, some people spent more than a million core hours per model. But then the question is what do we learn from a single model realization for a system that is genuinely "chaotic", "turbulent", or at least "nonlinear".
> 
> So I do believe it is important to gather information about the impact of sheer accuracy of fp computations on model predictions. That's fine. It is a well-defined and a separate problem in its own right. But again, it is a separate problem, and it was not a focus of our study.
> 
> Tomek
> --

Hi Tomek,

Sounds like an excellent paper.  And I'm in complete agreement with you on the statistical nature of computational physics given the complexity of the problems.  And I personally have zero interest in spending time studying the impact of fp accuracy on the model predictions.  But I have a huge interest in finding bugs in my code!!!   And for that I would love to have repeatable results across platforms since that makes my job much easier.  As a start, I'd like to have a math lib that gives the exact same answers on different platforms -- not because of the impact on the physics, but because of reproducibility for the purpose of debugging.

-Bill





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20131125/fb3efdaa/attachment.html>


More information about the Mesa-users mailing list