LAMMPS Molecular Dynamics Simulator

LAMMPS is a classical molecular dynamics code, and an acronym for Large-scale Atomic/Molecular Massively Parallel Simulator.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark lammps.

Project Site

lammps.org

Source Repository

github.com

Test Created

10 June 2012

Last Updated

20 July 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 14 Seconds

Average Run Time

7 Minutes, 13 Seconds

Test Dependencies

Fortran + OpenMPI + FFTW + CMake + C/C++ Compiler Toolchain

Accolades

150k+ Downloads

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsLAMMPS Molecular Dynamics Simulator Popularity Statisticspts/lammps2012.062012.102013.022013.062013.102014.022014.062014.102015.022015.062015.102016.022016.062016.102017.022017.062017.102018.022018.062018.102019.022019.062019.102020.022020.062020.102021.022021.062021.102022.022022.062022.102023.022023.062023.102024.024K8K12K16K20K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 21 April 2024.
Rhodopsin Protein54.1%20k Atoms45.9%Model Option PopularityOpenBenchmarking.org

Revision History

pts/lammps-1.4.0   [View Source]   Wed, 20 Jul 2022 08:45:02 GMT
Update against LAMMPS 23Jun2022 upstream.

pts/lammps-1.3.2   [View Source]   Tue, 12 Jan 2021 10:27:58 GMT
LAMMPS works fine on macOS.

pts/lammps-1.3.1   [View Source]   Sun, 10 Jan 2021 20:50:23 GMT
Update download mirror that is iffy.

pts/lammps-1.3.0   [View Source]   Thu, 29 Oct 2020 10:11:23 GMT
Update against LAMMPS 29Oct2020.

pts/lammps-1.2.1   [View Source]   Fri, 18 Sep 2020 21:09:08 GMT
Add back Rhodopsin Protein for those wanting the easier model.

pts/lammps-1.2.0   [View Source]   Fri, 18 Sep 2020 20:40:07 GMT
Update against LAMMPS 24Aug2020 latest release, also add more intense input file for working better on modern systems.

pts/lammps-1.1.0   [View Source]   Fri, 10 Jan 2020 20:05:05 GMT
Update against latest upstream lammps and other improvements to the script.

pts/lammps-1.0.1   [View Source]   Tue, 01 Mar 2016 08:59:37 GMT
Update download links.

pts/lammps-1.0.0   [View Source]   Sun, 10 Jun 2012 21:13:02 GMT
Initial commit of the MPI LAMMPS program from the Sandia National Laboratories.

Suites Using This Test

C/C++ Compiler Tests

Multi-Core

HPC - High Performance Computing

CPU Massive

Molecular Dynamics

Scientific Computing

MPI Benchmarks


Performance Metrics

Analyze Test Configuration:

LAMMPS Molecular Dynamics Simulator 29Oct2020

Model: 20k Atoms

OpenBenchmarking.org metrics for this test profile configuration based on 1,108 public results since 29 October 2020 with the latest data as of 21 February 2023.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
ns/day (Average)
98th
29
36.5 +/- 0.6
93rd
46
35.6 +/- 0.7
87th
9
33.0 +/- 2.9
86th
21
32.1 +/- 0.7
81st
23
29.4 +/- 0.5
80th
14
29.2 +/- 0.5
79th
12
28.8 +/- 2.7
77th
37
27.2 +/- 1.9
76th
8
27.1 +/- 0.4
76th
5
27.0 +/- 0.1
Mid-Tier
75th
< 26.9
73rd
16
26.1 +/- 0.3
72nd
6
26.0 +/- 0.8
70th
5
25.3 +/- 0.1
66th
24
25.0 +/- 0.2
65th
7
24.8 +/- 0.2
65th
8
24.7 +/- 0.2
64th
4
24.3 +/- 0.2
63rd
16
23.8 +/- 0.6
63rd
4
23.7 +/- 0.3
61st
6
23.0 +/- 0.2
60th
5
22.5 +/- 0.1
59th
13
22.3 +/- 0.6
59th
5
22.1 +/- 0.1
57th
23
21.9 +/- 0.2
56th
3
20.6 +/- 0.1
55th
8
20.5 +/- 0.2
54th
16
19.9 +/- 0.2
53rd
4
18.6 +/- 0.8
52nd
7
18.3 +/- 0.1
51st
8
18.1 +/- 0.1
Median
50th
18.0
50th
6
17.8 +/- 0.5
50th
9
17.8 +/- 0.2
50th
5
17.7 +/- 0.1
49th
4
17.6 +/- 0.2
48th
10
17.4 +/- 0.2
45th
3
16.3 +/- 0.1
44th
6
16.0 +/- 0.7
44th
3
15.9 +/- 0.1
44th
10
15.9 +/- 1.4
44th
4
15.9 +/- 0.2
43rd
5
15.7 +/- 0.1
42nd
7
15.3 +/- 0.6
41st
6
13.8 +/- 0.4
39th
15
13.2 +/- 0.3
38th
4
12.7 +/- 1.3
36th
7
12.1 +/- 0.1
36th
3
12.0 +/- 0.1
34th
3
11.4 +/- 0.1
34th
15
11.3 +/- 1.5
34th
8
11.2 +/- 0.1
32nd
22
10.7 +/- 0.4
32nd
4
10.7 +/- 0.1
30th
3
9.8 +/- 0.1
29th
10
9.5 +/- 0.4
29th
4
9.4 +/- 0.9
26th
6
8.5 +/- 0.1
26th
13
8.5 +/- 0.2
Low-Tier
25th
< 8.3
23rd
8
7.7 +/- 0.1
22nd
12
7.2 +/- 0.4
22nd
6
7.0 +/- 0.1
20th
6
6.7 +/- 0.1
19th
12
6.6 +/- 0.1
18th
6
6.5 +/- 0.3
17th
9
6.0 +/- 0.1
12th
8
4.6 +/- 0.1
11th
7
4.3 +/- 0.1
8th
3
3.8 +/- 0.1
3rd
3
1.9 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Model: 20k Atoms1108 Results Range From 0 To 48 ns/day48121620242832364044484080120160200

