Skip to content

Instantly share code, notes, and snippets.

@freedomtowin
Last active June 15, 2018 04:40
Show Gist options
  • Save freedomtowin/028da4a3546ee84625d255d8565bd602 to your computer and use it in GitHub Desktop.
Save freedomtowin/028da4a3546ee84625d255d8565bd602 to your computer and use it in GitHub Desktop.
from ipyparallel import Client
rc = Client(profile='default')
dview = rc[:]
dview.block = True
with dview.sync_imports():
#for some reason, aliases cannot be use
import numpy
import scipy
kml = kernelml.KernelML()
kml.use_ipyparallel(dview)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment