Hi Jeet,
Thanks for the hotfix.
I will try to use the updated version of the program soon.
I have another problem related to using sumtrees with my PC.
So far I have been using the program with a cluster which has handled multiprocessing no problem with mpi.
However, when I try to run sumtrees in command prompt on my PC, I can not declare the -m option, or I get the following output:
SumTrees: Creating work queue ...
SumTrees: Launching worker processes ...
Process SplitCountingWorker-1:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 132, in
run
self.send_info("Received task: '%s'." % source, wrap=False)
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 118, in
send_info
self.send_message(msg, ConsoleMessenger.INFO_MESSAGING_LEVEL, wrap=wrap)
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 113, in
send_message
self.messenger.send(msg, level=level, wrap=wrap)
File "c:\users\vertpaleo\dendropy\dendropy\utility\messaging.py", line 151, in
send
self.primary_out.write(msg)
ValueError: I/O operation on closed file
Process SplitCountingWorker-2:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 132, in
run
self.send_info("Received task: '%s'." % source, wrap=False)
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 118, in
send_info
self.send_message(msg, ConsoleMessenger.INFO_MESSAGING_LEVEL, wrap=wrap)
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 113, in
send_message
self.messenger.send(msg, level=level, wrap=wrap)
File "c:\users\vertpaleo\dendropy\dendropy\utility\messaging.py", line 151, in
send
self.primary_out.write(msg)
ValueError: I/O operation on closed file
Process SplitCountingWorker-3:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 132, in
run
self.send_info("Received task: '%s'." % source, wrap=False)
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 118, in
send_info
self.send_message(msg, ConsoleMessenger.INFO_MESSAGING_LEVEL, wrap=wrap)
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 113, in
send_message
self.messenger.send(msg, level=level, wrap=wrap)
File "c:\users\vertpaleo\dendropy\dendropy\utility\messaging.py", line 151, in
send
self.primary_out.write(msg)
ValueError: I/O operation on closed file
Process SplitCountingWorker-4:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 132, in
run
self.send_info("Received task: '%s'." % source, wrap=False)
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 118, in
send_info
self.send_message(msg, ConsoleMessenger.INFO_MESSAGING_LEVEL, wrap=wrap)
File "C:\Users\VertPaleo\DendroPy\scripts\sumtrees\sumtrees.py", line 113, in
send_message
self.messenger.send(msg, level=level, wrap=wrap)
File "c:\users\vertpaleo\dendropy\dendropy\utility\messaging.py", line 151, in
send
self.primary_out.write(msg)
ValueError: I/O operation on closed file
Now, I'm not well versed in python or windows command prompt. Is there some quick and easy way to run sumtrees with multiple processors on my PC?
Thanks,
Will