Spack packages now PEP8 compliant.
This commit is contained in:
@@ -25,7 +25,23 @@
|
||||
from spack import *
|
||||
|
||||
# typical working line with extrae 3.0.1
|
||||
# ./configure --prefix=/usr/local --with-mpi=/usr/lib64/mpi/gcc/openmpi --with-unwind=/usr/local --with-papi=/usr --with-dwarf=/usr --with-elf=/usr --with-dyninst=/usr --with-binutils=/usr --with-xml-prefix=/usr --enable-openmp --enable-nanos --enable-pthread --disable-parallel-merge LDFLAGS=-pthread
|
||||
# ./configure
|
||||
# --prefix=/usr/local
|
||||
# --with-mpi=/usr/lib64/mpi/gcc/openmpi
|
||||
# --with-unwind=/usr/local
|
||||
# --with-papi=/usr
|
||||
# --with-dwarf=/usr
|
||||
# --with-elf=/usr
|
||||
# --with-dyninst=/usr
|
||||
# --with-binutils=/usr
|
||||
# --with-xml-prefix=/usr
|
||||
# --enable-openmp
|
||||
# --enable-nanos
|
||||
# --enable-pthread
|
||||
# --disable-parallel-merge
|
||||
#
|
||||
# LDFLAGS=-pthread
|
||||
|
||||
|
||||
class Extrae(Package):
|
||||
"""Extrae is the package devoted to generate tracefiles which can
|
||||
@@ -55,16 +71,16 @@ def install(self, spec, prefix):
|
||||
elif 'mvapich2' in spec:
|
||||
mpi = spec['mvapich2']
|
||||
|
||||
configure("--prefix=%s" % prefix,
|
||||
"--with-mpi=%s" % mpi.prefix,
|
||||
"--with-unwind=%s" % spec['libunwind'].prefix,
|
||||
"--with-dyninst=%s" % spec['dyninst'].prefix,
|
||||
"--with-boost=%s" % spec['boost'].prefix,
|
||||
"--with-dwarf=%s" % spec['libdwarf'].prefix,
|
||||
"--with-papi=%s" % spec['papi'].prefix,
|
||||
"--with-dyninst-headers=%s" % spec['dyninst'].prefix.include,
|
||||
"--with-dyninst-libs=%s" % spec['dyninst'].prefix.lib)
|
||||
configure("--prefix=%s" % prefix,
|
||||
"--with-mpi=%s" % mpi.prefix,
|
||||
"--with-unwind=%s" % spec['libunwind'].prefix,
|
||||
"--with-dyninst=%s" % spec['dyninst'].prefix,
|
||||
"--with-boost=%s" % spec['boost'].prefix,
|
||||
"--with-dwarf=%s" % spec['libdwarf'].prefix,
|
||||
"--with-papi=%s" % spec['papi'].prefix,
|
||||
"--with-dyninst-headers=%s" % spec[
|
||||
'dyninst'].prefix.include,
|
||||
"--with-dyninst-libs=%s" % spec['dyninst'].prefix.lib)
|
||||
|
||||
make()
|
||||
make("install", parallel=False)
|
||||
|
||||
|
Reference in New Issue
Block a user