From 59f598dfe82e1acec2c14443c74f38ba67d90d8d Mon Sep 17 00:00:00 2001 From: rafael Date: Fri, 3 Feb 2023 14:33:34 +0100 Subject: [PATCH] update ipcmagic syntax --- .../ipcmagic/src/tf-hvd-sgd-ipc-tf2.ipynb | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/hpctestlib/interactive/jupyter/ipcmagic/src/tf-hvd-sgd-ipc-tf2.ipynb b/hpctestlib/interactive/jupyter/ipcmagic/src/tf-hvd-sgd-ipc-tf2.ipynb index e1918de1d1..0ca1d6676c 100644 --- a/hpctestlib/interactive/jupyter/ipcmagic/src/tf-hvd-sgd-ipc-tf2.ipynb +++ b/hpctestlib/interactive/jupyter/ipcmagic/src/tf-hvd-sgd-ipc-tf2.ipynb @@ -25,7 +25,7 @@ "metadata": {}, "outputs": [], "source": [ - "%ipcluster start -n 2 --mpi" + "%ipcluster start -n 2" ] }, { @@ -43,7 +43,7 @@ "metadata": {}, "outputs": [], "source": [ - "%ipcluster start -n 2 --mpi" + "%ipcluster start -n 2" ] }, { @@ -52,7 +52,7 @@ "metadata": {}, "outputs": [], "source": [ - "%ipcluster start -n 2 --mpi" + "%ipcluster start -n 2" ] }, { @@ -61,7 +61,7 @@ "metadata": {}, "outputs": [], "source": [ - "%ipcluster start -n 2 --mpi" + "%ipcluster start -n 2" ] }, { @@ -70,7 +70,7 @@ "metadata": {}, "outputs": [], "source": [ - "%ipcluster start -n 2 --mpi" + "%ipcluster start -n 2" ] }, { @@ -94,6 +94,15 @@ "print('cluster ids:', c.ids)" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "c.close()" + ] + }, { "cell_type": "code", "execution_count": null,