Commit Graph

22295 Commits

Author SHA1 Message Date
Peter Scheibel
76b1d97ca5 "spack build-env" searches env for relevant spec (#21642)
If you install packages using spack install in an environment with
complex spec constraints, and the install fails, you may want to
test out the build using spack build-env; one issue (particularly
if you use concretize: together) is that it may be hard to pass
the appropriate spec that matches what the environment is
attempting to install.

This updates the build-env command to default to pulling a matching
spec from the environment rather than concretizing what the user
provides on the command line independently.

This makes a similar change to spack cd.

If the user-provided spec matches multiple specs in the environment,
then these commands will now report an error and display all
matching specs (to help the user specify).

Co-authored-by: Gregory Becker <becker33@llnl.gov>
2021-02-23 11:45:50 -08:00
Peter Scheibel
e72ad6223a reduce strictness of directory layout spec-equality check (#21869) 2021-02-23 09:53:07 -08:00
Brian Van Essen
f9ff80e213 lbann: updated python dependencies and new variants (#21863)
* Made DiHydrogen a required dependencies on newer versions of LBANN.
Added an explicit variant for enabling Boost-dependent callbacks.
Updated the separation for embedded Python and the Python front end
code and associated dependencies.

* Bugfix on ROCm include in DiHydrogen
2021-02-23 17:09:46 +00:00
Olivier Cessenat
9f9de3bcba octave-arduino: new package at v0.2.0 (#21874) 2021-02-23 13:55:22 +01:00
Harmen Stoppels
0664b90751 Drop compiler variables from spack load (#21699)
Drops:

* C_INCLUDE_PATH
* CPLUS_INCLUDE_PATH
* LIBRARY_PATH
* INCLUDE

We already decided to use C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, INCLUDE over CPATH here:

https://github.com/spack/spack/pull/14749

However, none of these flags apply to Fortran on Linux. So for consistency it seems better to make the user use -I and -L flags by hand or through pkgconfig.
2021-02-23 13:35:19 +01:00
eugeneswalker
b1ae7592ca margo is now mochi-margo (#21851)
unifyfs dependency margo is now mochi-margo following deprecation commit c55406a
2021-02-23 11:15:32 +01:00
Olivier Cessenat
b185a2c24c octave-instrctl: new package at v0.3.1 (#21845) 2021-02-23 11:14:07 +01:00
Olivier Cessenat
ccb4e3da05 octave-optim: add v1.6.1 (#21844) 2021-02-23 11:13:38 +01:00
Olivier Cessenat
837917be53 octave-struct: add v1.0.17 (#21846) 2021-02-23 11:13:17 +01:00
Olivier Cessenat
8ebbf80d15 octave-splines: new version 1.3.3 (#21847) 2021-02-23 10:40:04 +01:00
Satish Balay
a3c9d1b501 xsdk: update build to follow strumpack change (#21871)
Change happened in 671f0ff32b
2021-02-23 10:22:44 +01:00
Olivier Cessenat
56af6ac79f octave-signal: new package at v1.4.1 (#21872) 2021-02-23 10:20:04 +01:00
Olivier Cessenat
ce7cb8bfc7 octave-statistics: new package at v1.4.2 (#21873) 2021-02-23 10:17:07 +01:00
Axel Huebl
bcc370102f openblas: add "locking" variant, updated blaspp (#21770)
BlasPP by ECP SLATE will fail to install by default
(`spack install blaspp`) because:
- the default BLAS installation in Spack is OpenBLAS
- BlasPP conflicts with `threads=none` for all recent OpenBLAS releases

OpenBLAS introduced a threadsafe compile option
with 0.3.7+ aka `USE_LOCKING`:
```
   61 # If you want to build a single-threaded OpenBLAS, but expect to call this
   62 # from several concurrent threads in some other program, comment this in for
   63 # thread safety. (This is done automatically for USE_THREAD=1 , and should not
   64 # be necessary when USE_OPENMP=1)
   65 # USE_LOCKING = 1
```

According to tests, with `spack install --test root blaspp`,
this exactly addresses the issues in BlasPP tests.

It also seems to be a good option to set by default for OpenBLAS and
users that do not need this safety net can always disable it.

Solve issues with newer OpenBLAS by requiring
`+locking` over none-default threading options.
2021-02-23 09:16:02 +01:00
Massimiliano Culpo
7226bd64dc Improve error message for inconsistencies in package.py (#21811)
* Improve error message for inconsistencies in package.py

Sometimes directives refer to variants that do not exist.
Make it such that:

1. The name of the variant
2. The name of the package which is supposed to have
   such variant
3. The name of the package making this assumption

are all printed in the error message for easier debugging.

* Add unit tests
2021-02-22 19:09:43 -08:00
Todd Gamblin
56e57769bd Merge tag 'v0.16.1' into develop 2021-02-22 17:41:46 -08:00
Brian Van Essen
c9246af112 Adding support for ROCm for the LBANN software stack. (#21716)
* Also removed LBANN CUDA CMake flags that are set by the
version of Hydrogen that is compiled against.

* Updated recipes to use HWLOC 2.3 with ROCm to enable
topology awareness.

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2021-02-22 23:35:58 +01:00
Greg Becker
482a1a86be respect -k/verify-ssl-false in _existing_url method (#21864) 2021-02-22 22:00:59 +00:00
emai-imcs
73da7b6de6 py-fenics-ffc: new package to support fenics (#21862)
* new Python FFC package to support FEniCS 2018 onwards

* added py-dijitso dependency

* added fenics python ffc package
2021-02-22 15:10:28 -06:00
Andrew W Elble
08054ffce7 py-torch: ensure libtorch_global_deps is linked with the c++ library (#21860)
* py-torch: ensure libtorch_global_deps is linked with the c++ library

* add comment with upstream issue
2021-02-22 19:02:10 +00:00
eugeneswalker
04a8e59872 amrex: add +pic variant (#21849) 2021-02-22 10:54:00 -08:00
Sergei Shudler
671f0ff32b STRUMPACK: Add e4s testsuite-inspired smoke test (#21705) 2021-02-22 10:46:04 -08:00
Olivier Cessenat
0dbb90b565 New Package: octave-quaternion (#21855) 2021-02-22 10:08:45 -08:00
Olivier Cessenat
3069512b13 New Package: octave-io (#21850) 2021-02-22 10:06:57 -08:00
Olivier Cessenat
6aacdbbc76 New Package: octave-gsl (#21854) 2021-02-22 09:46:29 -08:00
Olivier Cessenat
f7dae98eed New Package: octave-quaternion (#21856) 2021-02-22 09:43:46 -08:00
Olivier Cessenat
7e144b6841 New Package: octave-symbolic (#21857) 2021-02-22 09:42:50 -08:00
Harmen Stoppels
3d051ef5b3 Fix typo (#21859) 2021-02-22 09:23:04 -08:00
a-saitoh-fj
920a65a765 New package: py-dask-xgboost (#21583)
* New package: py-dask-xgboost

* py-dask-xgboost: Fixed what was pointed out
2021-02-22 10:39:48 -06:00
Tomoki, Karatsu
f6b0f52fb2 py-dask-ml: add new package. (#21831)
* py-dask-ml: add new package.

* Modified to PythonPackage.

* Remove test-related dependencies.

* Changed to execute docs build after install.
2021-02-22 10:32:39 -06:00
ketsubouchi
251e4e30b3 redland: new package at v 1.0.17 (#21837) 2021-02-22 12:29:59 +00:00
ketsubouchi
3a5ee398f4 rasqal: add new package at v0.9.33 (#21836) 2021-02-22 09:51:45 +00:00
Olivier Cessenat
074a6f224f harfbuzz: allows compilation standard being set properly for gcc (#21810) 2021-02-22 10:50:25 +01:00
Olivier Cessenat
075bb3bb96 mapnik: now compiles smoothly on recent gcc thanks to harfbuzz package altered (#21812) 2021-02-22 10:39:50 +01:00
takanori-ihara
10c9cac498 eigenexa: fix build error and add test method (#21692) 2021-02-22 10:36:44 +01:00
iarspider
4f65f60045 yoda: add v1.8.5, tighten cython dependency (#21832) 2021-02-22 10:20:08 +01:00
Olivier Cessenat
830ee07874 qrupdate: use the requested compiler from Spack (#21841)
qrupdate did hard set FC=gfortran

Parallel compilation is now allowed calling $(MAKE) instead of 
make for subprocess see:
https://stackoverflow.com/questions/24818095/warning-forced-in-submake-in-parallel-execution-of-make

The build phase is split since the process always requires a target.
2021-02-22 09:17:46 +00:00
Olivier Cessenat
7c65f03db7 octave: add v6.2.0 (#21833) 2021-02-22 10:15:20 +01:00
kuramoto-fj
8e8c599299 pfapack: forbid building in parallel (#21826)
There are cases where parallel build fails.
2021-02-22 10:04:29 +01:00
ketsubouchi
14ad4fe5fb raptor2: new package at v2.0.15 (#21835) 2021-02-22 10:01:05 +01:00
Tomoyasu Nojiri
b61607e3c4 nim: add v1.4.2, deprecated old versions (#21790) 2021-02-22 09:30:39 +01:00
takanori-ihara
26d2356ad4 genesis: New package. (#21183)
* genesis: New package.

* fujitsu-ssl2: fix unit test error

* genesis: Fix for comments and add test method

* genesis: Fix for comments

* genesis: Fix for comments
2021-02-22 04:06:56 +00:00
Tomoki, Karatsu
2d1fbddebe py-dask-glm: Add new package. (#21828) 2021-02-22 01:03:05 +00:00
Tomoki, Karatsu
e66b1d4596 py-nbconvert: add function 'setup_dependent_build_environment'. (#21827)
* py-nbconvert: add function 'setup_dependent_build_environment'.

* add 'setup_dependent_run_environment'

* add 'setup_run_environment'.
2021-02-21 11:13:23 -06:00
Mosè Giordano
f4e4dba4ef libblastrampoline: new package (#21825)
* libblastrampoline: new package

* Apply suggestions from code review

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-02-20 23:14:16 +00:00
iarspider
0cc5f629a6 Add checksum for form 4.1 (#21808) 2021-02-20 15:00:29 -06:00
downloadico
1fc4213bd5 masurca: add version 4.0.1 (#21816)
Now using the install.sh script to install into the prefix.
2021-02-20 14:54:39 -06:00
Howard Pritchard
4bd8cd1916 openmpi: add variant for using internal hwloc (#19109)
It turns out there are certain cases where having Open MPI use an external hwloc messes up other
applications that also rely on hwloc, but a different version.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2021-02-20 09:52:34 +01:00
Axel Huebl
aa01123bba VTK-m: fixed inconsistencies in directives (#21820)
* VTK-m: No `pic` variant

A leftover conflict between `shared` and `pic` variants, the
latter is not part of the package anymore, leads to a solver
error with clingo.

This removes the outdated conflict section.

* VTK-m: Kokkos AMD GPU variant changed
2021-02-20 09:47:55 +01:00
Patrick Schratz
f65e6ae4e6 update R to v4.0.4 (#21815) 2021-02-19 19:12:30 -06:00