Commit graph

20391 commits

Author SHA1 Message Date
Vanessasaurus
7f91c1a510
Merge pull request #21930 from vsoch/add/spack-monitor
This provides initial support for [spack monitor](https://github.com/spack/spack-monitor), a web application that stores information and analysis about Spack installations.  Spack can now contact a monitor server and upload analysis -- even after a build is already done.

Specifically, this adds:
- [x] monitor options for `spack install`
- [x] `spack analyze` command
- [x] hook architecture for analyzers
- [x] separate build logs (in addition to the existing combined log)
- [x] docs for spack analyze
- [x] reworked developer docs, with hook docs
- [x] analyzers for:
  - [x] config args
  - [x] environment variables
  - [x] installed files
  - [x] libabigail

There is a lot more information in the docs contained in this PR, so consult those for full details on this feature.

Additional tests will be added in a future PR.
2021-04-15 00:38:36 -07:00
vsoch
613348ec90 Use gethostname() instead of getfqdn() for lock debug mode
In debug mode, processes taking an exclusive lock write out their node name to
the lock file. We were using `getfqdn()` for this, but it seems to produce
inconsistent results when used from within some github actions containers.

We get this error because getfqdn() seems to return a short name in one place
and a fully qualified name in another:

```
  File "/home/runner/work/spack/spack/lib/spack/spack/test/llnl/util/lock.py", line 1211, in p1
    assert lock.host == self.host
AssertionError: assert 'fv-az290-764....cloudapp.net' == 'fv-az290-764'
  - fv-az290-764.internal.cloudapp.net
  + fv-az290-764
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
== 1 failed, 2547 passed, 7 skipped, 22 xfailed, 2 xpassed in 1238.67 seconds ==
```

This seems to stem from https://bugs.python.org/issue5004.

We don't really need to get a fully qualified hostname for debugging, so use
`gethostname()` because its results are more consistent. This seems to fix the
issue.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
2021-04-15 00:01:41 -07:00
Gregory Becker
393542064d updates for new tutorial
update s3 bucket
update tutorial branch
2021-04-14 23:53:07 -07:00
Gregory Becker
c4141e16a7 update tutorial public key 2021-04-14 23:53:07 -07:00
AMD Toolchain Support
a306129fb0
fixing the config issue (#22930) 2021-04-14 21:30:49 -07:00
Nichols A. Romero
c011e2156f
QMCPACK: add version 3.11.0 (#22978)
Additional changes:

* Boost dependency is only needed for build
* Make serial HDF5 the default
2021-04-14 14:52:03 -07:00
Sergey Kosukhin
05ebe52643
claw package: support for cce11 (#22986) 2021-04-14 14:49:48 -07:00
Andrew W Elble
5309417f19
gdrcopy: fix install of version >= 2.2 (#22987)
'prefix' option must be lowercase for versions >= 2.2
2021-04-14 14:34:47 -07:00
Erik Schnetter
51421100cf
m4: Apply macOS patch also on Big Sur (#22993)
Without this patch, `m4` aborts on startup, as for the previous macOS releases.
2021-04-14 14:32:39 -07:00
Dr. Christian Tacke
066caa1d2a
root: Add Version 6.24.00 (#22996)
* 6.24 needs nlohmann-json (and disable the builtin one)
* Move the git url to the top (allows easier building of
  tags, etc)
2021-04-14 14:32:07 -07:00
Andrew W Elble
7175c213b5
py-gym: new package (#22983) 2021-04-14 13:55:33 -05:00
Adam J. Stewart
2cc9b00d26
py-arcgis: add new package (#22837) 2021-04-14 09:36:13 -07:00
Harmen Stoppels
b6be3d0c0b
q-e-sirius: migrate to CMake (#22984) 2021-04-14 15:42:30 +00:00
Simon Frasch
67c666efd0
spla: add version 1.4.0 (#22985) 2021-04-14 14:52:58 +02:00
Glenn Johnson
13de22a198
New package: mysqlpp (mysql++) (#22877) 2021-04-13 17:31:25 -07:00
arjun-raj-kuppala
f76952572f
AMD ROCm 4.1.0 release: Bump up the version of migraphx recipe (#22889)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2021-04-14 01:22:46 +02:00
Glenn Johnson
dca4893c11
New package: lp-solve (#22876) 2021-04-13 15:48:40 -07:00
Glenn Johnson
7960c05922
mariadb-c-client: fix location of libraries (#22873)
Override 'libs' property to search for expected library name:
default Spack implementation can only locate libraries if they
match the package name.
2021-04-13 15:48:01 -07:00
Glenn Johnson
757528d5fb
genemark-et package: add version 4.65 and new dependencies (#22966)
New version has new dependencies (which are also added here as new
packages):

* perl-mce
* perl-threads
* perl-thread-queue

The new version of genemark-et also has a different URL scheme.
2021-04-13 15:02:21 -07:00
Tamara Dahlgren
0618b43847
rdma-core bugfix: help CMake find Python dependency (#22891) 2021-04-13 14:48:20 -07:00
Sergey Kosukhin
1379bcf680
eccodes: add version 2.21.0 (#22901)
The CMake option ENABLE_PYTHON has been renamed to ENABLE_PYTHON2
starting version 2.20.0
2021-04-13 14:34:10 -07:00
Andrew W Elble
c98a0f0bb2
elmerfem: add version 9.0; fix version 8.4; add +gui variant (#22931)
* Add a +gui variant (default off) which adds dependencies on
  qt, paraview, and qwt
* Backport upstream patch when installing version 8.4 (this patch
  is already applied for versions >= 9.0)
2021-04-13 14:31:39 -07:00
Jen Herting
29f748993d
New package: r-tester (#22945)
Co-authored-by: Alex C Leute <aclrc@rit.edu>
2021-04-13 14:19:15 -07:00
Glenn Johnson
ab87f7451a
BRAKER package: Add version 2.1.6 (#22965) 2021-04-13 14:18:07 -07:00
Robert Mijakovic
1f91409368
git: add version 2.31.1 (#22974) 2021-04-13 13:59:31 -07:00
Robert Mijakovic
a7547d8ee9
Python: add versions 3.8.9, 3.9.4 (#22975) 2021-04-13 13:58:59 -07:00
Tiziano Müller
c6a08981a7
gaussian-view/vmd: add deps on X11/GL libraries (#22322)
Both binary packages would otherwise require X11 and Mesa libraries to
be installed on the host to run. Make sure they use the Spack-provided
libraries by patching the `rpath` via `patchelf`.
2021-04-13 13:42:00 -07:00
Tiziano Müller
dee030618f
Documentation: update intel-parallel-studio instructions (#22248)
* Clarify stub compiler definition in compilers.yaml
* Update explanation of why stub compiler definition is needed
* Add note about required module definition when using Spack-installed
  intel-parallel-studio as intel-compiler
* Add suggestion about updating package config preferences based on
  choice of variants when installing intel-parallel-studio to avoid
  reinstallation
2021-04-13 13:31:14 -07:00
shanedsnyder
c801b0cb40
add darshan 3.3.0-pre1 pre-release (#22942) 2021-04-13 19:44:42 +00:00
G-Ragghianti
f2169e1f17
netlib-lapack: New versions (#22964) 2021-04-13 12:34:09 -07:00
Gregory Lee
6054a97d0a
added dyninst 11.0.0 (#22949) 2021-04-13 12:14:06 -07:00
mic84
cb53259306
amrex: allow builds with clang and apple-clang (#22967) 2021-04-13 11:18:19 -07:00
Vicente Bolea
e020f343de
VTKM: change preferred version (#22950) 2021-04-13 11:14:15 -07:00
Glenn Johnson
7a224c583a
bcftools: add v1.12 (#22883) 2021-04-13 12:04:16 -06:00
Glenn Johnson
43ece950e5
htslib: add version 1.12 (#22882) 2021-04-13 10:56:48 -07:00
Harmen Stoppels
17ea01fbce
bump cmake (#22961) 2021-04-13 09:46:19 -07:00
Adam J. Stewart
af52b8e29e
py-pandas: add v1.2.4 (#22944) 2021-04-13 16:39:47 +00:00
Sreenivasa Murthy Kolam
6c632dad71
changes to enable rocm builds using git repo (#22943) 2021-04-13 15:36:34 +00:00
Harmen Stoppels
e7d392c49a
Fix issue where binutils builds ld with ~ld (#22959)
Let's be very explicit and always add --enable or --disable.
2021-04-13 16:31:44 +02:00
Matthieu Dorier
e320b1d7e4
berkeley-db: making +cxx and +stl default to True (#22960) 2021-04-13 13:18:28 +00:00
Simon Frasch
c11af21da2
spfft: add version 1.0.2 (#22958) 2021-04-13 13:35:37 +02:00
Tiziano Müller
a580788d86
intel-parallel-studio: fix vtune installation for 2020+ (#22255)
vtune_amplifier got renamed to vtune_profiler for the 2020+ suite
2021-04-13 13:01:58 +02:00
Harmen Stoppels
0b9bd92511
SIRIUS and SpFFT versions need ROCm < 4.1 (#22957)
FindHIP.cmake script is not working for both 4.0 and 4.1.

It's fixed in their develop branches
2021-04-13 11:58:19 +02:00
Tiziano Müller
1f1b568e95
spglib: fix libs property for some multilib distros (#22956)
on multilib distros with lib/lib64 (rather than lib32/lib) the library ends up in a dir lib64/ instead of lib/, breaking the libs property (and the cp2k+spglib build)
2021-04-13 11:01:15 +02:00
yellowhat
bff713aeb2
gcc: add v10.3 (#22894) 2021-04-13 08:14:43 +00:00
Jen Herting
85e70600ed
New package: r-tictoc (#22937) 2021-04-12 21:53:36 +00:00
Robert Mijakovic
a7d7f4e98a
vtk: new version, 9.0.1 (#22880)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lxp.lu>
2021-04-12 15:52:07 -06:00
Jen Herting
62e256d995
New Package: r-assertive-types (#22933) 2021-04-12 21:48:13 +00:00
Harmen Stoppels
782a7dc690
Add new versions of patchelf (#22939) 2021-04-12 21:42:38 +00:00
Asher Mancinelli
e30aff9b6b
Bump hiop version (#22884) 2021-04-12 14:30:46 -07:00