kkrunner.ExecutionSpec
- class kkrunner.ExecutionSpec(argv, input_file=None, output_file=None, directory='.', stdin=None, error_file=None, input_files=(), output_files=(), cache_files=(), mpi_argv=None, launch=LaunchSpec(mpi=MpiSpec(required=False, autodetect=False, launcher=(), process_count=None, warning=True), local_root=None, remote_root=None, input_sync='changed', output_sync='changed'), mpi_uses_stdin=True)[source]
Bases:
objectCommand, files and launch intent handed to an execution backend.
Path-valued file fields are resolved relative to
directory. For example,output_file="stdout.txt"saves stdout in that working directory.input_fileidentifies the main input for tracking and transfer;stdinselects the file connected to the process’s standard input. Declaring an input file does not add its name toargvor redirect stdin.- Parameters:
argv (Sequence[str])
input_file (Any)
output_file (Any)
directory (str)
stdin (Any)
error_file (Any)
input_files (Sequence[Any])
output_files (Sequence[Any])
cache_files (Sequence[Any])
mpi_argv (Sequence[str] | None)
launch (LaunchSpec)
mpi_uses_stdin (bool)
- argv: Sequence[str]
- input_file: Any = None
- output_file: Any = None
- directory: str = '.'
- stdin: Any = None
- error_file: Any = None
- input_files: Sequence[Any] = ()
- output_files: Sequence[Any] = ()
- cache_files: Sequence[Any] = ()
- mpi_argv: Sequence[str] | None = None
- launch: LaunchSpec = LaunchSpec(mpi=MpiSpec(required=False, autodetect=False, launcher=(), process_count=None, warning=True), local_root=None, remote_root=None, input_sync='changed', output_sync='changed')
- mpi_uses_stdin: bool = True