@@ -93,7 +93,7 @@ class NonDaemonPool(pool.Pool):
93
93
Process = NonDaemonProcess
94
94
95
95
96
- class MultiProcPlugin (DistributedPluginBase ):
96
+ class LegacyMultiProcPlugin (DistributedPluginBase ):
97
97
"""
98
98
Execute workflow with multiprocessing, not sending more jobs at once
99
99
than the system can support.
@@ -129,7 +129,7 @@ class MultiProcPlugin(DistributedPluginBase):
129
129
130
130
def __init__ (self , plugin_args = None ):
131
131
# Init variables and instance attributes
132
- super (MultiProcPlugin , self ).__init__ (plugin_args = plugin_args )
132
+ super (LegacyMultiProcPlugin , self ).__init__ (plugin_args = plugin_args )
133
133
self ._taskresult = {}
134
134
self ._task_obj = {}
135
135
self ._taskid = 0
@@ -149,7 +149,7 @@ def __init__(self, plugin_args=None):
149
149
True )
150
150
151
151
# Instantiate different thread pools for non-daemon processes
152
- logger .debug ('[MultiProc ] Starting in "%sdaemon" mode (n_procs=%d, '
152
+ logger .debug ('[LegacyMultiProc ] Starting in "%sdaemon" mode (n_procs=%d, '
153
153
'mem_gb=%0.2f, cwd=%s)' , 'non' * int (non_daemon ),
154
154
self .processors , self .memory_gb , self ._cwd )
155
155
@@ -191,7 +191,7 @@ def _submit_job(self, node, updatehash=False):
191
191
run_node , (node , updatehash , self ._taskid ),
192
192
callback = self ._async_callback )
193
193
194
- logger .debug ('[MultiProc ] Submitted task %s (taskid=%d).' ,
194
+ logger .debug ('[LegacyMultiProc ] Submitted task %s (taskid=%d).' ,
195
195
node .fullname , self ._taskid )
196
196
return self ._taskid
197
197
@@ -262,7 +262,7 @@ def _send_procs_to_workers(self, updatehash=False, graph=None):
262
262
tasks_list_msg += '\n ' .join (running_tasks )
263
263
tasks_list_msg = indent (tasks_list_msg , ' ' * 21 )
264
264
logger .info (
265
- '[MultiProc ] Running %d tasks, and %d jobs ready. Free '
265
+ '[LegacyMultiProc ] Running %d tasks, and %d jobs ready. Free '
266
266
'memory (GB): %0.2f/%0.2f, Free processors: %d/%d.%s' ,
267
267
len (self .pending_tasks ), len (jobids ), free_memory_gb ,
268
268
self .memory_gb , free_processors , self .processors ,
0 commit comments