Commit graph

22100 commits

Author SHA1 Message Date
Brian Van Essen
128d788363
Changed the LBANN software stack to not explicitly set the Host (#25351)
Transfer protocol in the Aluminum library.  If required the Host
Transfer variant +ht should be explicity set.
2021-08-11 09:12:59 +02:00
Harmen Stoppels
26ed2776e7
Add __skip_rocmclang to more rocm packages for cmake 3.21 (#25328) 2021-08-11 08:21:17 +02:00
arjun-raj-kuppala
d88d887ed0
AMD ROCm 4.3.0 - bump up version for llvmamdgpu, hsakmt-roct, rocm-cmake, rocm-smi-lib (#25228)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2021-08-11 00:42:31 +02:00
Massimiliano Culpo
371bc37dd4
Rework rules for provider weights (#25331)
Preferred providers had a non-zero weight because in an earlier formulation of the logic program that was needed to prefer external providers over default providers. With the current formulation for externals this is not needed anymore, so we can give a weight of zero to both default choices and providers that are externals. _Using zero ensures that we don't introduce any drift towards having less providers, which was happening when minimizing positive weights_.

Modifications:

- [x] Default weight for providers starts at 0 (instead of 10, needed before to prefer externals)
- [x] Rules to compute the `provider_weight` have been refactored. There are multiple possible weights for a given `Virtual`. Only one gets selected by the solver (the one that minimizes the objective function).
- [x] `provider_weight` are now accounting for each different `Virtual`. Before there was a single weight per provider, even if the package was providing multiple virtuals.

* Give preferred providers a weight of zero

Preferred providers had a non-zero weight because in an earlier
formulation of the logic program that was needed to prefer
external providers over default providers.

With the current formulation for externals this is not needed anymore,
so we can give a weight of zero to default choices. Using zero
ensures that we don't introduce any drift towards having
less providers, which was happening when minimizing positive weights.

* Simplify how we compute weights for providers

Rewrite rules so that specific events (i.e. being
an external) unlock the possibility to use certain
weights. The weight being considered is then selected
by the minimization process to be the one that gives
the best score.

* Allow providers to have different weights for different virtuals

Before this change we didn't differentiate providers based on
the virtual they provide, which meant that packages providing
more than one virtual had nonetheless a single weight.

With this change there will be a weight per virtual.
2021-08-10 14:15:45 -07:00
Harmen Stoppels
3fafbafab0
cxxopts: add v2.2.1 and clean package.py (#25334) 2021-08-10 18:42:18 +02:00
Harmen Stoppels
4ec70ca2ff
elfio: new package (#25335) 2021-08-10 18:41:33 +02:00
Harmen Stoppels
afc1134fe6
cpp-termcolor: new package (#25336) 2021-08-10 18:39:55 +02:00
permeakra
8dff43b8ea
Elk update (#24432)
* elk package updated to handle 3 latest versions support for older
versions is dropped

* fixed typos

* openmp dependency handling added

* and for blis too

* Retain support for elk 3, deprecate

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-08-10 09:51:45 -05:00
Howard Pritchard
d3f67a4855
openmpi:add pandoc dependency when building master (#25319)
related to #25304

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2021-08-10 09:02:19 +02:00
Paul Adamson
e44de970f8
uqtk: add pyqutk variant to uqtk (#25298)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-08-10 08:05:26 +02:00
Massimiliano Culpo
5916afec84
Add a badge for the Boostrapping workflow (#25318)
This workflow is run daily on `develop`.
2021-08-09 21:45:01 +02:00
Harmen Stoppels
81be31aee0
Make spack env activate x idempotent (#25222)
* Make spack env activate x idempotent

* Update lib/spack/spack/cmd/env.py
2021-08-09 07:07:39 -07:00
Robert Cohn
fc46db2269
sos: shr-atomics is a disable/enable (#25315) 2021-08-09 16:05:06 +02:00
iarspider
8c8b934fd8
giflib: define prefix and libversion also when building (#25263) 2021-08-09 13:32:38 +00:00
Robert Cohn
2738bc17a1
sos: add xpmem variant (#25260)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-08-09 13:16:19 +00:00
Vasily Danilin
ce199e1c67
intel-oneapi-vtune: new package + remove danvev from maintainers (#25311) 2021-08-09 15:04:06 +02:00
Tom Stitt
a3f76740e7
xwidgets: add new package (#25237) 2021-08-09 05:16:43 -07:00
downloadico
be59f2bff0
libxc: add std flag for Intel (#25281) 2021-08-09 14:05:42 +02:00
Valentin Volkl
d4df3b31fb
dd4hep: fixes to run tests (#25204) 2021-08-09 14:04:33 +02:00
Martin Aumüller
597358e735
ispc: add v1.16 and v1.16.1 (#25206)
Aso adapt dependencies for older versions
2021-08-09 14:02:58 +02:00
Tiziano Müller
fa715c9892
cp2k: update elpa and sirius dependencies, fix build with mpich and gcc@10 (#24376)
* cp2k: fix build with GCC-10+ and MPICH

* cp2k: update SIRIUS and ELPA dependencies

* elpa: add version 2021.05.001, add ROCm support, include SVE flags
2021-08-09 13:46:15 +02:00
Tom Stitt
80473283f3
xeus: add v1.0.4, improved package recipe (#24984)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-08-09 13:42:46 +02:00
Adam J. Stewart
21e2ba13dc
py-pydeprecate: add v0.3.1 (#25231) 2021-08-09 13:24:12 +02:00
Adam J. Stewart
df0d86d795
py-pytorch-lightning: add v1.4.1 (#25232) 2021-08-09 13:23:38 +02:00
Tom Stitt
0f514a390a
xproperty: add new package (#25236) 2021-08-09 13:20:57 +02:00
Adam J. Stewart
c513ba25f1
py-pytest: add v6.2.4 (#25240) 2021-08-09 12:41:12 +02:00
Adam J. Stewart
250a08ab7a
py-requests-unixsocket: add missing py-pbr dependency (#25241) 2021-08-09 12:40:10 +02:00
Erik Schnetter
534b5d28e8
ssht: add v1.5.0 (#25247) 2021-08-09 12:36:12 +02:00
Adam J. Stewart
20698f8f7e
py-setuptools: add v57.4.0 (#25239) 2021-08-09 12:35:38 +02:00
Ben Darwin
bd8ae72146
dcm2niix: new package (at version 1.0.20210317) (#25250) 2021-08-09 11:15:38 +02:00
Severin Strobl
f67d3b127c
apex: add v2.4.1 (#25248)
Also updated the URLs for APEX according to the recent move.
2021-08-09 11:14:55 +02:00
Martin Pokorny
22bc189e0e
casacore: add variant for ADIOS2 support (#25251) 2021-08-09 11:13:26 +02:00
Todd Gamblin
7ddd6ad461 installation: filter padding from all tty output
This is both a bugfix and a generalization of #25168. In #25168, we attempted to filter padding
*just* from the debug output of `spack.util.executable.Executable` objects. It turns out we got it
wrong -- filtering the command line string instead of the arg list resulted in output like this:

```
==> [2021-08-05-21:34:19.918576] ["'", '/', 'b', 'i', 'n', '/', 't', 'a', 'r', "'", ' ', "'", '-', 'o', 'x', 'f', "'", ' ', "'", '/', 't', 'm', 'p', '/', 'r', 'o', 'o', 't', '/', 's', 'p', 'a', 'c', 'k', '-', 's', 't', 'a', 'g', 'e', '/', 's', 'p', 'a', 'c', 'k', '-', 's', 't', 'a', 'g', 'e', '-', 'p', 'a', 't', 'c', 'h', 'e', 'l', 'f', '-', '0', '.', '1', '3', '-', 'w', 'p', 'h', 'p', 't', 'l', 'h', 'w', 'u', 's', 'e', 'i', 'a', '4', 'k', 'p', 'g', 'y', 'd', 'q', 'l', 'l', 'i', '2', '4', 'q', 'b', '5', '5', 'q', 'u', '4', '/', 'p', 'a', 't', 'c', 'h', 'e', 'l', 'f', '-', '0', '.', '1', '3', '.', 't', 'a', 'r', '.', 'b', 'z', '2', "'"]
```

Additionally, plenty of builds output padded paths in other plcaes -- e.g., not just command
arguments, but in other `tty` messages via `llnl.util.filesystem` and other places. `Executable`
isn't really the right place for this.

This PR reverts the changes to `Executable` and moves the filtering into `llnl.util.tty`. There is
now a context manager there that you can use to install a filter for all output.
`spack.installer.build_process()` now uses this context manager to make `tty` do path filtering
when padding is enabled.

- [x] revert filtering in `Executable`
- [x] add ability for `tty` to filter output
- [x] install output filter in `build_process()`
- [x] tests
2021-08-09 01:42:07 -07:00
Jen Herting
29098a1e07
py-speech-recognition: new package (#25273) 2021-08-09 10:31:21 +02:00
Sergey Kosukhin
053fa2a47b
netcdf-fortran: fix building with AOCC (#25186) 2021-08-09 10:30:31 +02:00
Tom Stitt
25a4c5ad18
mfem: add v4.3 (#25158)
Co-authored-by: Veselin Dobrev <dobrev@llnl.gov>
2021-08-09 10:08:33 +02:00
Tamara Dahlgren
4cd2cfc7e7
ci pipelines: expand the list of RADIUSS packages (#25282) 2021-08-09 10:06:56 +02:00
Satish Balay
874a35e30d
trilinos: fix +hypre build (#25291) 2021-08-09 10:05:52 +02:00
Satish Balay
f6cb076229
petsc: fix build with trilinos (#25289) 2021-08-09 10:02:47 +02:00
Sreenivasa Murthy Kolam
ea71eb35d3
Update rocm ecosystem to v4.3.0 (#25299) 2021-08-09 09:48:05 +02:00
Satish Balay
24ea784dc4
petsc, petsc4py: add version 3.15.3 (#25307) 2021-08-09 00:43:35 -07:00
Glenn Johnson
ff9c7380e8
r-cairo: add an explicit dependency on libxt (#25309)
Since r-cairo will always look for X libraries, and likely find them on
the system, make it always depend on r+X.
2021-08-09 09:27:57 +02:00
Harmen Stoppels
c37aee4620
hip: fix broken tests with ^cmake@3.21: (#25246) 2021-08-09 07:19:29 +00:00
Harmen Stoppels
4384ff8e41
Use __skip_rocmclang for cmake 3.21 in rocblas/rocfft to avoid incomplete compiler support (#25253) 2021-08-09 07:03:03 +00:00
Harmen Stoppels
420113d5ab
libtree: add v1.2.3 (#25270) 2021-08-09 08:51:39 +02:00
Seth R Johnson
66a8993092 Remove xsdk@0.2.0 and associated versions and xsdktrilinos
These versions can cause weird concretizations, and it looks like the
old version of xsdk may not even work because of xsdktrilinos being
disabled. The hypre version tagged for xsdk@0.2 no longer exists at the
described location.
2021-08-08 10:55:39 -07:00
Seth R Johnson
38803e3597 trilinos: remove develop version, change xsdk name
With the previous naming scheme, `trilinos@:10` concretizes to
`trilinos@xsdk-0.2.0`. Now, it's clear what the xsdk version is closest
to. Changed from tag to the corresponding commit SHA for safety.
2021-08-08 10:55:39 -07:00
Satish Balay
6ed4cf4016
petsc: cleanup test code to support 'spack test run' and add a 'cuda' test (#25099) 2021-08-08 12:16:42 -05:00
Alec Scott
0dd6b1e134 Clean Up PR from Container Builder 2021-08-08 07:20:25 -07:00
Edgar A. Leon
1c90b25933 hwloc: Adding opencl and rocm (AMD GPUs) variants to hwloc. 2021-08-08 07:18:26 -07:00