Files
lammps/doc/html/Commands_removed.html
2025-01-13 14:55:48 +00:00

356 lines
24 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>5.15. Removed commands and packages &mdash; LAMMPS documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/sphinx-design.min.css" type="text/css" />
<link rel="stylesheet" href="_static/css/lammps.css" type="text/css" />
<link rel="shortcut icon" href="_static/lammps.ico"/>
<link rel="canonical" href="https://docs.lammps.org/Commands_removed.html" />
<!--[if lt IE 9]>
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/design-tabs.js?v=f930bc37"></script>
<script async="async" src="_static/mathjax/es5/tex-mml-chtml.js?v=cadf963e"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="6. Optional packages" href="Packages.html" />
<link rel="prev" title="5.14. Dump styles" href="Commands_dump.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="Manual.html">
<img src="_static/lammps-logo.png" class="logo" alt="Logo"/>
</a>
<div class="lammps_version">Version: <b>19 Nov 2024</b></div>
<div class="lammps_release">git info: </div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">User Guide</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="Intro.html">1. Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="Install.html">2. Install LAMMPS</a></li>
<li class="toctree-l1"><a class="reference internal" href="Build.html">3. Build LAMMPS</a></li>
<li class="toctree-l1"><a class="reference internal" href="Run_head.html">4. Run LAMMPS</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="Commands.html">5. Commands</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="Commands_input.html">5.1. LAMMPS input scripts</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_parse.html">5.2. Parsing rules for input scripts</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_structure.html">5.3. Input script structure</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_category.html">5.4. Commands by category</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_all.html">5.5. General commands</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_fix.html">5.6. Fix styles</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_compute.html">5.7. Compute styles</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_pair.html">5.8. Pair styles</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_bond.html">5.9. Bond styles</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_bond.html#angle-styles">5.10. Angle styles</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_bond.html#dihedral-styles">5.11. Dihedral styles</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_bond.html#improper-styles">5.12. Improper styles</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_kspace.html">5.13. KSpace styles</a></li>
<li class="toctree-l2"><a class="reference internal" href="Commands_dump.html">5.14. Dump styles</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">5.15. Removed commands and packages</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#restart2data-tool">5.15.1. restart2data tool</a></li>
<li class="toctree-l3"><a class="reference internal" href="#fix-ave-spatial-and-fix-ave-spatial-sphere">5.15.2. Fix ave/spatial and fix ave/spatial/sphere</a></li>
<li class="toctree-l3"><a class="reference internal" href="#box-command">5.15.3. Box command</a></li>
<li class="toctree-l3"><a class="reference internal" href="#reset-ids-reset-atom-ids-reset-mol-ids-commands">5.15.4. Reset_ids, reset_atom_ids, reset_mol_ids commands</a></li>
<li class="toctree-l3"><a class="reference internal" href="#latte-package">5.15.5. LATTE package</a></li>
<li class="toctree-l3"><a class="reference internal" href="#meam-package">5.15.6. MEAM package</a></li>
<li class="toctree-l3"><a class="reference internal" href="#minimize-style-fire-old">5.15.7. Minimize style fire/old</a></li>
<li class="toctree-l3"><a class="reference internal" href="#pair-style-mesont-tpm-compute-style-mesont-atom-style-mesont">5.15.8. Pair style mesont/tpm, compute style mesont, atom style mesont</a></li>
<li class="toctree-l3"><a class="reference internal" href="#mpiio-package">5.15.9. MPIIO package</a></li>
<li class="toctree-l3"><a class="reference internal" href="#mscg-package">5.15.10. MSCG package</a></li>
<li class="toctree-l3"><a class="reference internal" href="#reax-package">5.15.11. REAX package</a></li>
<li class="toctree-l3"><a class="reference internal" href="#user-reaxc-package">5.15.12. USER-REAXC package</a></li>
<li class="toctree-l3"><a class="reference internal" href="#user-cuda-package">5.15.13. USER-CUDA package</a></li>
<li class="toctree-l3"><a class="reference internal" href="#i-pi-tool">5.15.14. i-PI tool</a></li>
<li class="toctree-l3"><a class="reference internal" href="#lammps-shell">5.15.15. LAMMPS shell</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Packages.html">6. Optional packages</a></li>
<li class="toctree-l1"><a class="reference internal" href="Speed.html">7. Accelerate performance</a></li>
<li class="toctree-l1"><a class="reference internal" href="Howto.html">8. Howto discussions</a></li>
<li class="toctree-l1"><a class="reference internal" href="Examples.html">9. Example scripts</a></li>
<li class="toctree-l1"><a class="reference internal" href="Tools.html">10. Auxiliary tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="Errors.html">11. Errors</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Programmer Guide</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="Library.html">1. LAMMPS Library Interfaces</a></li>
<li class="toctree-l1"><a class="reference internal" href="Python_head.html">2. Use Python with LAMMPS</a></li>
<li class="toctree-l1"><a class="reference internal" href="Modify.html">3. Modifying &amp; extending LAMMPS</a></li>
<li class="toctree-l1"><a class="reference internal" href="Developer.html">4. Information for Developers</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Command Reference</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="commands_list.html">Commands</a></li>
<li class="toctree-l1"><a class="reference internal" href="fixes.html">Fix Styles</a></li>
<li class="toctree-l1"><a class="reference internal" href="computes.html">Compute Styles</a></li>
<li class="toctree-l1"><a class="reference internal" href="pairs.html">Pair Styles</a></li>
<li class="toctree-l1"><a class="reference internal" href="bonds.html">Bond Styles</a></li>
<li class="toctree-l1"><a class="reference internal" href="angles.html">Angle Styles</a></li>
<li class="toctree-l1"><a class="reference internal" href="dihedrals.html">Dihedral Styles</a></li>
<li class="toctree-l1"><a class="reference internal" href="impropers.html">Improper Styles</a></li>
<li class="toctree-l1"><a class="reference internal" href="dumps.html">Dump Styles</a></li>
<li class="toctree-l1"><a class="reference internal" href="fix_modify_atc_commands.html">fix_modify AtC commands</a></li>
<li class="toctree-l1"><a class="reference internal" href="Bibliography.html">Bibliography</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="Manual.html">LAMMPS</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content style-external-links">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="Manual.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="Commands.html"><span class="section-number">5. </span>Commands</a></li>
<li class="breadcrumb-item active"><span class="section-number">5.15. </span>Removed commands and packages</li>
<li class="wy-breadcrumbs-aside">
<a href="https://www.lammps.org"><img src="_static/lammps-logo.png" width="64" height="16" alt="LAMMPS Homepage"></a> | <a href="Commands_all.html">Commands</a>
</li>
</ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation">
<a href="Commands_dump.html" class="btn btn-neutral float-left" title="5.14. Dump styles" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="Packages.html" class="btn btn-neutral float-right" title="6. Optional packages" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<p><span class="math notranslate nohighlight">\(\renewcommand{\AA}{\text{Å}}\)</span></p>
<section id="removed-commands-and-packages">
<h1><span class="section-number">5.15. </span>Removed commands and packages<a class="headerlink" href="#removed-commands-and-packages" title="Link to this heading"></a></h1>
<p>This page lists LAMMPS commands and packages that have been removed from
the distribution and provides suggestions for alternatives or
replacements. LAMMPS has special dummy styles implemented, that will
stop LAMMPS and print a suitable error message in most cases, when a
style/command is used that has been removed or will replace the command
with the direct alternative (if available) and print a warning.</p>
<section id="restart2data-tool">
<h2><span class="section-number">5.15.1. </span>restart2data tool<a class="headerlink" href="#restart2data-tool" title="Link to this heading"></a></h2>
<div class="versionchanged">
<p><span class="versionmodified changed">Changed in version 23Nov2013.</span></p>
</div>
<p>The functionality of the restart2data tool has been folded into the
LAMMPS executable directly instead of having a separate tool. A
combination of the commands <a class="reference internal" href="read_restart.html"><span class="doc">read_restart</span></a> and
<a class="reference internal" href="write_data.html"><span class="doc">write_data</span></a> can be used to the same effect. For
added convenience this conversion can also be triggered by
<a class="reference internal" href="Run_options.html"><span class="doc">command-line flags</span></a></p>
</section>
<section id="fix-ave-spatial-and-fix-ave-spatial-sphere">
<h2><span class="section-number">5.15.2. </span>Fix ave/spatial and fix ave/spatial/sphere<a class="headerlink" href="#fix-ave-spatial-and-fix-ave-spatial-sphere" title="Link to this heading"></a></h2>
<div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 11Dec2015.</span></p>
</div>
<p>The fixes ave/spatial and ave/spatial/sphere have been removed from LAMMPS
since they were superseded by the more general and extensible “chunk
infrastructure”. Here the system is partitioned in one of many possible
ways through the <a class="reference internal" href="compute_chunk_atom.html"><span class="doc">compute chunk/atom</span></a> command
and then averaging is done using <a class="reference internal" href="fix_ave_chunk.html"><span class="doc">fix ave/chunk</span></a>.
Please refer to the <a class="reference internal" href="Howto_chunk.html"><span class="doc">chunk HOWTO</span></a> section for an overview.</p>
</section>
<section id="box-command">
<h2><span class="section-number">5.15.3. </span>Box command<a class="headerlink" href="#box-command" title="Link to this heading"></a></h2>
<div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 22Dec2022.</span></p>
</div>
<p>The <em>box</em> command has been removed and the LAMMPS code changed so it wont
be needed. If present, LAMMPS will ignore the command and print a warning.</p>
</section>
<section id="reset-ids-reset-atom-ids-reset-mol-ids-commands">
<h2><span class="section-number">5.15.4. </span>Reset_ids, reset_atom_ids, reset_mol_ids commands<a class="headerlink" href="#reset-ids-reset-atom-ids-reset-mol-ids-commands" title="Link to this heading"></a></h2>
<div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 22Dec2022.</span></p>
</div>
<p>The <em>reset_ids</em>, <em>reset_atom_ids</em>, and <em>reset_mol_ids</em> commands have
been folded into the <a class="reference internal" href="reset_atoms.html"><span class="doc">reset_atoms</span></a> command. If
present, LAMMPS will replace the commands accordingly and print a
warning.</p>
</section>
<section id="latte-package">
<h2><span class="section-number">5.15.5. </span>LATTE package<a class="headerlink" href="#latte-package" title="Link to this heading"></a></h2>
<div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 15Jun2023.</span></p>
</div>
<p>The LATTE package with the fix latte command was removed from LAMMPS.
This functionality has been superseded by <a class="reference internal" href="fix_mdi_qm.html"><span class="doc">fix mdi/qm</span></a>
and <a class="reference internal" href="fix_mdi_qmmm.html"><span class="doc">fix mdi/qmmm</span></a> from the <a class="reference internal" href="Packages_details.html#pkg-mdi"><span class="std std-ref">MDI package</span></a>. These fixes are compatible with several quantum software
packages, including LATTE. See the <code class="docutils literal notranslate"><span class="pre">examples/QUANTUM</span></code> dir and the
<a class="reference internal" href="Howto_mdi.html"><span class="doc">MDI coupling HOWTO</span></a> page. MDI supports running LAMMPS
with LATTE as a plugin library (similar to the way fix latte worked), as
well as on a different set of MPI processors.</p>
</section>
<section id="meam-package">
<h2><span class="section-number">5.15.6. </span>MEAM package<a class="headerlink" href="#meam-package" title="Link to this heading"></a></h2>
<p>The MEAM package in Fortran has been replaced by a C++ implementation.
The code in the <a class="reference internal" href="Packages_details.html#pkg-meam"><span class="std std-ref">MEAM package</span></a> is a translation of the
Fortran code of MEAM into C++, which removes several restrictions
(e.g. there can be multiple instances in hybrid pair styles) and allows
for some optimizations leading to better performance. The pair style
<a class="reference internal" href="pair_meam.html"><span class="doc">meam</span></a> has the exact same syntax. For a transition
period the C++ version of MEAM was called USER-MEAMC so it could
coexist with the Fortran version.</p>
</section>
<section id="minimize-style-fire-old">
<h2><span class="section-number">5.15.7. </span>Minimize style fire/old<a class="headerlink" href="#minimize-style-fire-old" title="Link to this heading"></a></h2>
<div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 8Feb2023.</span></p>
</div>
<p>Minimize style <em>fire/old</em> has been removed. Its functionality can be
reproduced with <em>fire</em> with specific options. Please see the
<a class="reference internal" href="min_modify.html"><span class="doc">min_modify command</span></a> documentation for details.</p>
</section>
<section id="pair-style-mesont-tpm-compute-style-mesont-atom-style-mesont">
<h2><span class="section-number">5.15.8. </span>Pair style mesont/tpm, compute style mesont, atom style mesont<a class="headerlink" href="#pair-style-mesont-tpm-compute-style-mesont-atom-style-mesont" title="Link to this heading"></a></h2>
<div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 8Feb2023.</span></p>
</div>
<p>Pair style <em>mesont/tpm</em>, compute style <em>mesont</em>, and atom style
<em>mesont</em> have been removed from the <a class="reference internal" href="Packages_details.html#pkg-mesont"><span class="std std-ref">MESONT package</span></a>.
The same functionality is available through
<a class="reference internal" href="pair_mesocnt.html"><span class="doc">pair style mesocnt</span></a>,
<a class="reference internal" href="bond_mesocnt.html"><span class="doc">bond style mesocnt</span></a> and
<a class="reference internal" href="angle_mesocnt.html"><span class="doc">angle style mesocnt</span></a>.</p>
</section>
<section id="mpiio-package">
<h2><span class="section-number">5.15.9. </span>MPIIO package<a class="headerlink" href="#mpiio-package" title="Link to this heading"></a></h2>
<div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 21Nov2023.</span></p>
</div>
<p>The MPIIO package has been removed from LAMMPS since it was unmaintained
for many years and thus not updated to incorporate required changes that
had been applied to the corresponding non-MPIIO commands. As a
consequence the MPIIO commands had become unreliable and sometimes
crashing LAMMPS or corrupting data. Similar functionality is available
through the <a class="reference internal" href="Packages_details.html#pkg-adios"><span class="std std-ref">ADIOS package</span></a> and the <a class="reference internal" href="Packages_details.html#pkg-netcdf"><span class="std std-ref">NETCDF
package</span></a>. Also, the <a class="reference internal" href="dump_modify.html"><span class="doc">dump_modify nfile or dump_modify
fileper</span></a> keywords may be used for an efficient way of
writing out dump files when running on large numbers of processors.
Similarly, the “nfile” and “fileper” keywords exist for restarts:
see <a class="reference internal" href="restart.html"><span class="doc">restart</span></a>, <a class="reference internal" href="read_restart.html"><span class="doc">read_restart</span></a>,
<a class="reference internal" href="write_restart.html"><span class="doc">write_restart</span></a>.</p>
</section>
<section id="mscg-package">
<h2><span class="section-number">5.15.10. </span>MSCG package<a class="headerlink" href="#mscg-package" title="Link to this heading"></a></h2>
<div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 21Nov2023.</span></p>
</div>
<p>The MSCG package has been removed from LAMMPS since it was unmaintained
for many years and instead superseded by the <a class="reference external" href="https://software.rcc.uchicago.edu/mscg/">OpenMSCG software</a> of the Voth group at the
University of Chicago, which can be used independent from LAMMPS.</p>
</section>
<section id="reax-package">
<h2><span class="section-number">5.15.11. </span>REAX package<a class="headerlink" href="#reax-package" title="Link to this heading"></a></h2>
<p>The REAX package has been removed since it was superseded by the
<a class="reference internal" href="Packages_details.html#pkg-reaxff"><span class="std std-ref">REAXFF package</span></a>. The REAXFF package has been tested
to yield equivalent results to the REAX package, offers better
performance, supports OpenMP multi-threading via OPENMP, and GPU and
threading parallelization through KOKKOS. The new pair styles are not
syntax compatible with the removed reax pair style, so input files will
have to be adapted. The REAXFF package was originally called
USER-REAXC.</p>
</section>
<section id="user-reaxc-package">
<h2><span class="section-number">5.15.12. </span>USER-REAXC package<a class="headerlink" href="#user-reaxc-package" title="Link to this heading"></a></h2>
<div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 7Feb2024.</span></p>
</div>
<p>The USER-REAXC package has been renamed to <a class="reference internal" href="Packages_details.html#pkg-reaxff"><span class="std std-ref">REAXFF</span></a>.
In the process also the pair style and related fixes were renamed to use
the “reaxff” string instead of “reax/c”. For a while LAMMPS was maintaining
backward compatibility by providing aliases for the styles. These have
been removed, so using “reaxff” is now <em>required</em>.</p>
</section>
<section id="user-cuda-package">
<h2><span class="section-number">5.15.13. </span>USER-CUDA package<a class="headerlink" href="#user-cuda-package" title="Link to this heading"></a></h2>
<p>The USER-CUDA package had been removed, since it had been unmaintained
for a long time and had known bugs and problems. Significant parts of
the design were transferred to the
<a class="reference internal" href="Packages_details.html#pkg-kokkos"><span class="std std-ref">KOKKOS package</span></a>, which has similar
performance characteristics on NVIDIA GPUs. Both, the KOKKOS
and the <a class="reference internal" href="Packages_details.html#pkg-gpu"><span class="std std-ref">GPU package</span></a> are maintained
and allow running LAMMPS with GPU acceleration.</p>
</section>
<section id="i-pi-tool">
<h2><span class="section-number">5.15.14. </span>i-PI tool<a class="headerlink" href="#i-pi-tool" title="Link to this heading"></a></h2>
<div class="versionchanged">
<p><span class="versionmodified changed">Changed in version 27Jun2024.</span></p>
</div>
<p>The i-PI tool has been removed from the LAMMPS distribution. Instead,
instructions to install i-PI from PyPI via pip are provided.</p>
</section>
<section id="lammps-shell">
<h2><span class="section-number">5.15.15. </span>LAMMPS shell<a class="headerlink" href="#lammps-shell" title="Link to this heading"></a></h2>
<div class="versionchanged">
<p><span class="versionmodified changed">Changed in version 29Aug2024.</span></p>
</div>
<p>The LAMMPS shell has been removed from the LAMMPS distribution. Users
are encouraged to use the <a class="reference internal" href="Tools.html#lammps-gui"><span class="std std-ref">LAMMPS-GUI</span></a> tool instead.</p>
</section>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="Commands_dump.html" class="btn btn-neutral float-left" title="5.14. Dump styles" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="Packages.html" class="btn btn-neutral float-right" title="6. Optional packages" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>&#169; Copyright 2003-2025 Sandia Corporation.</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(false);
});
</script>
</body>
</html>