pgiri / dispy

Distributed and Parallel Computing Framework with / for Python
https://dispy.org
Other
266 stars 55 forks source link

How to print from compute() onto remote node terminal running dispynode? #131

Closed Kekushke closed 6 years ago

Kekushke commented 6 years ago

Quick question... On the remote nodes stdout and sterr gets re-directed, however, I would like to dump output of print statements in compute() onto remote terminal window runningdispynode -d during development/debug. Is there an easy way to do that...? Alternate method to print to print on node terminal will also help. May be there is something already in dispy that I am unaware of. Thank you!

pgiri commented 6 years ago

_dispy_logger can be used similar to print function, e.g., as _dispy_logger.info("n = %s" % n).

Kekushke commented 6 years ago

@pgiri Thank you for the note.