summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-11-07 00:20:39 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2014-11-07 00:20:39 -0800
commit9033ae646006bf6c4c1e482c024af9217fcdea99 (patch)
treed0737be7e52905a120c3d53c80f4704d18dc5627 /var
parent31120966511d533926b7bcf4bbd8495bb4e06d7f (diff)
downloadspack-9033ae646006bf6c4c1e482c024af9217fcdea99.tar.gz
spack-9033ae646006bf6c4c1e482c024af9217fcdea99.tar.bz2
spack-9033ae646006bf6c4c1e482c024af9217fcdea99.tar.xz
spack-9033ae646006bf6c4c1e482c024af9217fcdea99.zip
Add package for Sandia QThreads.
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/qthreads/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/packages/qthreads/package.py b/var/spack/packages/qthreads/package.py
new file mode 100644
index 0000000000..dacdb71524
--- /dev/null
+++ b/var/spack/packages/qthreads/package.py
@@ -0,0 +1,22 @@
+from spack import *
+
+class Qthreads(Package):
+ """The qthreads API is designed to make using large numbers of
+ threads convenient and easy, and to allow portable access to
+ threading constructs used in massively parallel shared memory
+ environments. The API maps well to both MTA-style threading and
+ PIM-style threading, and we provide an implementation of this
+ interface in both a standard SMP context as well as the SST
+ context. The qthreads API provides access to full/empty-bit
+ (FEB) semantics, where every word of memory can be marked
+ either full or empty, and a thread can wait for any word to
+ attain either state."""
+ homepage = "http://www.cs.sandia.gov/qthreads/"
+ url = "https://qthreads.googlecode.com/files/qthread-1.10.tar.bz2"
+
+ version('1.10', '5af8c8bbe88c2a6d45361643780d1671')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")