taucmdr.cli.commands.initialize module

initialize subcommand.

class taucmdr.cli.commands.initialize.InitializeCommand(module_name, format_fields=None, summary_fmt=None, help_page_fmt=None, group=None)[source]

Bases: AbstractCommand

tau initialize subcommand.

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

Construct a command line argument parser.

_create_measurement(name, args, **kwargs)[source]
_create_project(args)[source]
static _path_tau_makefiles(args: Namespace) → list[str][source]

Return the makefiles of the TAU on PATH if the new project will build its own TAU instead.

A TAU is found from tau_exec on PATH, through any links such as the <prefix>/bin Spack adds. Nothing is returned when the command line chooses a TAU with --tau or --from-tau-makefile.

_populate_project(args)[source]
_safe_execute(cmd, argv)[source]
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