Show More
@@ -23,8 +23,8 b' c = get_config()' | |||||
23 | # - PBSControllerLauncher |
|
23 | # - PBSControllerLauncher | |
24 | # - SGEControllerLauncher |
|
24 | # - SGEControllerLauncher | |
25 | # - WindowsHPCControllerLauncher |
|
25 | # - WindowsHPCControllerLauncher | |
26 |
# c. |
|
26 | # c.IPClusterStartApp.controller_launcher = 'IPython.parallel.apps.launcher.LocalControllerLauncher' | |
27 |
# c. |
|
27 | # c.IPClusterStartApp.controller_launcher = 'IPython.parallel.apps.launcher.PBSControllerLauncher' | |
28 |
|
28 | |||
29 | # Options are: |
|
29 | # Options are: | |
30 | # - LocalEngineSetLauncher |
|
30 | # - LocalEngineSetLauncher | |
@@ -32,25 +32,25 b' c = get_config()' | |||||
32 | # - PBSEngineSetLauncher |
|
32 | # - PBSEngineSetLauncher | |
33 | # - SGEEngineSetLauncher |
|
33 | # - SGEEngineSetLauncher | |
34 | # - WindowsHPCEngineSetLauncher |
|
34 | # - WindowsHPCEngineSetLauncher | |
35 |
# c. |
|
35 | # c.IPClusterEnginesApp.engine_launcher = 'IPython.parallel.apps.launcher.LocalEngineSetLauncher' | |
36 |
|
36 | |||
37 | #----------------------------------------------------------------------------- |
|
37 | #----------------------------------------------------------------------------- | |
38 |
# |
|
38 | # Application configuration | |
39 | #----------------------------------------------------------------------------- |
|
39 | #----------------------------------------------------------------------------- | |
40 |
|
40 | |||
41 | # The default number of engines that will be started. This is overridden by |
|
41 | # The default number of engines that will be started. This is overridden by | |
42 | # the -n command line option: "ipcluster start -n 4" |
|
42 | # the -n command line option: "ipcluster start -n 4" | |
43 | # c.Global.n = 2 |
|
43 | # c.IPClusterEnginesApp.n = 2 | |
44 |
|
44 | |||
45 | # Log to a file in cluster_dir/log, otherwise just log to sys.stdout. |
|
45 | # Log to a file in cluster_dir/log, otherwise just log to sys.stdout. | |
46 |
# c. |
|
46 | # c.BaseParallelApp.log_to_file = False | |
47 |
|
47 | |||
48 | # Remove old logs from cluster_dir/log before starting. |
|
48 | # Remove old logs from cluster_dir/log before starting. | |
49 |
# c. |
|
49 | # c.BaseParallelApp.clean_logs = True | |
50 |
|
50 | |||
51 | # The working directory for the process. The application will use os.chdir |
|
51 | # The working directory for the process. The application will use os.chdir | |
52 | # to change to this directory before starting. |
|
52 | # to change to this directory before starting. | |
53 |
# c. |
|
53 | # c.BaseParallelApp.work_dir = os.getcwd() | |
54 |
|
54 | |||
55 |
|
55 | |||
56 | #----------------------------------------------------------------------------- |
|
56 | #----------------------------------------------------------------------------- |
@@ -3,54 +3,55 b' from IPython.config.loader import Config' | |||||
3 | c = get_config() |
|
3 | c = get_config() | |
4 |
|
4 | |||
5 | #----------------------------------------------------------------------------- |
|
5 | #----------------------------------------------------------------------------- | |
6 |
# |
|
6 | # Application configuration | |
7 | #----------------------------------------------------------------------------- |
|
7 | #----------------------------------------------------------------------------- | |
|
8 | app = c.IPControllerApp | |||
8 |
|
9 | |||
9 |
# Basic |
|
10 | # Basic Application config attributes | |
10 |
|
11 | |||
11 | # Start up messages are logged to stdout using the logging module. |
|
12 | # Start up messages are logged to stdout using the logging module. | |
12 | # These all happen before the twisted reactor is started and are |
|
13 | # These all happen before the twisted reactor is started and are | |
13 | # useful for debugging purposes. Can be (10=DEBUG,20=INFO,30=WARN,40=CRITICAL) |
|
14 | # useful for debugging purposes. Can be (10=DEBUG,20=INFO,30=WARN,40=CRITICAL) | |
14 | # and smaller is more verbose. |
|
15 | # and smaller is more verbose. | |
15 |
# |
|
16 | # app.log_level = 20 | |
16 |
|
17 | |||
17 | # Log to a file in cluster_dir/log, otherwise just log to sys.stdout. |
|
18 | # Log to a file in cluster_dir/log, otherwise just log to sys.stdout. | |
18 |
# |
|
19 | # app.log_to_file = False | |
19 |
|
20 | |||
20 | # Remove old logs from cluster_dir/log before starting. |
|
21 | # Remove old logs from cluster_dir/log before starting. | |
21 |
# |
|
22 | # app.clean_logs = True | |
22 |
|
23 | |||
23 | # A list of Python statements that will be run before starting the |
|
24 | # A list of Python statements that will be run before starting the | |
24 | # controller. This is provided because occasionally certain things need to |
|
25 | # controller. This is provided because occasionally certain things need to | |
25 | # be imported in the controller for pickling to work. |
|
26 | # be imported in the controller for pickling to work. | |
26 |
# |
|
27 | # app.import_statements = ['import math'] | |
27 |
|
28 | |||
28 | # Reuse the controller's JSON files. If False, JSON files are regenerated |
|
29 | # Reuse the controller's JSON files. If False, JSON files are regenerated | |
29 | # each time the controller is run. If True, they will be reused, *but*, you |
|
30 | # each time the controller is run. If True, they will be reused, *but*, you | |
30 | # also must set the network ports by hand. If set, this will override the |
|
31 | # also must set the network ports by hand. If set, this will override the | |
31 | # values set for the client and engine connections below. |
|
32 | # values set for the client and engine connections below. | |
32 |
# |
|
33 | # app.reuse_files = True | |
33 |
|
34 | |||
34 | # Enable exec_key authentication on all messages. Default is True |
|
35 | # Enable exec_key authentication on all messages. Default is True | |
35 |
# |
|
36 | # app.secure = True | |
36 |
|
37 | |||
37 | # The working directory for the process. The application will use os.chdir |
|
38 | # The working directory for the process. The application will use os.chdir | |
38 | # to change to this directory before starting. |
|
39 | # to change to this directory before starting. | |
39 |
# |
|
40 | # app.work_dir = os.getcwd() | |
40 |
|
41 | |||
41 | # The log url for logging to an `iploggerz` application. This will override |
|
42 | # The log url for logging to an `iploggerz` application. This will override | |
42 | # log-to-file. |
|
43 | # log-to-file. | |
43 |
# |
|
44 | # app.log_url = 'tcp://127.0.0.1:20202' | |
44 |
|
45 | |||
45 | # The specific external IP that is used to disambiguate multi-interface URLs. |
|
46 | # The specific external IP that is used to disambiguate multi-interface URLs. | |
46 | # The default behavior is to guess from external IPs gleaned from `socket`. |
|
47 | # The default behavior is to guess from external IPs gleaned from `socket`. | |
47 |
# |
|
48 | # app.location = '192.168.1.123' | |
48 |
|
49 | |||
49 | # The ssh server remote clients should use to connect to this controller. |
|
50 | # The ssh server remote clients should use to connect to this controller. | |
50 | # It must be a machine that can see the interface specified in client_ip. |
|
51 | # It must be a machine that can see the interface specified in client_ip. | |
51 | # The default for client_ip is localhost, in which case the sshserver must |
|
52 | # The default for client_ip is localhost, in which case the sshserver must | |
52 | # be an external IP of the controller machine. |
|
53 | # be an external IP of the controller machine. | |
53 |
# |
|
54 | # app.sshserver = 'controller.example.com' | |
54 |
|
55 | |||
55 | # the url to use for registration. If set, this overrides engine-ip, |
|
56 | # the url to use for registration. If set, this overrides engine-ip, | |
56 | # engine-transport client-ip,client-transport, and regport. |
|
57 | # engine-transport client-ip,client-transport, and regport. |
@@ -1,24 +1,25 b'' | |||||
1 | c = get_config() |
|
1 | c = get_config() | |
2 |
|
2 | |||
3 | #----------------------------------------------------------------------------- |
|
3 | #----------------------------------------------------------------------------- | |
4 |
# |
|
4 | # Application configuration | |
5 | #----------------------------------------------------------------------------- |
|
5 | #----------------------------------------------------------------------------- | |
|
6 | app = c.IPEngineApp | |||
6 |
|
7 | |||
7 | # Start up messages are logged to stdout using the logging module. |
|
8 | # Start up messages are logged to stdout using the logging module. | |
8 | # These all happen before the twisted reactor is started and are |
|
9 | # These all happen before the twisted reactor is started and are | |
9 | # useful for debugging purposes. Can be (10=DEBUG,20=INFO,30=WARN,40=CRITICAL) |
|
10 | # useful for debugging purposes. Can be (10=DEBUG,20=INFO,30=WARN,40=CRITICAL) | |
10 | # and smaller is more verbose. |
|
11 | # and smaller is more verbose. | |
11 |
# |
|
12 | # app.log_level = 20 | |
12 |
|
13 | |||
13 | # Log to a file in cluster_dir/log, otherwise just log to sys.stdout. |
|
14 | # Log to a file in cluster_dir/log, otherwise just log to sys.stdout. | |
14 |
# |
|
15 | # app.log_to_file = False | |
15 |
|
16 | |||
16 | # Remove old logs from cluster_dir/log before starting. |
|
17 | # Remove old logs from cluster_dir/log before starting. | |
17 |
# |
|
18 | # app.clean_logs = True | |
18 |
|
19 | |||
19 | # A list of strings that will be executed in the users namespace on the engine |
|
20 | # A list of strings that will be executed in the users namespace on the engine | |
20 | # before it connects to the controller. |
|
21 | # before it connects to the controller. | |
21 |
# |
|
22 | # app.exec_lines = ['import numpy'] | |
22 |
|
23 | |||
23 | # The engine will try to connect to the controller multiple times, to allow |
|
24 | # The engine will try to connect to the controller multiple times, to allow | |
24 | # the controller time to startup and write its FURL file. These parameters |
|
25 | # the controller time to startup and write its FURL file. These parameters | |
@@ -26,17 +27,17 b' c = get_config()' | |||||
26 | # (connect_delay) between attemps. The actual delay between attempts gets |
|
27 | # (connect_delay) between attemps. The actual delay between attempts gets | |
27 | # longer each time by a factor of 1.5 (delay[i] = 1.5*delay[i-1]) |
|
28 | # longer each time by a factor of 1.5 (delay[i] = 1.5*delay[i-1]) | |
28 | # those attemps. |
|
29 | # those attemps. | |
29 |
# |
|
30 | # app.connect_delay = 0.1 | |
30 |
# |
|
31 | # app.connect_max_tries = 15 | |
31 |
|
32 | |||
32 | # By default, the engine will look for the controller's JSON file in its own |
|
33 | # By default, the engine will look for the controller's JSON file in its own | |
33 | # cluster directory. Sometimes, the JSON file will be elsewhere and this |
|
34 | # cluster directory. Sometimes, the JSON file will be elsewhere and this | |
34 | # attribute can be set to the full path of the JSON file. |
|
35 | # attribute can be set to the full path of the JSON file. | |
35 |
# |
|
36 | # app.url_file = u'/path/to/my/ipcontroller-engine.json' | |
36 |
|
37 | |||
37 | # The working directory for the process. The application will use os.chdir |
|
38 | # The working directory for the process. The application will use os.chdir | |
38 | # to change to this directory before starting. |
|
39 | # to change to this directory before starting. | |
39 |
# |
|
40 | # app.work_dir = os.getcwd() | |
40 |
|
41 | |||
41 | #----------------------------------------------------------------------------- |
|
42 | #----------------------------------------------------------------------------- | |
42 | # MPI configuration |
|
43 | # MPI configuration | |
@@ -78,7 +79,7 b' c = get_config()' | |||||
78 |
|
79 | |||
79 | # You should not have to change these attributes. |
|
80 | # You should not have to change these attributes. | |
80 |
|
81 | |||
81 |
# |
|
82 | # app.url_file_name = u'ipcontroller-engine.furl' | |
82 |
|
83 | |||
83 |
|
84 | |||
84 |
|
85 |
General Comments 0
You need to be logged in to leave comments.
Login now