Patronage & Donations
If you use the Slackware UK services on a regular basis, and would like to contribute to running costs, make a continuing patronage (and receive special benefits), or make a one off PayPal payment, please use one of the following buttons:
Patreon Logo
For regular monthly donations
PayPal Logo
For one time donations
All donations will be gratefully received - thank you!
Toggle theme:Toggle Theme Button
Content of directory's README

LAMMPS stands for Large-scale Atomic/Molecular Massively Parallel
Simulator.

It is a classical molecular dynamics simulation code designed to
run efficiently on parallel computers. It was developed at Sandia
National Laboratories, a US Department of Energy facility.

A basic installation of LAMMPS can be enhanced enabling the build of
internal or external extensions (named "modules" here and "packages")
in the source. These modules add methods and/or give support to third
parts libraries or platforms.

Dependencies strictly needed to build LAMMPS with most modules enabled
are already present in a full installation of Slackware 15.0 and the 
slackbuild can be launched without any other dependency not released
with the official Slackware. 

Other dependencies available in Slackbuilds.org are not strictly needed
but are recommended to enhance the functionality of LAMMPS. Without
these dependencies installed, LAMMPS will be built with reduced
functionality and with certain modules disabled. 

openmpi4 (or also openmpi on Slackware64) is strongly recommended since
LAMMPS takes advantage of the parallel computation. Furthermore it is
required to enable the modules OPENMP, LABOLTZ, and (maybe) INTEL.
Instead of openmpi LAMMPS can be build with the support of mpich. The
module LABOLTZ will be enabled but OPENMP will be disabled. If any
MPI platform is found in the system, LAMMPS will be built anyway but
with a reduced functionality.

Other dependencies (autodetected) needed to enable some modules are the
following:
- OpenBLAS:      optional to build the module ELECTRODE using the
                 system Lapack
- hdf5:          required to enable the module H5MD
- MDI-Library:   required for MDI
- n2p2:          required for ML-HDNNP
- netcdf:        required for NETCDF
. PLUMED:        required for PLUMED
- scafacos:      required for SCAFACOS
- python3-numpy: required for ML-IAP

Other modules require libraries or data that are compiled as internal
or bundle third parts modules in the build process. These extra sources
- listed in LAMMPS.info - must be downloaded to enable the modules that
depend on them. The download of these extra sources is not strictly
needed: to prevent the download of these extrafiles during the build,
the slackbuild disables the modules that depends on them if they are
not found. The extrafiles and related modules are the following:
- C_10_10.mesocnt:  required for MESONT (strongly recommended)
- lammps.user-pace: required for ML-PACE
- n2p2:             required for ML-HDNNP
- opencl-loader:    required if you enable GPU passing also the
                    environment variable STATIC_OCL=yes (see notes 1 in
                    Warnings)

Warnings: 
1. Except to GPU, all packages are enabled by default if no 
   dependencies are required or they dependencies are found in the
   system or are included in the extrafiles listed in LAMMPS.info and
   downloaded). 
   For GPU package you can try:
     GPU=yes ./lammps.SlackBuild
   or
     GPU=yes STATIC_OCL=yes ./lammps.SlackBuild
   The latter uses an internal static OpenCL loader downloaded as 
   extrafile, but note that this module could give issues depending
   on your hardware/software configuration (see notes in README.SBo). 
2. The Eigen3 package available in Slackware -current is not supported:
   the build of LAMMPS requires Eigen3 version 3.4.0 (available in
   Stable). If not found in the system, the build will use a bundle 
   Eigen3 as third part module. Users of -current have to download it
   as extrasource (listed in lammps.info).
   Obviously this extra source is not needed in Stable.
3. Some packages cannot be enabled in Slackware 32-bit (KOKKOS) or in
   Slackware -current (SCAFACOS and ML-HDNNP). See notes in README.SBo.

See README.SBo for a full list of available packages and their 
dependencies. 

Some packages available in the source of LAMMPS cannot be enabled for
reasons reported in README.SBo.  

Icon  Name                    Last modified      Size  Description
[<--] Parent Directory - [!!!] README 2026-11-21 02:07 3.9K [TXT] README.SBo 2026-11-21 02:07 12K [SPT] lammps.SlackBuild 2026-11-21 02:07 17K [   ] lammps.info 2026-11-21 02:07 856 [TXT] slack-desc 2023-09-03 03:44 864
Server (facade0) bandwidth utilisation
0  Bandwidth graph measuring   0.03 Gbit/s  10 Gbit/s