From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Not to incite a language war but apparently the Corona lockdown was based on 13 year old undocumented C-Code Date: Tue, 12 May 2020 23:27:14 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 12 May 2020 21:27:16 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="dcf7ae04c8fa70122eb5da2165132563"; logging-data="24896"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AvsuxDd7cSYm96NRQg+X/sSW3+r7bPcY=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cancel-Lock: sha1:TeZP4+hKkPa5DO6fXsHqWf+X5v8= In-Reply-To: Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:58663 Date: 2020-05-12T23:27:14+02:00 List-Id: On 5/12/20 9:16 PM, Niklas Holsti wrote: >> >> It seems clear that the code that was executed to create the predictions was >> not deterministic on a single core. > > The first of the two cases of single-core "non-determinism" described and > bewailed in the "review" is that the time evolution of the predicted epidemic is > different depending on the value of a program option -- whether the "network" is > created anew, or reused -- that should not affect the result. No actual > non-determinism is claimed in the review, just that the epidemic reaches large > infection rates sooner for one option value than for the other. It seems that > the code was using the PRN generator slightly differently in the two cases, > resulting in different PRN sequences. The single-core non-determinism that I gathered from the referenced interpretation of the review, which I clearly have not studied as carefully as you, was that the program gave different results on the same computer for identical inputs: same initial conditions and same RNG seed(s). Perhaps I misunderstood, but that was what I got from it, and the only part that seemed troubling. This is different from the kind of non-determinism of simulations that are intended to be run many times with different RNG seeds. Possibly that would be caused by accessing uninitialized variables. -- Jeff Carter "I did not rob a bank. If I'd robbed a bank, everything would be great. I tried to rob a bank, is what happened, and they got me." Take the Money and Run 139