summaryrefslogtreecommitdiff
path: root/homebrew/lammps/.beer
blob: 91d70afe3fcc37e788ba2668cf924d561a4bbb15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
    "name": "Lammps",
    "description": "Molecular Dynamics Simulator",
    "url": "https://lammps.sandia.gov/tars/lammps-12Dec18.tar.gz",
    "mirror": null,
    "homepage": "https://lammps.sandia.gov/",
    "depends": [
        {
            "depend": "fftw",
            "build-depend": false
        },
        {
            "depend": "gcc",
            "build-depend": false
        },
        {
            "depend": "jpeg",
            "build-depend": false
        },
        {
            "depend": "libpng",
            "build-depend": false
        },
        {
            "depend": "open-mpi",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "%w[serial mpi].each do |variant|",
        "cd \"src\" do",
        "system \"make\", \"clean-all\"",
        "system \"make\", \"yes-standard\"",
        "%w[gpu kim kokkos latte mscg meam message mpiio poems reax voronoi].each do |package|",
        "system \"make\", \"no-#{package}\""
    ],
    "version": "-12",
    "file": "lammps.rb"
}