diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-07-09 01:37:24 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-07-09 01:37:24 -0700 |
commit | 5829b44648f809a09d006b044d8244254a3d224a (patch) | |
tree | e3e33761e8fa2a5ca73566f9727a02ed7ee5fb92 /var | |
parent | 5f8724650a9f7327961639e099cb0764605d1c62 (diff) | |
download | spack-5829b44648f809a09d006b044d8244254a3d224a.tar.gz spack-5829b44648f809a09d006b044d8244254a3d224a.tar.bz2 spack-5829b44648f809a09d006b044d8244254a3d224a.tar.xz spack-5829b44648f809a09d006b044d8244254a3d224a.zip |
Fix Jeff Keasler's issues and add parmetis package.v0.8
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/packages/parmetis/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/packages/parmetis/package.py b/var/spack/packages/parmetis/package.py new file mode 100644 index 0000000000..10a48503b2 --- /dev/null +++ b/var/spack/packages/parmetis/package.py @@ -0,0 +1,26 @@ +from spack import * + +class Parmetis(Package): + """ParMETIS is an MPI-based parallel library that implements a + variety of algorithms for partitioning unstructured graphs, + meshes, and for computing fill-reducing orderings of sparse + matrices.""" + homepage = "http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview" + url = "http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-4.0.3.tar.gz" + + versions = { '4.0.3' : 'f69c479586bf6bb7aff6a9bc0c739628', } + + depends_on('mpi') + + def install(self, spec, prefix): + cmake(".", + '-DGKLIB_PATH=%s/metis/GKlib' % pwd(), + '-DMETIS_PATH=%s/metis' % pwd(), + '-DSHARED=1', + '-DCMAKE_C_COMPILER=mpicc', + '-DCMAKE_CXX_COMPILER=mpicxx', + '-DSHARED=1', + *std_cmake_args) + + make() + make("install") |