summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-10-13superlu_dist: update to latest version 5.2.1 (#5762)Satish Balay1-1/+4
The interface to +int64 changed from -D_LONGINT to XSDK_INDEX_SIZE=64. This change uses the appropriate interface for for the given version
2017-10-13Update Sundials package (#5696)David Gardner1-99/+375
* initial update of sundials package * fix bugs in initial sundials update * add xsdk cmake setup, fix generic math option, add cuda/raja Makefiles to install fixes * Fix lapack install bug, add new conflicts, clean up formatting * Address pull requeset comments and make fomatting style consistent Remove blas variant as blas is only needed when used by an external linear solver. Set related CMake blas variables as needed depending enabled external linear solvers. Add minimum required CMake version. Additional conflicts and dependencies for external libraries based on mpi, indextype, and precision. Fix SuperLU_MT logic to check which threading type SuperLU_MT was configured with. Add maintaiers. Change Sundials solver options to use an array of values. Consistently use % for formatting. * change triple-single quotes to single quotes * Change indextype option to a single int64 option
2017-10-13Clean up logic in Sepc.satisfies_dependencies()Todd Gamblin1-5/+9
- This puts in a fast path when there are no dependencies to satisfy. - Reduces time spent to concretize r-rminer by 2x, down to 5s from 10s
2017-10-13Remove single-root assertion from Spec.rootTodd Gamblin2-11/+6
- Assertion would search for root through all possible paths. - It's also really slow. - This isn't needed anymore. We're pretty good at ensuring single-rooted DAGs, and this assertion has never been thrown. - This shaves another 6 seconds off r-rminer concretization
2017-10-13Use list instead of OrderedDict to find virtual/external candidatesTodd Gamblin1-6/+3
- This reduces concretization time for r-rminer from over 1 minute to only 16 seconds. - OrderedDict ends up taking a *lot* of time to compare larger specs. - An OrderedDict isn't actually needed here. It's actually not possible to find duplicates, and we end up sorting the contents of the OrderedDict anyway.
2017-10-13avoid creating lots of dictionaries in traverse_edges()Todd Gamblin1-15/+14
- This is an optimization to the way traverse_edges iterates over successors. - Previous version called dependencies_dict(), which involved a lot of redundant work (creating dicts and calling caonical_deptype)
2017-10-13Don't redundantly check for providers of non-virtuals.Todd Gamblin1-0/+3
2017-10-13Cache compilers parsed from config filesTodd Gamblin1-29/+39
- Spack ends up constructing compilers frequently from YAML data. - This caches the result of parsing the compiler config - The logic in compilers/__init__.py could use a bigger cleanup, but this makes concretization much faster for now. - on macOS, this also ensures that xcrun is called only twice, as opposed to every time a new compiler object is constructed.
2017-10-13This fixes a bug in creating rpaths relative to $ORIGIN on linux. (#5726)Patrick Gartung3-29/+34
* This fixes a bug in creating rpaths relative to on linux. * fix for macOS as well * found in testing * flake8 * fix testing on macOS * flake8
2017-10-13r-preprocesscore: added versioned dependency on r (#5671)Yifan Zhu1-0/+1
2017-10-13r-rmpi: added list_url and updated md5 (#5698)Yifan Zhu1-2/+2
2017-10-13r-edger: added versioned dependency on r (#5669)Yifan Zhu1-0/+1
2017-10-13r-s4vectors: added versioned dependency on r (#5672)Yifan Zhu1-0/+2
2017-10-13likwid: update versions (#5757)Denis Davydov1-0/+3
2017-10-13r-xvector: added versioned dependency on r (#5731)Yifan Zhu1-0/+1
2017-10-13flake8: fix warnings (#5759)Satish Balay3-4/+4
2017-10-13Use cflags instead of the args variable (#5756)Ondřej Čertík1-3/+5
That way the user can still append things to CFLAGS.
2017-10-13py-espresso: initial commit (#5724)Christoph Junghans1-0/+52
2017-10-13espressopp -> py-espressopp (#5732)Christoph Junghans1-2/+6
* espressopp -> py-espressopp * Update package.py
2017-10-13Docker Workflow (#5582)Axel Huebl1-0/+143
This adds a workflow section on how to use spack on Docker. It provides an example on the best-practices I collected over the last months and circumvents the common pitfalls I tapped in. Works with MPI, CUDA, Modules, execution as root, etc. Background: Developed initially for PIConGPU.
2017-10-13Fix m4 to compile with Intel (#5728)Ondřej Čertík1-0/+3
Fixes #5705.
2017-10-13r-biostrings: added versioned dependency on r (#5667)Yifan Zhu1-0/+1
2017-10-13r-zlibbioc: added versioned dependency on r (#5674)Yifan Zhu1-0/+1
2017-10-13trilinos / oce : add missing if before calling macOS_version (#5743)Denis Davydov2-2/+3
* trilinos: add missing if before calling macOS_version * oce: add missing if before calling macOS_version
2017-10-13r-readr: created new package (#5741)Yifan Zhu1-0/+43
2017-10-13r-dorng: created new package (#5740)Yifan Zhu1-0/+46
2017-10-13r-stringr: added list_url and version 1.2.0 (#5738)Yifan Zhu1-0/+2
2017-10-13r-stringi: added list_url and version 1.1.5 and 1.1.3 (#5737)Yifan Zhu1-0/+3
2017-10-13r-summarizedexperiment: created new package (#5734)Yifan Zhu1-0/+47
2017-10-13r-yaqcaffy: added list_url and versioned dependency on r (#5730)Yifan Zhu1-0/+2
2017-10-13slepc: refine version constraints for petsc 3.8 (#5752)Denis Davydov1-4/+8
2017-10-13openblas: remove extra develop version (#5750)Denis Davydov1-2/+0
2017-10-13gettext: fix prefix (#5749)Denis Davydov1-1/+1
2017-10-12Lbann flags (#5747)Brian Van Essen2-3/+2
* Fixed the datatype flag in the LBANN package. Also added develop version to OpenBLAS. * Fixed where the datatype flag should be set.
2017-10-12r-gcrma: added versioned dependency on r (#5670)Yifan Zhu1-0/+1
2017-10-12r-simpleaffy: added versioned dependency on r (#5673)Yifan Zhu1-0/+1
2017-10-12petsc: add in maintainers (#5729)Satish Balay1-0/+2
2017-10-12Add the option for a versioned layout to boost (#5709)David Hows1-0/+6
2017-10-12kaks-calculator: new package (#5725)Audrey Thoma1-0/+59
* kaks-calculator: new package * kaks-calculator: new package * fixing homepage
2017-10-12petsc: update to latest 3.8 version [and include 3.7.7] (#5723)Satish Balay1-1/+3
Also fix flake8 warning "import os should be before import sys"
2017-10-12Add OpenFAST package (wind turbine simulation tool). (#5662)Jon Rood1-0/+93
* Add OpenFAST package (wind turbine simulator). * Adding maintainer to openfast package. * Fixing copyright date.
2017-10-12various fixes for macOS high sierra (#5647)Denis Davydov7-5/+52
* various fixes for macOS high sierra * add macOS_version() helper function * flake8 fixes * update oce and trilinos * fix bison
2017-10-12Make --trusted default when running spack gpg list (#5678)David Hows2-1/+2
* Make --trusted default when running spack gpg list Currently running `spack gpg list` with no arguments returns nothing. You must supply either the `--trusted` or the `--signing` options. The idea here is to return some initial data to the user when the command is run. The alternative is to return an error, telling the user to select one of the two options. * Add an extra test case for the empty list command Fixes the issue with code coverage
2017-10-12Speed up concretization (#5716)Todd Gamblin4-17/+23
This isn't a rework of the concretizer but it speeds things up a LOT. The main culprits were: 1. Variant code, `provider_index`, and `concretize.py` were calling `spec.package` when they could use `spec.package_class` - `spec.package` looks up a package instance by `Spec`, which requires a (fast-ish but not that fast) DAG compare. - `spec.package_class` just looks up the package's class by name, and you should use this when all you need is metadata (most of the time). - not really clear that the current way packages are looked up is necessary -- we can consider refactoring that in the future. 2. `Repository.repo_for_pkg` parses a `str` argument into a `Spec` when called with one, via `@_autospec`, but this is not needed. - Add some faster code to handle strings directly and avoid parsing This speeds up concretization 3-9x in my limited tests. Still not super fast but much more bearable: Before: - `spack spec xsdk` took 33.6s - `spack spec dealii` took 1m39s After: - `spack spec xsdk` takes 6.8s - `spack spec dealii` takes 10.8s
2017-10-12samtools: add version 1.6 + some fixes (#5715)Carlos Bederián3-9/+11
* htslib: add version 1.6 * samtools: add version 1.6, remove zlib dependency * bcftools: add version 1.6, switch to using standalone htslib
2017-10-12minimap2: new package (#5722)Audrey Thoma2-0/+77
2017-10-12Initial version of libpcap (#5710)David Hows1-0/+34
Add a package script for libpcap with the current version (1.8.1)
2017-10-12Better install output (#5714)Todd Gamblin6-20/+17
* Do not call setup_package for fake installs - setup package could fail if ``setup_dependent_environment`` or other routines expected to use executables from dependencies - xpetsc and boost try to get python config variables in `setup_dependent_package`; this would cause them not to be fake-installable * Remove vestigial deptype_query argument to Spec.traverse() - The `deptype_query` argument isn't used anymore -- it's only passed around and causes confusion when calling traverse. - Get rid of it and just keep the `deptypes` argument * Don't print redundant messages when installing dependencies - `do_install()` was originally depth-first recursive, and printed "<pkg> already installed in ..." multiple times for packages as recursive calls encountered them. - For much cleaner output, use spec.traverse(order='post') to install dependencies instead
2017-10-11r-affy: added versioned dependency on r (#5660)Yifan Zhu1-0/+1
2017-10-11r-affyio: added versioned dependency on r (#5661)Yifan Zhu1-0/+1