You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the evolution of the energy, one can see that the total energy $E_\text{tot}$ is initially increasing with the deformation. When bonds break, the energy relaxes abruptly,
1651
+
Looking at the evolution of the energy, one can see that the total
1652
+
energy $E_\text{tot}$ is initially increasing with the deformation. When
1653
+
bonds break, the energy relaxes abruptly,
1659
1654
as can be seen near $t=110~\text{ps}$ and again near $t=130~\text{ps}$ in
1660
1655
Fig.\,\ref{fig:CNT-deformed-breakable}\,a. Using the same script as previously to
1661
1656
import the data into Python, the stress-strain
@@ -4453,31 +4448,28 @@ \subsection{Preferences}
4453
4448
\end{itemize}
4454
4449
See Ref.\,\citenum{lammps_gui_docs} for a full list of options.
4455
4450
4456
-
\section{Compiling LAMMPS from Source on Linux}
4457
-
\label{compiling-lammps-label}
4458
-
FIXME: add section
4459
-
4460
-
% AK: For beginner we recommend CMake and a current Linux OS (at least Ubuntu 22.04LTS, RHEL 9 (and Alma, or Rocky), Fedora 39)
4461
-
% The Linux system must support packages for software development installed and the corresponding development packages for compiling with MPI
4462
-
4463
-
% AK: a mostly complete list of packages for different Linux flavors can be inferred from singularity/apptainer container definition files in "tools/singularity"
4464
-
4465
-
%Depending on your operating system (i.e.~Linux, macOS, or Windows), the procedure may differ. LAMMPS must be compiled with the following packages:
4466
-
%\begin{itemize}
4467
-
%\item MANYBODY
4468
-
%\item MOLECULE
4469
-
%\item KSPACE
4470
-
%\item RIGID
4471
-
%\item REAXFF
4472
-
%\item EXTRA-DUMP
4473
-
%\end{itemize}
4474
-
4475
-
% AK: for non-Linux OS please refer to LAMMPS Manual.
4451
+
\section{Running LAMMPS via Command Line}
4452
+
\label{command-line-label}
4476
4453
4454
+
LAMMPS can be executed from the command line on Linux, macOS,
4455
+
as well as Windows. On Linux/macOS, first navigate to the directory containing
4456
+
the \flecmd{input.lmp} file and execute:
4457
+
\begin{lstlisting}
4458
+
lmp -in input.lmp
4459
+
\end{lstlisting}
4460
+
where \flecmd{lmp} is the LAMMPS executable.
4461
+
For parallel execution on 4 processors, use:
4462
+
\begin{lstlisting}[language=bash]
4463
+
mpirun -np 4 lmp -in input.lmp
4464
+
\end{lstlisting}
4465
+
On Windows, run the following command via Command Prompt or PowerShell:
4466
+
\begin{lstlisting}
4467
+
lmp.exe -in input.lmp
4468
+
\end{lstlisting}
4469
+
where \flecmd{lmp.exe} is the Windows executable version of LAMMPS. See
4470
+
Ref.\,\citenum{lammps_run_docs} for a complete description on how to run
0 commit comments