diff options
author | Carson Woods <carsonwoods@users.noreply.github.com> | 2020-04-11 19:44:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 19:44:26 -0500 |
commit | 97dcf7b8ee0c1e8e69613b9181759952a83edd63 (patch) | |
tree | 904ffff635b42cbd826fa19631e2440a8f96376c /var | |
parent | a5f7cc887a2f9e5247d3fbf186ea1725c78fd928 (diff) | |
download | spack-97dcf7b8ee0c1e8e69613b9181759952a83edd63.tar.gz spack-97dcf7b8ee0c1e8e69613b9181759952a83edd63.tar.bz2 spack-97dcf7b8ee0c1e8e69613b9181759952a83edd63.tar.xz spack-97dcf7b8ee0c1e8e69613b9181759952a83edd63.zip |
tau: added new variants (#16005)
* Add more tau variants
* Add more tau variants
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/tau/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py index 0329841029..8e005b8cd1 100644 --- a/var/spack/repos/builtin/packages/tau/package.py +++ b/var/spack/repos/builtin/packages/tau/package.py @@ -69,6 +69,11 @@ class Tau(Package): variant('io', default=True, description='Activates POSIX I/O support') variant('adios2', default=False, description='Activates ADIOS2 output support') variant('sqlite', default=False, description='Activates SQLite3 output support') + variant('slog2', default=False, description='Convert TAU trace files to SLOG2') + variant('cputime', default=False, description='Enable user+system time from getrusage()') + variant('profile', default=True, description='Enable profiles') + variant('profileparam', default=False, description='Generate profiles with parameter mapped event data') + variant('profilecallpath', default=False, description='Enables profile callpaths') # Support cross compiling. # This is a _reasonable_ subset of the full set of TAU @@ -169,6 +174,9 @@ class Tau(Package): if ('platform=cray' in self.spec) and ('+x86_64' not in spec): options.append('-arch=craycnl') + if '+cputime' in spec: + options.append("-CPUTIME") + if '+pdt' in spec: options.append("-pdt=%s" % spec['pdt'].prefix) @@ -221,6 +229,15 @@ class Tau(Package): if '+comm' in spec: options.append('-PROFILECOMMUNICATORS') + if '+profile' in spec: + options.append('-PROFILE') + + if '+profileparam' in spec: + options.append('-PROFILEPARAM') + + if '+profilecallpath' in spec: + options.append('-PROFILECALLPATH') + if '+shmem' in spec: options.append('-shmem') @@ -236,6 +253,9 @@ class Tau(Package): if '+sqlite' in spec: options.append("-sqlite3=%s" % spec['sqlite'].prefix) + if '+slog2' in spec: + options.append("-slog2") + if '+phase' in spec: options.append('-PROFILEPHASE') |