File: ipcluster_config.py

package info (click to toggle)
ipyparallel 9.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,388 kB
  • sloc: python: 22,769; javascript: 267; makefile: 29; sh: 28
file content (22 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import os

c = get_config()  # noqa

c.Cluster.controller_ip = '0.0.0.0'
c.Cluster.engine_launcher_class = 'SSH'

ssh_key = os.path.join(os.path.dirname(__file__), "id_rsa")
c.Cluster.controller_ip = '0.0.0.0'
c.Cluster.engine_launcher_class = 'SSH'
c.SSHEngineSetLauncher.scp_args = c.SSHLauncher.ssh_args = [
    "-o",
    "UserKnownHostsFile=/dev/null",
    "-o",
    "StrictHostKeyChecking=no",
    "-i",
    ssh_key,
]
c.SSHEngineSetLauncher.engines = {"ciuser@127.0.0.1:2222": 4}
c.SSHEngineSetLauncher.remote_python = "/opt/conda/bin/python3"
c.SSHEngineSetLauncher.remote_profile_dir = "/home/ciuser/.ipython/profile_default"
c.SSHEngineSetLauncher.engine_args = ['--debug']