Description
We need two kind of benchmarks:
- regression benchmarks check the speed of a given algorithm;
- comparison benchmark check the speed of a given simulation for comparison with other codes.
Benchmarks live in benches
, and can be run using a nighlty compiler with cargo bench
.
We currently have one regression benchmark for Ewald summation here; an,d one comparison benchmark against LAMMPS for the md simulation of Helium.
Here are some additional ideas:
Regression benchmarks
- Energy computation for a Lennard-Jones fluid
- Energy computation for a molecular fluid without charges (butane?)
- Energy computation for a charged system
- Energy computation for a molecular charged system
We already have energy computation for a molecular fluid with charges (water)
Simulation benchmarks
It would be nice to have all the combinations of MD/MC -- Lennard-Jones/butane/water -- NVE/NVT/NPT/μVT. Here is a full list:
- MD -- Lennard-Jones -- NVE
- MD -- Lennard-Jones -- NVT
- MD -- Lennard-Jones -- NPT
- MD -- butane -- NVE
- MD -- butane -- NVT
- MD -- butane -- NPT
- MD -- water -- NVE
- MD -- water -- NVT
- MD -- water -- NPT
- MC -- Lennard-Jones -- NVT
- MC -- Lennard-Jones -- NPT
- MC -- Lennard-Jones -- μVT
- MC -- butane -- NVT
- MC -- butane -- NPT
- MC -- butane -- μVT
- MC -- water -- NVT
- MC -- water -- NPT
- MC -- water -- μVT
That is already 18 different simulations, that we should compare against already existing MD and MC codes.
Maybe we can also have tests for bio-molecules, like a small peptide, DNA strand and a bigger protein.
Please comment with more ideas, and open PR to add the benchmarks!