{ "cells": [ { "cell_type": "markdown", "metadata": { "slideshow": { "slide_start": false } }, "source": [ "# Interactive monitoring of a parallel MPI simulation with the IPython Notebook" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false, "slideshow": { "slide_start": false } }, "outputs": [], "source": [ "%matplotlib inline\n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", "\n", "from IPython.display import display\n", "from IPython.parallel import Client, error\n", "\n", "cluster = Client(profile=\"mpi\")\n", "view = cluster[:]\n", "view.block = True" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/plain": [ "[0, 1, 2, 3]" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "cluster.ids" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_start": false } }, "source": [ "Now, we load the MPI libraries into the engine namespaces, and do a simple printing of their MPI rank information to verify that all nodes are operational and they match our cluster's real capacity. \n", "\n", "Here, we are making use of IPython's special `%%px` cell magic, which marks the entire cell for parallel execution. This means that the code below will not run in this notebook's kernel, but instead will be sent to *all* engines for execution there. In this way, IPython makes it very natural to control your entire cluster from within the notebook environment:" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": false, "slideshow": { "slide_start": false } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[stdout:0] MPI rank: 3/4\n", "[stdout:1] MPI rank: 2/4\n", "[stdout:2] MPI rank: 0/4\n", "[stdout:3] MPI rank: 1/4\n" ] } ], "source": [ "%%px\n", "# MPI initialization, library imports and sanity checks on all engines\n", "from mpi4py import MPI\n", "import numpy as np\n", "import time\n", "\n", "mpi = MPI.COMM_WORLD\n", "bcast = mpi.bcast\n", "barrier = mpi.barrier\n", "rank = mpi.rank\n", "print(\"MPI rank: %i/%i\" % (mpi.rank,mpi.size))" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_start": false } }, "source": [ "We write a utility that reorders a list according to the mpi ranks of the engines, since all gather operations will return data in engine id order, not in MPI rank order. We'll need this later on when we want to reassemble in IPython data structures coming from all the engines: IPython will collect the data ordered by engine ID, but our code creates data structures based on MPI rank, so we need to map from one indexing scheme to the other. This simple function does the job:" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "collapsed": false, "slideshow": { "slide_start": false } }, "outputs": [], "source": [ "ranks = view['rank']\n", "rank_indices = np.argsort(ranks)\n", "\n", "def mpi_order(seq):\n", " \"\"\"Return elements of a sequence ordered by MPI rank.\n", "\n", " The input sequence is assumed to be ordered by engine ID.\"\"\"\n", " return [seq[x] for x in rank_indices]" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_start": false } }, "source": [ "## MPI simulation example" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_start": false } }, "source": [ "This is our 'simulation', a toy example that computes $\\sin(f(x^2+y^2))$ for a slowly increasing frequency $f$ over a gradually refined mesh. In a real-world example, there typically is a 'simulate' method that, afer setting up initial parameters, runs the entire computation. But having this simple example will be sufficient to see something that changes visually as the computation evolves and that is quick enough for us to test.\n", "\n", "And while simple, this example has a realistic decomposition of the spatial domain in one array per MPI node that requires care in reordering the data for visualization, as would be needed in a real-world application (unless your code accumulates data in the rank 0 node that you can grab directly)." ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "collapsed": false, "slideshow": { "slide_start": false } }, "outputs": [], "source": [ "%%px\n", "\n", "stop = False\n", "nsteps = 100\n", "delay = 0.1\n", "\n", "xmin, xmax = 0, np.pi\n", "ymin, ymax = 0, 2*np.pi\n", "dy = (ymax-ymin)/mpi.size\n", "\n", "def simulation():\n", " \"\"\"Toy simulation code, computes sin(f*(x**2+y**2)) for a slowly increasing f\n", " over an increasingly fine mesh.\n", "\n", " The purpose of this code is simply to illustrate the basic features of a typical\n", " MPI code: spatial domain decomposition, a solution which is evolving in some \n", " sense, and local per-node computation. In this case the nodes don't really\n", " communicate at all.\n", " \"\"\"\n", " # By making these few variables global, we allow the IPython client to access them\n", " # remotely for interactive introspection\n", " global j, Z, nx, nyt\n", " freqs = np.linspace(0.6, 1, nsteps)\n", " for j in range(nsteps):\n", " nx, ny = 2+j/4, 2+j/2/mpi.size\n", " nyt = mpi.size*ny\n", " Xax = np.linspace(xmin, xmax, nx)\n", " Yax = np.linspace(ymin+rank*dy, ymin+(rank+1)*dy, ny, endpoint=rank==mpi.size)\n", " X, Y = np.meshgrid(Xax, Yax)\n", " f = freqs[j]\n", " Z = np.cos(f*(X**2 + Y**2))\n", " # We add a small delay to simulate that a real-world computation\n", " # would take much longer, and we ensure all nodes are synchronized\n", " time.sleep(delay)\n", " # The stop flag can be set remotely via IPython, allowing the simulation to be\n", " # cleanly stopped from the outside\n", " if stop:\n", " break" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_start": false } }, "source": [ "## IPython tools to interactively monitor and plot the MPI results" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_start": false } }, "source": [ "We now define a local (to this notebook) plotting function that fetches data from the engines' global namespace. Once it has retrieved the current state of the relevant variables, it produces and returns a figure:" ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "collapsed": false, "slideshow": { "slide_start": false } }, "outputs": [], "source": [ "from IPython.display import clear_output\n", "\n", "def plot_current_results(in_place=True):\n", " \"\"\"Makes a blocking call to retrieve remote data and displays the solution mesh\n", " as a contour plot.\n", " \n", " Parameters\n", " ----------\n", " in_place : bool\n", " By default it calls clear_output so that new plots replace old ones. Set\n", " to False to allow keeping of all previous outputs.\n", " \"\"\"\n", " \n", " # We make a blocking call to load the remote data from the simulation into simple named \n", " # variables we can read from the engine namespaces\n", " #view.apply_sync(load_simulation_globals)\n", " # And now we can use the view to read these variables from all the engines. Then we\n", " # concatenate all of them into single arrays for local plotting\n", " try:\n", " Z = np.concatenate(mpi_order(view['Z']))\n", " except ValueError:\n", " print(\"dimension mismatch in Z, not plotting\")\n", " ax = plt.gca()\n", " return ax.figure\n", " \n", " nx, nyt, j, nsteps = view.pull(['nx', 'nyt', 'j', 'nsteps'], targets=0)\n", " fig, ax = plt.subplots()\n", " ax.contourf(Z)\n", " ax.set_title('Mesh: %i x %i, step %i/%i' % (nx, nyt, j+1, nsteps))\n", " plt.axis('off')\n", " # We clear the notebook output before plotting this if in-place plot updating is requested\n", " if in_place:\n", " clear_output(wait=True)\n", " display(fig)\n", " return fig" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_start": false } }, "source": [ "It will also be useful to be able to check whether the simulation is still alive or not. Below we will wrap the main simulation function into a thread to allow IPython to pull data from the engines, and we will call this object `simulation_thread`. So to check whether the code is still running, all we have to do is call the `is_alive` method on all of our engines and see whether any of them returns True:" ] }, { "cell_type": "code", "execution_count": 7, "metadata": { "collapsed": false, "slideshow": { "slide_start": false } }, "outputs": [], "source": [ "def simulation_alive():\n", " \"\"\"Return True if the simulation thread is still running on any engine.\n", " \"\"\"\n", " return any(view.apply_sync(lambda : simulation_thread.is_alive()))" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_start": false } }, "source": [ "Finally, this is a convenience wrapper around the plotting code so that we can interrupt monitoring at any point, and that will provide basic timing information:" ] }, { "cell_type": "code", "execution_count": 8, "metadata": { "collapsed": false, "slideshow": { "slide_start": false } }, "outputs": [], "source": [ "def monitor_simulation(refresh=5.0, plots_in_place=True):\n", " \"\"\"Monitor the simulation progress and call plotting routine.\n", "\n", " Supress KeyboardInterrupt exception if interrupted, ensure that the last \n", " figure is always displayed and provide basic timing and simulation status.\n", "\n", " Parameters\n", " ----------\n", " refresh : float\n", " Refresh interval between calls to retrieve and plot data. The default\n", " is 5s, adjust depending on the desired refresh rate, but be aware that \n", " very short intervals will start having a significant impact.\n", "\n", " plots_in_place : bool\n", " If true, every new figure replaces the last one, producing a (slow)\n", " animation effect in the notebook. If false, all frames are plotted\n", " in sequence and appended in the output area.\n", " \"\"\"\n", " import datetime as dt, time\n", " \n", " if not simulation_alive():\n", " plot_current_results(in_place=plots_in_place)\n", " plt.close('all')\n", " print('Simulation has already finished, no monitoring to do.')\n", " return\n", " \n", " t0 = dt.datetime.now()\n", " fig = None\n", " try:\n", " while simulation_alive():\n", " fig = plot_current_results(in_place=plots_in_place)\n", " plt.close('all') # prevent re-plot of old figures\n", " time.sleep(refresh) # so we don't hammer the server too fast\n", " except (KeyboardInterrupt, error.TimeoutError):\n", " msg = 'Monitoring interrupted, simulation is ongoing!'\n", " else:\n", " msg = 'Simulation completed!'\n", " tmon = dt.datetime.now() - t0\n", " if plots_in_place and fig is not None:\n", " clear_output(wait=True)\n", " plt.close('all')\n", " display(fig)\n", " print(msg)\n", " print('Monitored for: %s.' % tmon)" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_start": false } }, "source": [ "## Making a simulation object that can be monitored interactively" ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "collapsed": false, "slideshow": { "slide_start": false } }, "outputs": [], "source": [ "%%px\n", "from threading import Thread\n", "stop = False\n", "nsteps = 100\n", "delay=0.5\n", "# Create a thread wrapper for the simulation. The target must be an argument-less\n", "# function so we wrap the call to 'simulation' in a simple lambda:\n", "simulation_thread = Thread(target = lambda : simulation())\n", "# Now we actually start the simulation\n", "simulation_thread.start()" ] }, { "cell_type": "code", "execution_count": 10, "metadata": { "collapsed": false, "slideshow": { "slide_start": false } }, "outputs": [ { "data": { "image/png": "iVBORw0KGgoAAAANSUhEUgAAAlMAAAGKCAYAAAAomMSSAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztvXvwnkV5//9+UkNOQAgQKAxnQjgIhFA5lNgQUvyGgA0e\nIAK1lFP40VoYEAsjh2GnxVq0RenUEUJQUQtKZ9IhQGxEAgQDgi0QkEkrIVBAwikRwYSEQPb3R/g8\n+Tyf53Tvfe/huvZ+v2Yc5Xn23t1g9vq8Ptde927DWmtBCCGEEEJKMSz1BAghhBBCNEOZIoQQQgip\nAGWKEEIIIaQClClCCCGEkApQpgghhBBCKkCZIoQQQgipAGWKEGW88MIL2HvvvVNPgwhk06ZNqadA\nSC2hTBFSAWMMhg0bhm9+85td28yfPx/Dhg3D2WefHXFmxXj22Wdx8sknY9y4cdhll11w1lln4bXX\nXuvY9oknnsCIESPwq1/9yvs8pk2bhmHDhrX85w/+4A86tn3llVewzTbb4Cc/+Yn3ecRm3rx52G+/\n/TBixAhMnDgRt956a8v3GzduxD/+4z9izz33xMiRIzFp0iTcc889Xfu77rrr8NWvfrXlsx/96EcY\nOXIkFi9e3Nb+nXfewbnnnovx48dj3LhxOOWUU/Dqq6+2tFm1ahU++9nPYty4cRg/fjzOO+88rF27\ntsKfmpD8oEwRUpFRo0bhlltu6fr9vHnzMHr0aDQajYiz6s/bb7+N448/HrvtthtWrFiBJ554Au+/\n/z4+9alPdWx/0UUX4eyzz8bBBx/sfS6NRgPz5s3Dpk2bmv/54IMPOra97LLLMGXKFMycOdP7PGJy\n3XXX4brrrsPNN9+MNWvWYO7cubj22mvxr//6r802F110EebPn4/58+dj9erV+Pu//3ucc845uPvu\nu9v6s9billtuwcknn9z87Otf/zr+5m/+BiNHjuw4h1NPPRW///3v8fTTT2PlypXYddddccIJJzT/\n3b/33nuYMWMGdt99dzz//PN46qmn8Pbbb2P27Nme/20QohxLCCmNMcZ++tOftmPHjrWPPPJI2/cv\nvfSS3WqrreyZZ55pzzrrLC9jPv/883avvfaq3M+9995rp06d2vLZ+vXr7YgRI+yyZctaPr/tttvs\ntttua19//fXK43Zi2rRp9pZbbunbbunSpXb48OH2mWee8T6H+++/306bNs17v51477337NZbb22X\nLFnS8vmDDz5ot9tuO/v+++/b3/zmN3bYsGH2xRdfbGlz66232oMOOqitz5/+9Kd2ypQpzX/+/ve/\nb3fZZRf71FNP2b322sved999Le0feughu/POO9v169e3fH7wwQfb22+/3Vpr7Q9+8AN72GGHtXy/\nbt06O378+I5/3wmpK8xMEVKRMWPG4IwzzsC8efPavvvOd76D448/HnvssUeCmfXm+OOPx4MPPtjy\n2YgRIzBq1KiW2pu1a9fisssuwxVXXIHx48cHm4/tc7PVpk2bcNFFF+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lnnolXX30VTz/9NBqNBj7zmc80+200GrjwwguxYcMGPPTQQ3jllVdw3nnnYebMmbjz\nzjs7zmWrrbbCZZddhjlz5uDhhx/GunXr8Mgjj2DOnDk4+uijsc0222C33XbDX/7lX2L27Nl4+umn\nsXbtWixatAiXXXYZZsyY0dLfd7/7XXzuc59ryzL14re//S223Xbbts+322675r/Xbm3Gjh3r9O+e\nkOxJucdIiHauueYa+/nPf95aa+2NN95ojzrqqOZ3p556qr3iiiustdZeeeWVLTVTRx99tL3//vtb\n+tqwYYPdeuut7erVq+2yZcvsmDFj7FtvvdU25vPPP28bjYZdvnx5y+e77rpr6VqiN9980x544IH2\nz/7sz1o+v/LKK+3w4cOtMcY+/vjjduHChfbwww+3J510Us/+Hn30UbvNNtvYW265xf7hH/6hfe21\n15zm86tf/coOHz7cPvfcc9Zaa2+++WbbaDTsRRddZB977DG7ePFi+6d/+qf2sMMOsxs3bizU51tv\nvWWHDRtmn3322Y7fd6qZOu200+x3v/vdtrb77bef/e///m9rrbXHHnusPf3009va3HTTTXbixIld\n57Np0yZ7/fXX2913392OGDHC7r///rbRaNj58+c322zYsMFeccUVdqeddrKjRo2yEyZMsMOGDbOP\nP/54Sz/77befffrpp7uO1almaubMmfamm25qa3vPPffYAw880Fpr7YEHHmgXLVrU1uZb3/qWnTlz\nZtfxCKkbzEwR4onTTz8dzzzzDJ555hm8+eabuOuuu3Deeee1tdu4cSMeffRRTJ8+veUogJEjR2Ld\nunVYvnw5DjnkEEyfPh0TJkzA2WefjR/+8IfYsGFDs48dd9wRBxxwQEu/e++9N1avXu0877Vr1+Kk\nk07CjjvuiDvuuKPlu0WLFuGSSy7BNddcg8mTJ2PmzJn4z//8Tzz44IN45JFHuvZ55JFH4gtf+ALO\nO+88XHfdddhpp52c5vTRj34U++yzDx577LHmPE499VTccMMNOOKII3Dcccfh7rvvxm9/+1v8+7//\ne6E+x44diwsuuACHH344TjvtNMydOxdvv/12z2ceeughnHPOOW3HNjz33HNYvnw5gM2ZqdNPP73t\n2U996lN49tln8cYbb3Tsu9Fo4JJLLsGLL76I9evXY+rUqTjmmGPw6U9/utlmq622wle+8hW89tpr\nWLduHfbZZx+cdtppLbVWixcvxo477uj8luW4cePwu9/9ru3zt956CzvssEPfNttvv73TeITkDGWK\nEE9su+22mD17Nm6++WZ8//vfx8c//vHm4ZpDj0VoNBp4+umnW44CGDgOYMqUKWg0GliwYAHuuusu\n7LvvvviHf/gHTJ06tVlHNGbMmLbxhw8f3reIeygbN27EKaecgk2bNmHhwoVtr9C//fbb+PjHP97y\n2fjx43HAAQf0rJl59913sWDBAhxyyCH4t3/7N6c5DbDVVls1z5rqNI+RI0fiiCOOwIoVKwr3+a1v\nfQs///nPccQRR2DevHmYPHlyR1kYYNiwYbjrrrs6/v/053/+5812rv/eh/LUU0/he9/7Hv7lX/6l\na5u7774bS5cuxde//vWWz+fOndtzC7Ub++67L5YtW9b2+ZNPPol99923b5sJEyY4j0lIrlCmCKnA\nUEmaM2cOfvCDH2DevHldf8ANHz4cxxxzDH74wx+2fP7BBx/gmWeeaf7z+++/j6OPPhpXXXUVli1b\nhuXLl+Opp57yNndrLc466yz85je/waJFi7D11lu3tdl///1b5gQA69atw8qVK7Hnnnt27fvSSy/F\nRz/6UTz00EP49a9/ja997Wtd2z733HP49re/3fLZypUrsWLFChx11FFd57Fp0yY888wzPYush/L+\n++/j0EMPxaWXXorHHnsMw4cPbxb2NxqNthPEjz322Lb/nwC0CIa1Fj/+8Y/b2tx5552YOHFioTcg\nL774Ypx11lk4/PDDO36/ceNGfOlLX8IVV1yBXXfdtfn5G2+8gfvvvx+nnXZa3zGGcsIJJ+BnP/sZ\n1q9f3/JnWbhwYfMMrxNOOKHtTKt169bhgQceUH/OFyFeSbrJSIhyBtdMDXDwwQfb8ePH2/fee6/5\n2dCaqV/+8pd2zJgx9pvf/KZdvXq1ff755+3s2bPtjBkzrLXWPvDAA3a//fazTz75pH333XftHXfc\nYUePHm1fe+21rudMTZs2zT7wwAPNf/785z9vv/GNb3Sd+5e//GU7YcIEu2rVqq5tHn/8cbv99tvb\nH//4x/btt9+2K1assCeffLL9xCc+0fWZBQsW2F122cWuXr3aWmvtz3/+cztq1Cj72GOPdWz/i1/8\nwm611Vb2G9/4hn3nnXfs448/bidPnmwvv/zyZpuXX37Z7rDDDvbb3/62XbNmjX355Zft+eefbw8+\n+GC7YcOGZrtTTz3V/tVf/VXHcX7961/b3XbbzT7wwAN2/fr19r777rPbbLONffLJJ6211v7P//yP\n3Xnnne3rr79u/+///s9aa+2LL75ox44da6+44gr76quv2lWrVtkLL7zQHnTQQfaDDz6w1m6umdpz\nzz3txRdfbFeuXGnXrFljb731Vrv99tvbO++8s+u/pwHmz59vt9tuO/vGG290bXP99dfbffbZp+XP\naq21X/va1+xf//Vf9x2jU82UtZvrpmbPnm1XrVplV69ebS+88EI7efLk5p9t48aN9tBDD7UXXXSR\nXbNmjX3llVfsKaecYj/5yU/2HZOQOkGZIqQCxhj7F3/xFy2f3XDDDfbSSy9t+eyqq66yZ599dstn\n//Vf/2X/5E/+xI4cOdLuvPPO9sILL7TvvPNO8/trr73W7rHHHnbkyJH2j/7oj+y9995rrd1cgL73\n3nu3zWXatGn2wQcfbP7zEUccYS+55JKuc582bZodNmyYbTQabf+59dZbm+0efvhhe8wxx9iRI0fa\nnXbayV5yySUt8xzMK6+8YnfaaSd7zz33tHx+9dVX2wkTJtjf//73HZ+799577ZFHHmlHjRpl99xz\nT3vDDTe0tVm+fLmdMWOGHT16tB03bpw9++yzWwrbN23aZHfccUf7s5/9rOufee7cuXbixIl25MiR\n9qCDDmoeTjnAOeecY0eMGGEPP/zw5mcrVqywJ554oh0zZozdfvvt7ZlnnmlfffXVln+Pd911l/3i\nF79od955Zzty5Eg7ZcqUQodabtiwwU6YMKGn9L755pt23Lhx9j/+4z/avtt///2bMtiLbjL1zjvv\n2HPPPdfusMMOduzYsfaUU05pe1lg1apV9rOf/awdO3as3WGHHex5551n165d23dMQupEw9qKm/2E\nECKAxx9/HJ/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yWkJUp2ylQeQg2UKSIGClUGGM/9UahEkDw7RZLERxaiF4cyRURBoXJDXHaKxIPZ\nqdpROD5KKkR3RekvUJQpIg4KlRvihMr46aaJ0uCaG1qzU9zq6w63+vxBmSIiEVGYrui3O6bja4rQ\ne81cYHbKjdhxkbGlGJQpIpqchUpi/RSzUzXDhOtaUnaqlij6ZbANheudMkXEQ6EqBrf7SGhCnTvl\nRInsFLf6uhPllzoTfojUUKYIKULNhIooom6F6EQcfIGFMkWUkDw7BehOmzvC7BTphtZC9Jxg3ZQ8\nKFNEDSKEKhDMThHiAAvRi1GjXwBTQ5kixIUaBSem7hWRwVt9oWHdVHdE1k0py0JTpogqmJ1SiPHc\nn7IgqwKTegKsmyK6oUwRdSQXKgXZKW71kZCwbooMpe6ZbMoUIaQrdQ+QqqjbVh/rpqLCX9B6Q5ki\nhBBCCKkAZYqoJPlWXyCyfavPeO6PdVOEEEFQpgghhBASHpN6AuGgTBFSBgVF6IRog2/0Fadwdr5g\nrMr2beJIUKYIIYRknTUYgGdNkVBQpohacq2bIkQDIi49JkQIDWutTT0JQgghhBCtMDNFCCGEEFIB\nyhQhhBBCSAUoU4QQQgghFaBMEUIIIYRUgDJFCCGEEFIByhQhhBBCSAUoU4QQQgghFaBMEUIIIYRU\ngDJFCCGEEFIByhQhhBBCSAUoU4QQQgghFaBMEUIIIYRUgDJFCCGEEFIByhQhhBBCSAUoU4QQQggh\nFaBMEUIIIYRUgDJFCCGEEFIByhQhhBBCSAUoU4QQQgghFaBMEUIIIYRUgDJFCCGEEFIByhQhhBBC\nSAUoU4QQQgghFfj/AcxNvvk8Uc7VAAAAAElFTkSuQmCC\n", "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "Simulation completed!\n", "Monitored for: 0:00:50.653178.\n" ] } ], "source": [ "monitor_simulation(refresh=1);" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_start": false } }, "source": [ "If you execute the following cell before the MPI code is finished running, it will stop the simulation at that point, which you can verify by calling the monitoring again:" ] }, { "cell_type": "code", "execution_count": 11, "metadata": { "collapsed": false, "slideshow": { "slide_start": false } }, "outputs": [], "source": [ "view['stop'] = True" ] }, { "cell_type": "code", "execution_count": 12, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "{\n", " \"stdin_port\": 65310, \n", " \"ip\": \"127.0.0.1\", \n", " \"control_port\": 58188, \n", " \"hb_port\": 58187, \n", " \"key\": \"e4f5cda8-faa8-48d3-a62c-dbde67db9827\", \n", " \"shell_port\": 65083, \n", " \"transport\": \"tcp\", \n", " \"iopub_port\": 54934\n", "}\n", "\n", "Paste the above JSON into a file, and connect with:\n", " $> ipython --existing \n", "or, if you are local, you can connect with just:\n", " $> ipython --existing kernel-64604.json \n", "or even just:\n", " $> ipython --existing \n", "if this is the most recent IPython session you have started.\n" ] } ], "source": [ "%%px --target 0\n", "from IPython.parallel import bind_kernel; bind_kernel()\n", "%connect_info" ] }, { "cell_type": "code", "execution_count": 13, "metadata": { "collapsed": false }, "outputs": [], "source": [ "%%px --target 0\n", "%qtconsole" ] } ], "metadata": {}, "nbformat": 4, "nbformat_minor": 0 }