[petsc-users] reproducibility

Matthew Knepley knepley at gmail.com
Fri May 28 09:46:42 CDT 2021


On Fri, May 28, 2021 at 10:32 AM Mark Adams <mfadams at lbl.gov> wrote:

> Also, as far as libraries go. Does the SHA1 include the p4est and Kokkos
> versions somehow?
>

No. They are in the configure.log however.

DTRT = Do The Right Thing

   Matt


> On Fri, May 28, 2021 at 10:29 AM Mark Adams <mfadams at lbl.gov> wrote:
>
>>
>>
>> On Fri, May 28, 2021 at 9:45 AM Lawrence Mitchell <wence at gmx.li> wrote:
>>
>>>
>>>
>>> > On 28 May 2021, at 14:38, Stefano Zampini <stefano.zampini at gmail.com>
>>> wrote:
>>> >
>>> > Mark
>>> >
>>> > That line is obtained via
>>> >
>>> > git describe --match "v*"
>>> >
>>> > At configure time. The number after the g indicates the commit
>>> > As Matt says, you can do git checkout <commit-id> to go back at the
>>> point were you configured PETSc
>>>
>>> In fact, I hadn't realised this but you can do:
>>>
>>> git checkout v3.15.0-531-g1397235
>>>
>>> and git DTRT.
>>>
>>
>> Thanks, that is nice. I will recommend this.
>>
>> I don't understand "git DTRT"
>>
>>
>>>
>>> Lawrence
>>
>>

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210528/c592d83f/attachment.html>


More information about the petsc-users mailing list