Based on OpenBenchmarking.org data, the selected test / test configuration (LAMMPS Molecular Dynamics Simulator 29Oct2020 - Model: 20k Atoms) has an average run-time of 45 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkModel: 20k AtomsRun-Time4080120160200Min: 9 / Avg: 44.57 / Max: 230

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.1%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsModel: 20k AtomsDeviation246810Min: 0 / Avg: 0.13 / Max: 2

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseLAMMPS Molecular Dynamics Simulator CPU Core ScalingModel: 20k Atoms4681216243248641282.474.947.419.8812.35

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
COMISD UCOMISD ADDSD MULSD MOVUPD ADDPD MAXSD MOVLPD MOVDQU MOVD CVTPS2PD CVTSS2SD PSHUFD MOVDQA DIVSD MOVAPD SUBSD CVTSI2SD SQRTSD XORPD PUNPCKLQDQ CVTSD2SS MOVMSKPD ANDPD UNPCKLPD CVTTSD2SI PMULUDQ PADDQ PSRLDQ MINSD ANDNPD CMPNLESD ORPD SHUFPD MULPD MOVHPD SUBPD DIVPD UNPCKHPD CVTDQ2PD CMPLESD CMPLTSD CVTPD2PS CVTDQ2PS CMPNLTSD CVTTPD2DQ PUNPCKHQDQ CMPLTPD CMPNEQPD MINPD CMPNLEPD PSUBQ PSLLDQ CMPEQPD
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VINSERTF128 VEXTRACTF128 VBROADCASTSD VPERM2F128 VBROADCASTSS VPERMILPD
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPGATHERQQ VPGATHERQD VPBROADCASTD VPBROADCASTQ VPERMQ VINSERTI128 VEXTRACTI128 VPMASKMOVD VPGATHERDD VPGATHERDQ VPERM2I128 VPBLENDD VGATHERQPD VPERMPD VPBROADCASTB VPERMD
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD213SD VFMADD231SD VFMADD132SD VFNMADD132SD VFMSUB231SD VFMSUB132SD VFNMADD231SD VFMADD213PD VFMADD132PD VFMADD231PD VFMSUB213SD VFNMADD132PD VFNMADD213SD VFMSUB231PD VFNMADD231PD VFMSUB132PD VFNMSUB132SD VFNMADD213PD VFNMSUB231SD VFNMSUB213SD VFNMSUB132PD VFNMSUB231PD VFMSUB213PD VFNMSUB213PD
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 26 July 2022

This test profile binary relies on the shared libraries libmpi.so.40, libjpeg.so.8, libpng16.so.16, libfftw3.so.3, libm.so.6, libc.so.6, libopen-rte.so.40, libopen-pal.so.40, libhwloc.so.15, libz.so.1, libgomp.so.1, libudev.so.1.

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 44-Core
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000LL
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 80-Core, ARMv8 Neoverse-V1, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere ARMv8 Neoverse-N1 256-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 80-Core, Ampere eMAG ARMv8 32-Core