parsl.channels.local.local.LocalChannel

class parsl.channels.local.local.LocalChannel(userhome='.', envs={}, script_dir=None, **kwargs)[source]

This is not even really a channel, since opening a local shell is not heavy and done so infrequently that they do not need a persistent channel

__init__(userhome='.', envs={}, script_dir=None, **kwargs)[source]

Initialize the local channel. script_dir is required by set to a default.

KwArgs:
  • userhome (string): (default=’.’) This is provided as a way to override and set a specific userhome
  • envs (dict) : A dictionary of env variables to be set when launching the shell
  • script_dir (string): Directory to place scripts

Methods

__init__([userhome, envs, script_dir]) Initialize the local channel.
close() There’s nothing to close here, and this really doesn’t do anything
execute_no_wait(cmd, walltime[, envs]) Synchronously execute a commandline string on the shell.
execute_wait(cmd, walltime[, envs]) Synchronously execute a commandline string on the shell.
push_file(source, dest_dir) If the source files dirpath is the same as dest_dir, a copy is not necessary, and nothing is done.

Attributes

script_dir This is a property.