[petsc-users] How to pick up MPI implementation in PETSc

Randall Mackie rlmackie862 at gmail.com
Thu Jan 9 12:58:31 CST 2025


Thanks Mark - yes that works.

Randy

> On Jan 9, 2025, at 10:44 AM, Mark Adams <mfadams at lbl.gov> wrote:
> 
> I would probably add: 'grep Implementation:  ${PETSC_DIR}/${PETSC_ARCH}/llib/petsc/conf/configure.log'
> to your run script.
> Or something that greps on MPI: and prints the next 4 lines.
> 
> Would that work?
> Mark
> 
> On Thu, Jan 9, 2025 at 12:23 PM Randall Mackie <rlmackie862 at gmail.com <mailto:rlmackie862 at gmail.com>> wrote:
>> Dear PETSc team:
>> 
>> At the bottom of the configuration file, various things are printed out, like the MPI implementation:
>> 
>> MPI:
>>   Version:    3
>>   mpiexec: /state/std2/openmpi-5.0.3-oneapi/bin/mpiexec
>>   Implementation: openmpi
>>   OMPI_VERSION: 5.0.3
>>  
>> We would like to pick these up and write them to our own output files.
>> 
>> What PETSc variables have this information? 
>> 
>> Especially the implementation.
>> 
>> 
>> Thank you,
>> 
>> Randy M.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250109/6b38529b/attachment-0003.html>


More information about the petsc-users mailing list