technical:recipes:lammps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
technical:recipes:lammps [2025-11-04 11:39] freytechnical:recipes:lammps [2025-11-04 11:49] (current) frey
Line 197: Line 197:
  
 <note tip>Once a version/variant of LAMMPS has been built and used for research work, it is generally //not a good idea to modify it//.  In those instances, create a completely new variant/version.</note> <note tip>Once a version/variant of LAMMPS has been built and used for research work, it is generally //not a good idea to modify it//.  In those instances, create a completely new variant/version.</note>
 +
 +===== Activating LAMMPS packages =====
 +
 +Additional LAMMPS functionality exists in //packages// that need to be activated to be compiled into the software.  A list of packages can be displayed:
 +
 +<code bash>
 +[PROMPT]$ cd "${LAMMPS_PREFIX}/src/src"
 +[PROMPT]$ make ps
 +Installed  NO: package ADIOS
 +Installed  NO: package AMOEBA
 +Installed  NO: package APIP
 +Installed  NO: package ASPHERE
 +   :
 +Installed  NO: package VORONOI
 +Installed  NO: package VTK
 +Installed  NO: package YAFF
 +</code>
 +
 +One helpful package is the [[https://docs.lammps.org/Speed_intel.html|INTEL]] package, which contains a variety of optimizations tailored to Intel processors.  On Caviness -- which is built with Intel processors -- the package is enabled prior to ''make'':
 +
 +<code bash>
 +[PROMPT$ $ make yes-INTEL
 +Installing package INTEL
 +
 +[PROMPT]$ make caviness
 +</code>
 +
 +Hybrid parallelism can be enabled by activating the [[https://docs.lammps.org/Speed_omp.html|OPENMP]] package:
 +
 +<code bash>
 +[PROMPT$ $ make yes-OPENMP
 +Installing package OPENMP
 +
 +[PROMPT]$ make caviness
 +</code>
  
 ====== VALET package definition ====== ====== VALET package definition ======
  • technical/recipes/lammps.1762274391.txt.gz
  • Last modified: 2025-11-04 11:39
  • by frey