summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-05-14Separable module configurations (#22588)Greg Becker34-208/+521
Currently, module configurations are inconsistent because modulefiles are generated with the configs for the active environment, but are shared among all environments (and spack outside any environment). This PR fixes that by allowing Spack environments (or other spack config scopes) to define additional sets of modules to generate. Each set of modules can enable either lmod or tcl modules, and contains all of the previously available module configuration. The user defines the name of each module set -- the set configured in Spack by default is named "default", and is the one returned by module manipulation commands in the absence of user intervention. As part of this change, the module roots configuration moved from the `config` section to inside each module configuration. Additionally, it adds a feature that the modulefiles for an environment can be configured to be relative to an environment view rather than the underlying prefix. This will not be enabled by default, as it should only be enabled within an environment and for non-default views constructed with separate projections per-spec. TODO: - [x] code changes to support multiple module sets - [x] code changes to support modules relative to a view - [x] Tests for multiple module configurations - [x] Tests for modules relative to a view - [x] Backwards compatibility for module roots from config section - [x] Backwards compatibility for default module set without the name specified - [x] Tests for backwards compatibility
2021-05-14root: Add variants: dcache and oracle (#23441)iarspider2-10/+8
2021-05-14emacs: add texinfo build dependency on master (#23631)Michael Kuhn1-0/+1
It seems that building unreleased versions requires makeinfo, which is part of texinfo.
2021-05-14py-rarfile: add new package (#23622)Adam J. Stewart1-0/+19
2021-05-14legion: bug fix for flecsi use cases. (#23624)Pat McCormick1-2/+0
2021-05-14build tests: put an upper bound on the version of GCC being used (#23630)Massimiliano Culpo2-1/+5
2021-05-14model-traits: add new package (#23589)Jacob Merson1-0/+56
2021-05-14emacs: add support for native compilation on master (#23493)miheer vaidya1-4/+10
* Emacs native compilation on master * emacs: Mark tools correctly as build dependency
2021-05-14Update mvapich2 to 2.3.6 (#23574)natshineman1-2/+3
Co-authored-by: Nat Shineman <shineman.5@buckeyemail.osu.edu>
2021-05-14netcdf-c: refactor fsync variant (#23477)sebrowne1-10/+2
Simplify logic by just enabling or disabling fsync as user specified (default to off currently). Also remove the 4.1 version check, since that version isn't actually supported in here. Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-05-13spec: simplify __str__ implementation (#23593)Massimiliano Culpo2-13/+10
The implementation for __str__ has been simplified to traverse the spec directly, and doesn't call anymore the flat_dependencies method. Dead code has been removed.
2021-05-13cc: change mode to ccld for loopopt edit (#23482)Frank Willmore2-4/+13
For configure (e.g. for hdf5) to pass, this option needs to be pulled out when invoked in ccld mode. I thought it had fixed the issue but I still saw it after that. After some digging, my guess is that I was able to get hdf5 to build with ifort instead of ifx. Lot of overlapping changes occurring at the time, as it were. There are still outstanding issues building hdf5 with ifx, and Intel is looking into what appears to be a compiler bug, but this manifests during build and is likely a separate issue. I have verified that the making the edit in 'ccld' mode removes the -loopopt=0 and enables hdf5 to pass configure. It should be fine to make the edit in 'ld' mode as well, but I have not tested that and didn't include an -or- condition for it.
2021-05-14py-warpx: new version: 21.05 (#23628)eugeneswalker1-1/+2
2021-05-13veloc: add v1.3 and v1.2 (#23626)eugeneswalker1-0/+2
2021-05-13openPMD-api: 0.13.4 (#23619)Axel Huebl1-0/+1
Add the latest release.
2021-05-13Add -DSTK_NO_BOOST_STACKTRACE to compile line in trilinos if +stk and on a ↵Jon Rood1-0/+2
Mac. (#23625)
2021-05-14Enable image_support flag to fix the issues with ↵Sreenivasa Murthy Kolam1-1/+2
hipMalloc3D,hipMallocPitch() (#23620)
2021-05-13seacas: new version, update dependency versions (#23609)Greg Sjaardema1-4/+5
Add new release of SEACAS. Update netcdf-c version to recent release which fixes some issues that have caused problems in past Use release version of CGNS instead of develop
2021-05-13libcatalyst: add package (#23595)Ben Boeckel1-0/+40
There are no official releases yet, so just use a git snapshot for now.
2021-05-13libbsd: do not apply local-elf.h.patch after version 0.10 (#23565)Davide Mancusi1-1/+1
2021-05-13py-cocotools: add new package (#23573)Adam J. Stewart1-0/+21
2021-05-13python: use CFLAGS=-fp-model=strict with %oneapi (#23575)Davide Mancusi1-1/+8
2021-05-13update the version for rocm packages comgr,hip-rocclr ,... for rocm-4.2.0 ↵Sreenivasa Murthy Kolam9-15/+38
release (#23608)
2021-05-13build(deps): bump actions/cache from 2.1.4 to 2.1.5 (#23584)dependabot[bot]1-1/+1
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.4 to 2.1.5. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.4...v2.1.5) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13rocksdb: update pkg-config patch (#23601)Michael Kuhn1-2/+5
The previous version did not fix an error that only occured with clang.
2021-05-13glib: add v2.68.2 (#23603)Michael Kuhn1-0/+1
2021-05-13libbson: add v1.17.5 (#23604)Michael Kuhn1-0/+1
2021-05-13mongo-c-driver: add v1.17.5 (#23605)Michael Kuhn1-0/+1
2021-05-13lmdb: add v0.9.29 (#23606)Michael Kuhn1-0/+1
2021-05-13mariadb-c-client: add v3.1.13 (#23607)Michael Kuhn1-1/+2
2021-05-13config key error: fix format string (#23610)Greg Becker1-1/+1
2021-05-13nalu-wind: remove SuperLU dependency from Trilinos and simplify recipe (#23600)Jon Rood2-30/+9
* Update Nalu-Wind to remove SuperLU from Trilinos requirement. Also simplify Nalu-Wind package. * Leave boost option in nalu-wind. * Add git branches into TPL requirements. Update OpenFAST for change to main branch.
2021-05-13slate: add v2021.05.01 (#23612)G-Ragghianti1-7/+20
Adds a new release version for SLATE and includes HIP/ROCm backend support. Now can build with either CUDA or ROCm support.
2021-05-13env views: make view updates atomic (#23476)Greg Becker6-72/+172
Currently, environment views blink out of existence during the view regeneration, and are slowly built back up to their new and improved state. This is not good if other processes attempt to access the view -- they can see it in an inconsistent state. This PR fixes makes environment view updates atomic. This requires a level of indirection (via symlink, similar to nix or guix) from the view root to the underlying implementation on the filesystem. Now, an environment view at `/path/to/foo` is a symlink to `/path/to/._foo/<hash>`, where `<hash>` is a hash of the contents of the view. We construct the view in its content-keyed hash directory, create a new symlink to this directory, and atomically replace the symlink with one to the new view. This PR has a couple of other benefits: * It future-proofs environment views so that we can implement rollback. * It ensures that we don't leave users in an inconsistent state if building a new view fails for some reason. For background: * there is no atomic operation in posix that allows for a non-empty directory to be replaced. * There is an atomic `renameat2` in the linux kernel starting in version 3.15, but many filesystems don't support the system call, including NFS3 and NFS4, which makes it a poor implementation choice for an HPC tool, so we use the symlink approach that others tools like nix and guix have used successfully.
2021-05-12New Package r-dexseq (#23457)Desmond Orton1-0/+42
2021-05-13tau: depend on provider of elf (#23602)wspear1-5/+5
* tau: depend on provider of elf * Depends on elf when +elf, not +libdwarf
2021-05-12Update: Ginkgo ROCm setup and smoke tests (#23280)Terry Cojean3-21/+95
Add Ginkgo ROCmPackage support and improve tests.
2021-05-12sqlite3: new version, 3.35.5 (#23592)Robert Mijakovic1-0/+1
Co-authored-by: Robert Mijakovic <robert.mijakovic@lxp.lu>
2021-05-12High performance linkers for LBANN (#23594)Brian Van Essen1-0/+28
* Added the option to use high performance linkers: gold and lld, for LBANN. Including them as build flags causes unnecessary propagation to all dependent packages, reducing package reuse.
2021-05-12gmsh: fix variant flags and dependencies (#23563)Olivier Cessenat1-28/+45
* Package gmsh making clear dependencies * Improvements from reviewer advise
2021-05-12ngspice: enhanced to produce bin and more options. (#23495)Olivier Cessenat1-3/+112
* Enhancing package ngspice to produce bin, take options * Enhancing package ngspice, adding dependencies * Enhancing package ngspice, typo
2021-05-12ASP-based solver: account for deprecated versions (#23491)Massimiliano Culpo5-1/+55
fixes #22351 The ASP-based solver now accounts for the presence in the DAG of deprecated versions and tries to minimize their number at highest priority.
2021-05-12lzo, lz4, xz, binutils: add libs multi-valued variant (#23474)Harmen Stoppels4-6/+22
2021-05-12Bugfix for "Revert "craype fix for rempi"" (#23580)Tamara Dahlgren1-0/+6
This reverts and fixes commit 1ae28f66c6e53889c7f76f234a011672fefe37a4. Co-authored-by: lukebroskop <luke.roskop@hpe.com>
2021-05-11Revert "craype fix for rempi (#23507)" (#23577)Tamara Dahlgren1-6/+0
This reverts commit 297f0e489af0f1daf962c628321d04ec8ea8d869.
2021-05-12mercury: flag_handler: fix incorrect indent on return statement (#23579)eugeneswalker1-1/+1
2021-05-12kvtree: flag_handler: fix incorrect indent on return statement (#23578)eugeneswalker1-1/+1
2021-05-11Fix cray-libsci package to find correct libraries (#23501)lukebroskop1-5/+9
2021-05-11craype fix for rempi (#23507)lukebroskop1-0/+6
When comping with cce, use the mpi wrappers
2021-05-11CrayPE fix for kvtree (#23513)lukebroskop1-0/+6
Allow for multiple definitions at link time (with cce's linker) Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>