summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/lwm2/package.py
blob: 31afff8816181bad6fda22d47ac836157499e690 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from spack import *

class Lwm2(Package):
    """LWM2: Light Weight Measurement Module.  This is a PMPI module
       that can collect a number of time-sliced MPI and POSIX I/O
       measurements from a program.
    """
    homepage = "https://jay.grs.rwth-aachen.de/redmine/projects/lwm2"

    version('torus', hg='https://jay.grs.rwth-aachen.de/hg/lwm2', revision='torus')

    depends_on("papi")
    depends_on("mpi")

    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix)
        make()
        make("install")