experiment¶
-
class
pydsef.experiment.
Experiment
(hostname, username, dist_sys, conf, port=18861, max_retries=10)[source]¶ Class to configure and run experiments.
-
exec_command
(cmd, block=True)[source]¶ Executes a command on the master node. If block is True, wait until command finishes and return stdout, otherwise exit immediately and return (stdin, stdout, stderr)
-
make_timestamped_dir
(name)[source]¶ Makes a directory with a timestamp that is used for storing logs and archives from an experiment.
-
pull_archives
(files)[source]¶ Pulls archives created on the master node into a timestamped ‘archives’ directory on the Jupyter server.
-
read
()[source]¶ Read all output from the stdout and stderr of the RPyC server running on the master node.
-