<div dir="ltr"><div dir="ltr">On Thu, Jan 9, 2025 at 2:26 PM Satish Balay <<a href="mailto:balay.anl@fastmail.org">balay.anl@fastmail.org</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 9 Jan 2025, Matthew Knepley wrote:<br>
<br>
> On Thu, Jan 9, 2025 at 1:44 PM Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> wrote:<br>
> <br>
> > I would probably add: 'grep Implementation:<br>
> > ${PETSC_DIR}/${PETSC_ARCH}/llib/petsc/conf/configure.log'<br>
> > to your run script.<br>
> > Or something that greps on MPI: and prints the next 4 lines.<br>
> ><br>
> <br>
> Hi Randy,<br>
> <br>
> PETSc gets this info from<br>
> <br>
>   ${PETSC_ARCH}/lib/petsc/conf/RDict.db<br>
> <br>
> which is a pickled Python dictionary of all the configure output. I wrote<br>
> an example<br>
> of pulling that data out, and _someone_ deleted it:<br>
> <br>
> <br>
> <a href="https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/blob/v3.0.0/bin/configVars.py?ref_type=tags__;!!G_uCfscf7eWS!YHzfvx7POQpHGF3pPcyxIv7p4vYMjCf5LGpy_6AcyuuK8zKOIFBdFBi6ZTqOdqxqQiIA-tAS7HGoZaoqRNeq$" rel="noreferrer" target="_blank">https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/blob/v3.0.0/bin/configVars.py?ref_type=tags__;!!G_uCfscf7eWS!YHzfvx7POQpHGF3pPcyxIv7p4vYMjCf5LGpy_6AcyuuK8zKOIFBdFBi6ZTqOdqxqQiIA-tAS7HGoZaoqRNeq$</a> <br>
<br>
<br>
rdict might be broken due to changes for python-3.13 <a href="https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/7790__;!!G_uCfscf7eWS!Zzxf5zgMg2pRxgrsOeSMwCQKTlQbgzDbbYpCJibNMnMkAJfww_66UBSQn0rv7ShPrpJG42hoXuHcfXHQRFsv$" rel="noreferrer" target="_blank">https://gitlab.com/petsc/petsc/-/merge_requests/7790</a></blockquote><div><br></div><div>Hopefully only busted on arches that need XDR. Python aesthetics stick again.</div><div><br></div><div>  Thanks,</div><div><br></div><div>    Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Satish<br>
<br>
> <br>
>   Thanks,<br>
> <br>
>      Matt<br>
> <br>
> <br>
> > Would that work?<br>
> > Mark<br>
> ><br>
> > On Thu, Jan 9, 2025 at 12:23 PM Randall Mackie <<a href="mailto:rlmackie862@gmail.com" target="_blank">rlmackie862@gmail.com</a>><br>
> > wrote:<br>
> ><br>
> >> Dear PETSc team:<br>
> >><br>
> >> At the bottom of the configuration file, various things are printed out,<br>
> >> like the MPI implementation:<br>
> >><br>
> >> MPI:<br>
> >><br>
> >>   Version:    3<br>
> >><br>
> >>   mpiexec: /state/std2/openmpi-5.0.3-oneapi/bin/mpiexec<br>
> >><br>
> >>   Implementation: openmpi<br>
> >><br>
> >>   OMPI_VERSION: 5.0.3<br>
> >><br>
> >><br>
> >><br>
> >> We would like to pick these up and write them to our own output files.<br>
> >><br>
> >><br>
> >> What PETSc variables have this information?<br>
> >><br>
> >><br>
> >> Especially the implementation.<br>
> >><br>
> >><br>
> >><br>
> >> Thank you,<br>
> >><br>
> >><br>
> >> Randy M.<br>
> >><br>
> ><br>
> <br>
> <br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!Zzxf5zgMg2pRxgrsOeSMwCQKTlQbgzDbbYpCJibNMnMkAJfww_66UBSQn0rv7ShPrpJG42hoXuHcfRbLYV89$" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>