Commit graph

11192 commits

Author SHA1 Message Date
Cody Balos
0d0358733d amrex: add sundials variant (#11147) 2019-04-11 10:43:11 -05:00
brietzke
d0e281e201 libxsmm package: add variant to build generator executables (#11114) 2019-04-10 16:34:38 -07:00
clellsolomon
7ec12c59ab fzf package: change mirror and add vim plugin (#10920)
This commit edits the Makefile to use github.com mirrors rather than the
default mirrors of the dependency packages installed by GO.
2019-04-10 16:23:37 -07:00
Chuck Atkins
f1bdaa11d4 New Packages: ecp-io-sdk and ecp-viz-sdk (#11073) 2019-04-10 16:18:05 -07:00
Peter Scheibel
ea1de6b941 Maintain a view for an environment (#10017)
Environments are nowm by default, created with views.  When activated, if an environment includes a view, this view will be added to `PATH`, `CPATH`, and other shell variables to expose the Spack environment in the user's shell.

Example:

```
spack env create e1 #by default this will maintain a view in the directory Spack maintains for the env
spack env create e1 --with-view=/abs/path/to/anywhere
spack env create e1 --without-view
```

The `spack.yaml` manifest file now looks like this:

```
spack:
  specs:
  - python
  view: true #or false, or a string
```

These commands can be used to control the view configuration for the active environment, without hand-editing the `spack.yaml` file:

```
spack env view enable
spack env view envable /abs/path/to/anywhere
spack env view disable
```

Views are automatically updated when specs are installed to an environment. A view only maintains one copy of any package. An environment may refer to a package multiple times, in particular if it appears as a dependency. This PR establishes a prioritization for which environment specs are added to views: a spec has higher priority if it was concretized first. This does not necessarily exactly match the order in which specs were added, for example, given `X->Z` and `Y->Z'`:

```
spack env activate e1
spack add X
spack install Y # immediately concretizes and installs Y and Z'
spack install # concretizes X and Z
```

In this case `Z'` will be favored over `Z`. 

Specs in the environment must be concrete and installed to be added to the view, so there is another minor ordering effect: by default the view maintained for the environment ignores file conflicts between packages. If packages are not installed in order, and there are file conflicts, then the version chosen depends on the order.

Both ordering issues are avoided if `spack install`/`spack add` and `spack install <spec>` are not mixed.
2019-04-10 16:00:12 -07:00
Eric Martin
8f1ebfc73c py-requests: Add missing dependencies for versions 2.16.0 and up (#10996) 2019-04-10 15:38:28 -07:00
Mario Melara
a1db22ba1a Unload altd and darshan (#11162) 2019-04-10 13:19:41 -07:00
Peter Scheibel
c1f8fdd5df
Add documentation for chaining Spack instances (#11152)
Add documentation for the Spack chain feature added in #8772
2019-04-10 11:54:13 -07:00
Patrick Gartung
a5315f3878
Fix bug when system perl is used. (#11034)
* Fix bug when system perl is used.

If system perl is being used through packages.yaml there cannot be dependent modules.
The  setup_dependent_packages function should not do anything in that case.
2019-04-10 08:44:27 -05:00
Denis Davydov
1e9748a3c8 dealii: fix build with tbb from intel parallel studio (#11138) 2019-04-10 14:51:38 +02:00
Denis Davydov
b2611c8086 suite-sparse: fix tbb patching (#11155) 2019-04-10 09:21:54 +02:00
Michael Kuhn
1ac576923f libfabric: Add 1.7.1 (#11141) 2019-04-09 18:38:15 -05:00
Matthias Diener
687a7db73f wget: add version 1.20.3 (#11148) 2019-04-09 18:37:04 -05:00
George Hartzell
0256766ab9 Typo: Unkown -> Unknown (#11150) 2019-04-09 18:36:45 -05:00
Denis Davydov
1f1ea2c859 intel: consolidate libs() in the base class (#11143)
* intel: consolidate libs() in the base class

* white space

* flake8
2019-04-09 13:54:21 -07:00
Denis Davydov
82455a30d0 openmpi: add 4.0.1 (#11126)
* openmpi: add 4.0.1

* openmpi: enable-mpi1-compatibility for 4.0.1 and above

* remove preferred

* make 3.1.3 preferred
2019-04-09 21:41:14 +02:00
Satish Balay
a9bf3bdd6a
xsdk@develop: enable hypre shared (even on OSX) and superlu-dist variant (#11131) 2019-04-09 08:42:44 -05:00
Owen Solberg
c6a7d0db03 cdhit - add new release 4.8.1 checksum (#11130) 2019-04-09 10:33:07 +02:00
Satish Balay
6e78730a97 mumps: add version 5.1.2 (#11132)
Add patch for gfortran-8 runtime errors
2019-04-09 10:28:41 +02:00
Patrick Gartung
aac3799d2c
Unset SPACK_INCLUDE_DIRS so the compiler wrapper does not prepend any -I flags. The assumption is that cmake will set the correct include flags. (#11129) 2019-04-08 14:30:22 -05:00
Michael Kuhn
db98f16382 zfp: Add 0.5.4 (#11016) 2019-04-08 09:11:28 +02:00
thelfer
3b5d7bfa99 Add new TFEL' versions (3.0.4, 3.1.4 and 3.2.1). Add new MGIS version (1.0.1). (#11109) 2019-04-08 09:09:14 +02:00
Cameron Smith
0e04410044 kokkos: update cuda conflict (#11110)
see https://github.com/spack/spack/pull/10943#issuecomment-475303870
2019-04-08 08:58:35 +02:00
Levi Baber
6e4b234d13 sra-toolkit new version (#11111) 2019-04-08 08:56:49 +02:00
Satish Balay
d11b1b18f0
netlib-scalapack: fix compatibility with mpi2 i.e openmpi-4 (#11124) 2019-04-07 10:01:54 -05:00
Abhinav Bhatele
ed66ccb6f2 ecp-proxy-apps: update version (#11119) 2019-04-06 15:33:29 -07:00
Scott Wittenburg
3616617804 Allow spack install to take either cdash stamp or track (#11106)
When providing a track, the cdash reporter will format the stamp
itself, as it has always done, and register the build during the
package installation process.  When providing a stamp, it should
first be formatted as cdash expects, and then cdash will be sure
to report results to same build id which was registered manually
elsewhere.
2019-04-06 15:30:34 -07:00
Satish Balay
90c7c74334
hypre: disable variant superlu-dist default (#11097) 2019-04-05 21:11:36 -05:00
Greg Becker
8a17282001 Fix reading externals from old databases (#11118)
* Update Spec.prefix to have special case for 'None' in database path; regression test
* Update in database reader rather than spec
* Change assertion to conditional + raise
* Added test for concrete check in Spec.prefix
2019-04-05 14:58:57 -07:00
Gregory Lee
af3e91926a fixes py-basemap package (#11104)
* fixes py-basemap package
* remove basemap mpl_toolkit __init__.py
2019-04-05 11:27:23 -07:00
Michael Kuhn
320e00276f Fix module_parsing test (#11087)
The module_parsing test checks whether the module function is available
by looking for the string 'not found'. If the user has set a different
locale, the test can assume that the module function is available when
it actually is not.
2019-04-05 11:26:40 -07:00
Patrick Gartung
f1f582714c
Set Geant4 cmake module path environment variable in dependents. (#11112) 2019-04-04 13:09:13 -05:00
Marco Comparato
553acbbe3d xcb-util-wm: add m4 build system dependency (#11056) 2019-04-04 13:11:02 +02:00
Abhinav Bhatele
8da6593e43 miniamr: add develop version and update release (#11101)
* miniamr: add develop version and update release

* change from url to git

* add url back
2019-04-03 16:17:04 -06:00
Abhinav Bhatele
5f3620f7ac raja: add newer versions (#11102) 2019-04-03 12:09:45 -06:00
Abhinav Bhatele
b2a2c31883 laghos: update dependencies (#11100) 2019-04-03 11:22:40 -06:00
Abhinav Bhatele
af2d166adf AMG: update version (#11099) 2019-04-03 11:11:06 -06:00
Phil Carns
03bb6500f3 fio package: add optional libaio dependency (#11083) 2019-04-02 18:21:45 -07:00
Neil Flood
c3e5c9981a proj package: add versions 5.2.0 and 5.1.0 (#11079)
* Add versions 5.2.0 and 5.1.0
* Avoid adding version 6.0.0: this version has a new API that is
  not compatible with older versions (and dependents may break with
  it)
* Added comment block explaining the problems with version 6.x
* Replace old datumgrid resource (1.7) with new (1.8)
* Add speculative sqlite dependency for when a 6.x version is added
2019-04-02 18:18:56 -07:00
Elsa Gonsiorowski, PhD
9b5ce67f1e ross package: add version 7.0.1 (#11078)
* add version 7.0.1
* replace md5 with sha256 for various versions.
* v7.0.1 fixes some environment hacking to properly find MPI and
  system architecture
2019-04-02 17:50:41 -07:00
Tim Fuller
a9ae507152 Fix directory layout using namespace (#11076)
Directory layouts using ${NAMESPACE} were broken. This addresses that
and adds a test to prevent regression.
2019-04-02 17:47:57 -07:00
Ryan S. Elliott
3c641f47cd kim-api and openkim-models: version update and rename (#11065) 2019-04-02 17:44:24 -07:00
Jon Rood
0cb08e42f5 Trilinos: Add Tpetra_INST_INT_LONG_LONG to explicit template instantiation (#11060) 2019-04-02 17:38:52 -07:00
Seth R. Johnson
f237c81060 openmpi: Add stub mpirun script for openmpi~legacylaunchers+slurm (#11059)
This adds a stub script for mpirun and other standard executables
when installing OpenMPI with slurm. The purpose is to make the
removal less of a surprise to administrators/users: it explains why
they were removed and how to restore them.
2019-04-02 17:34:25 -07:00
Justin Stanley
3988732ef4 r-hoardr: new package at 0.5.2 (#11051) 2019-04-02 17:28:05 -07:00
Justin Stanley
6500310b08 r-roxygen2 package: added 6.1.1, more dependencies (#11045) 2019-04-02 17:27:04 -07:00
Justin Stanley
f459bba322 r-rhmmer: new package at 0.1.0 (#11050) 2019-04-02 17:25:55 -07:00
Justin Stanley
f5d61f8f58 r-commonmark: new package at 1.7 (#11049) 2019-04-02 17:22:42 -07:00
Justin Stanley
8710203e08 r-pkgload: new package at 1.0.2 (#11047) 2019-04-02 17:21:55 -07:00
Justin Stanley
6ac99f6275 r-desc: new package at 1.2.0 (#11048) 2019-04-02 17:10:24 -07:00