We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The IPythonClient instantiation in cleanup_all in ipython_cleanup.py is problematic since the default profile is used:
IPythonClient
cleanup_all
ipython_cleanup.py
def cleanup_all(module_name, prefix): """ Connects to all engines and runs ``cleanup()`` on them. """ c = IPythonClient() if c is None: return try: v = c[:] cleanup(v, module_name, prefix) finally: c.close()
Create a new ipython profile distarray
distarray
$ ipython profile create --parallel --profile=distarray
Start up controller
$ ipcontroller --ip='*' --profile=distarray
and engine
$ ipcluster engines -n 1 --profile=distarray
The run the following script
import numpy as np import distarray.globalapi from distarray.globalapi import Context, Distribution from distarray.globalapi.ipython_utils import IPythonClient as Client context = Context(client=Client(profile='distarray'))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
The
IPythonClient
instantiation incleanup_all
inipython_cleanup.py
is problematic since the default profile is used:Steps to Reproduce
Create a new ipython profile
distarray
Start up controller
$ ipcontroller --ip='*' --profile=distarray
and engine
The run the following script
The text was updated successfully, but these errors were encountered: