legate.util.info.info#

legate.util.info.info(*, start_runtime: bool = True) Info#

Construct a dictionary of information about the current legate program that can be used for debugging or for reproducibility.

Parameters:

start_runtime (bool = True) – If True, the legate runtime will be started (if it has not already been) to get information that depends on the runtime. If False and the runtime has not been started, information that depends on the runtime will be missing.

Returns:

A hierarchical dictionary of information strings, with the following top-level keys:

  • "Program"

  • "Legate runtime configuration"

  • "Realm runtime configuration"

  • "Machine"

  • "System info"

  • "Package versions"

  • "Package details"

  • "Legate build configuration"

The Legate runtime configuration, Realm runtime configuration, and Machine only have useful information if the runtime has started.

Return type:

Info