<p><strong>Building LAMMPS with the OPT package:</strong></p>
<p>The lines above illustrate how to build LAMMPS with the OPT package in
two steps, using the “make” command. Or how to do it with one command
via the src/Make.py script, described in <aclass="reference internal"href="Section_start.html#start-4"><span>Section 2.4</span></a> of the manual. Type “Make.py -h” for
help.</p>
<p>Note that if you use an Intel compiler to build with the OPT package,
the CCFLAGS setting in your Makefile.machine must include “-restrict”.
The Make.py command will add this automatically.</p>
<p><strong>Run with the OPT package from the command line:</strong></p>
<p>As in the lines above, use the “-sf opt”<aclass="reference internal"href="Section_start.html#start-7"><span>command-line switch</span></a>, which will automatically append
“opt” to styles that support it.</p>
<p><strong>Or run with the OPT package by editing an input script:</strong></p>
<p>Use the <aclass="reference internal"href="suffix.html"><em>suffix opt</em></a> command, or you can explicitly add an
“opt” suffix to individual styles in your input script, e.g.</p>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.