forked from lijiext/lammps
Updated instructions in IPython notebooks
Make.py is now used to enable exceptions support
This commit is contained in:
parent
a4c8c9b1f9
commit
d3406df6a0
|
@ -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"
|
||||
]
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue