<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div> Matt,<div><br></div><div> Don't pickle them up just json them up and they will be portable to all tools.</div><div><br></div><div> Barry</div><div><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Jan 9, 2025, at 2:15 PM, Matthew Knepley <knepley@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr">On Thu, Jan 9, 2025 at 1:44 PM Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</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"><div dir="ltr">I would probably add: 'grep Implementation<span style="font-family:Aptos,sans-serif;font-size:14.6667px">:</span> ${PETSC_DIR}/${PETSC_ARCH}/llib/petsc/conf/configure.log'<div>to your run script.</div><div>Or something that greps on MPI: and prints the next 4 lines.</div></div></blockquote><div><br></div><div>Hi Randy,</div><div><br></div><div>PETSc gets this info from</div><div><br></div><div> ${PETSC_ARCH}/lib/petsc/conf/RDict.db</div><div><br></div><div>which is a pickled Python dictionary of all the configure output. I wrote an example</div><div>of pulling that data out, and _someone_ deleted it:</div><div><br></div><div> <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$">https://gitlab.com/petsc/petsc/-/blob/v3.0.0/bin/configVars.py?ref_type=tags</a></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"><div dir="ltr"><div>Would that work?</div><div>Mark</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 9, 2025 at 12:23 PM Randall Mackie <<a href="mailto:rlmackie862@gmail.com" target="_blank">rlmackie862@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Dear PETSc team:<div><br></div><div>At the bottom of the configuration file, various things are printed out, like the MPI implementation:</div><div><br></div><div><div style="font-size: 12pt; margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:11pt">MPI:<u></u><u></u></span></div><div style="font-size: 12pt; margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:11pt"> Version: 3<u></u><u></u></span></div><div style="font-size: 12pt; margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:11pt"> mpiexec: /state/std2/openmpi-5.0.3-oneapi/bin/mpiexec<u></u><u></u></span></div><div style="font-size: 12pt; margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:11pt"> Implementation: openmpi<u></u><u></u></span></div><div style="font-size: 12pt; margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:11pt"> OMPI_VERSION: 5.0.3<u></u><u></u></span></div><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Aptos,sans-serif"><span style="font-size:11pt"> </span></p><div style="margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:14.6667px">We would like to pick these up and write them to our own output files.</span></div><div style="margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:14.6667px"><br></span></div><div style="margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:14.6667px">What PETSc variables have this information? </span></div><div style="margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:14.6667px"><br></span></div><div style="margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:14.6667px">Especially the implementation.</span></div><div style="margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:14.6667px"><br></span></div><div style="margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:14.6667px"><br></span></div><div style="margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:14.6667px">Thank you,</span></div><div style="margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:14.6667px"><br></span></div><div style="margin: 0in; font-family: Aptos, sans-serif;"><span style="font-size:14.6667px">Randy M.</span></div></div></div></blockquote></div>
</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!YHzfvx7POQpHGF3pPcyxIv7p4vYMjCf5LGpy_6AcyuuK8zKOIFBdFBi6ZTqOdqxqQiIA-tAS7HGoZTlw8ELe$" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>
</div></blockquote></div><br></div></body></html>