class parsl.channels.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.

  • 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


__init__([userhome, envs, script_dir]) Initialize the local channel.
abspath(path) Return the absolute path.
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.
isdir(path) Return true if the path refers to an existing directory.
makedirs(path[, mode, exist_ok]) Create a directory.
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.


script_dir This is a property.