Updated instructions in IPython notebooks
Make.py is now used to enable exceptions support
This commit is contained in:
@ -26,10 +26,10 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"1. Download the latest version of LAMMPS into a folder (we will calls this `$LAMMPS_DIR` from now on)\n",
|
"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",
|
" ```bash\n",
|
||||||
" cd $LAMMPS_DIR/src\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",
|
" make mode=shlib auto\n",
|
||||||
" ```\n",
|
" ```\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -419,8 +419,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "markdown",
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"L.variables['fx'].value"
|
"L.variables['fx'].value"
|
||||||
]
|
]
|
||||||
|
|||||||
@ -26,11 +26,11 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"1. Download the latest version of LAMMPS into a folder (we will calls this `$LAMMPS_DIR` from now on)\n",
|
"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",
|
" ```bash\n",
|
||||||
" cd $LAMMPS_DIR/src\n",
|
" cd $LAMMPS_DIR/src\n",
|
||||||
" make yes-molecule\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",
|
" make mode=shlib auto\n",
|
||||||
" ```\n",
|
" ```\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
@ -26,10 +26,10 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"1. Download the latest version of LAMMPS into a folder (we will calls this `$LAMMPS_DIR` from now on)\n",
|
"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",
|
" ```bash\n",
|
||||||
" cd $LAMMPS_DIR/src\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",
|
" make mode=shlib auto\n",
|
||||||
" ```\n",
|
" ```\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user