taucmdr.cli.commands.system.configure module

system configure subcommand.

class taucmdr.cli.commands.system.configure.ConfigureCommand(module_name, format_fields=None, summary_fmt=None, help_page_fmt=None, group=None)[source]

Bases: AbstractCommand

Builds TAU configurations in system-level storage.

_abc_impl = <_abc._abc_data object>
_construct_parser()[source]

Construct a command line argument parser.

main(argv)[source]

Command program entry point.

Parameters:

argv (list) – Command line arguments.

Returns:

Process return code: non-zero if a problem occurred, 0 otherwise

Return type:

int

class taucmdr.cli.commands.system.configure.ParseTauAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None, deprecated=False)[source]

Bases: Action

taucmdr.cli.commands.system.configure._configure_full(args)[source]

Procedurally generated TAU configurations.

Iterate over as many valid TAU projects as possible for the provided command line arguments. For each project, iterate over possible experiments and select them to trigger TAU rebuild.

taucmdr.cli.commands.system.configure._configure_minimal(_)[source]
taucmdr.cli.commands.system.configure._configure_override_tau_source(storage, args)[source]

Per Sameer’s request, override managed TAU installation with an existing unmanaged TAU installation.

taucmdr.cli.commands.system.configure._configure_project(args)[source]
taucmdr.cli.commands.system.configure._execute(cmd, argv)[source]
taucmdr.cli.commands.system.configure._translate_arg(flag, arg)[source]
taucmdr.cli.commands.system.configure.full_features(args, host_os)[source]

Return the features that the full set of TAU configurations is built with and without.

Parameters:
  • args – Parsed command line arguments.

  • host_os (OperatingSystem) – The host operating system.

Returns:

Feature names (papi, openmp, mpi, shmem, cuda) mapped to True if configurations are built both with and without the feature, or False if only without it.

Return type:

dict

taucmdr.cli.commands.system.configure.project_argv(args)[source]

Return the tau initialize arguments for the project that configures TAU for args.

taucmdr.cli.commands.system.configure.reset_project(workdir)[source]

Delete the project that configuring an earlier set of options left in workdir.

Parameters:

workdir (str) – The working directory of this command.

Raises:

InternalError – Project storage not found in workdir.