mpirun Version - Command

The parser for mpirun --version is included in this module.

class insights.parsers.mpirun.MPIrunVersion(context, extra_bad_lines=None)[source]

Bases: CommandParser

Class for parsing the output of the /usr/local/bin/mpirun --version command.

Sample output:

Intel(R) MPI Library for Linux* OS, Version 2019 Update 12 Build 202010429 (id: e380127cb)
Copyright 2003-2021, Intel Corporation.

Examples

>>> mpirun_ver.year
'2019'
>>> mpirun_ver.version
'Version 2019 Update 08 Build 202010429 (id: e380127cb)'
parse_content(content)[source]

This method must be implemented by classes based on this class.