From d3406df6a0ca6871402c4cf02411fcf5a51d5b1e Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Wed, 21 Sep 2016 12:07:24 -0400 Subject: [PATCH] Updated instructions in IPython notebooks Make.py is now used to enable exceptions support --- python/examples/ipython/interface_usage.ipynb | 8 +++++--- python/examples/ipython/interface_usage_bonds.ipynb | 4 ++-- python/examples/ipython/simple.ipynb | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/python/examples/ipython/interface_usage.ipynb b/python/examples/ipython/interface_usage.ipynb index e70f0871bb..e716db7a9e 100644 --- a/python/examples/ipython/interface_usage.ipynb +++ b/python/examples/ipython/interface_usage.ipynb @@ -26,10 +26,10 @@ "metadata": {}, "source": [ "1. Download the latest version of LAMMPS into a folder (we will calls this `$LAMMPS_DIR` from now on)\n", - "2. Compile LAMMPS as a shared library and enable PNG support\n", + "2. Compile LAMMPS as a shared library and enable exceptions and PNG support\n", " ```bash\n", " cd $LAMMPS_DIR/src\n", - " python2 Make.py -m mpi -png -a file\n", + " python Make.py -m mpi -png -s exceptions -a file\n", " make mode=shlib auto\n", " ```\n", "\n", @@ -419,8 +419,10 @@ ] }, { - "cell_type": "markdown", + "cell_type": "code", + "execution_count": null, "metadata": {}, + "outputs": [], "source": [ "L.variables['fx'].value" ] diff --git a/python/examples/ipython/interface_usage_bonds.ipynb b/python/examples/ipython/interface_usage_bonds.ipynb index d34b992b8c..f6a4adcb3b 100644 --- a/python/examples/ipython/interface_usage_bonds.ipynb +++ b/python/examples/ipython/interface_usage_bonds.ipynb @@ -26,11 +26,11 @@ "metadata": {}, "source": [ "1. Download the latest version of LAMMPS into a folder (we will calls this `$LAMMPS_DIR` from now on)\n", - "2. Compile LAMMPS as a shared library and enable PNG support\n", + "2. Compile LAMMPS as a shared library and enable exceptions and PNG support\n", " ```bash\n", " cd $LAMMPS_DIR/src\n", " make yes-molecule\n", - " python2 Make.py -m mpi -png -a file\n", + " python Make.py -m mpi -png -s exceptions -a file\n", " make mode=shlib auto\n", " ```\n", "\n", diff --git a/python/examples/ipython/simple.ipynb b/python/examples/ipython/simple.ipynb index 0a585629df..8382884325 100644 --- a/python/examples/ipython/simple.ipynb +++ b/python/examples/ipython/simple.ipynb @@ -26,10 +26,10 @@ "metadata": {}, "source": [ "1. Download the latest version of LAMMPS into a folder (we will calls this `$LAMMPS_DIR` from now on)\n", - "2. Compile LAMMPS as a shared library and enable PNG support\n", + "2. Compile LAMMPS as a shared library and enable exceptions and PNG support\n", " ```bash\n", " cd $LAMMPS_DIR/src\n", - " python2 Make.py -m mpi -png -a file\n", + " python Make.py -m mpi -png -s exceptions -a file\n", " make mode=shlib auto\n", " ```\n", "\n",