()
| 56 | |
| 57 | |
| 58 | def MpiShell(): |
| 59 | import code |
| 60 | try: |
| 61 | import readline |
| 62 | import rlcompleter |
| 63 | readline.parse_and_bind("tab:complete") # autocomplete |
| 64 | except: |
| 65 | try: |
| 66 | import pyreadline as readline |
| 67 | import rlcompleter |
| 68 | readline.parse_and_bind("tab:complete") # autocomplete |
| 69 | except: |
| 70 | print('readline not found') |
| 71 | vars2 = globals() |
| 72 | vars2.update(locals()) |
| 73 | mshell = InteractiveMPIConsole(vars2) |
| 74 | mshell.interact() |
| 75 | |
| 76 | def startConsole(vars2): |
| 77 | try: |
nothing calls this directly
no test coverage detected