Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
e378d4ee
Commit
e378d4ee
authored
6 years ago
by
Denis Davydov
Committed by
Massimiliano Culpo
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
dealii: add msg= to conflicts statements (#8509)
parent
5be89bfb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/dealii/package.py
+30
-15
30 additions, 15 deletions
var/spack/repos/builtin/packages/dealii/package.py
with
30 additions
and
15 deletions
var/spack/repos/builtin/packages/dealii/package.py
+
30
−
15
View file @
e378d4ee
...
@@ -155,21 +155,36 @@ class Dealii(CMakePackage, CudaPackage):
...
@@ -155,21 +155,36 @@ class Dealii(CMakePackage, CudaPackage):
depends_on
(
'
trilinos@master+amesos+aztec+epetra+ifpack+ml+muelu+rol+sacado+teuchos~hypre~amesos2~ifpack2~intrepid2~kokkos~tpetra~zoltan2
'
,
when
=
'
+trilinos+mpi+int64+cuda
'
)
depends_on
(
'
trilinos@master+amesos+aztec+epetra+ifpack+ml+muelu+rol+sacado+teuchos~hypre~amesos2~ifpack2~intrepid2~kokkos~tpetra~zoltan2
'
,
when
=
'
+trilinos+mpi+int64+cuda
'
)
# check that the combination of variants makes sense
# check that the combination of variants makes sense
conflicts
(
'
^openblas+ilp64
'
,
when
=
'
@:8.5.1
'
)
# 64-bit BLAS:
conflicts
(
'
^intel-mkl+ilp64
'
,
when
=
'
@:8.5.1
'
)
for
p
in
[
'
openblas
'
,
'
intel-mkl
'
,
'
intel-parallel-studio+mkl
'
]:
conflicts
(
'
^intel-parallel-studio+mkl+ilp64
'
,
when
=
'
@:8.5.1
'
)
conflicts
(
'
^{0}+ilp64
'
.
format
(
p
),
when
=
'
@:8.5.1
'
,
conflicts
(
'
+assimp
'
,
when
=
'
@:8.5.1
'
)
msg
=
'
64bit BLAS is only supported from 9.0.0
'
)
conflicts
(
'
+gmsh
'
,
when
=
'
@:8.5.1
'
)
conflicts
(
'
+nanoflann
'
,
when
=
'
@:8.5.1
'
)
# interfaces added in 9.0.0:
conflicts
(
'
+scalapack
'
,
when
=
'
@:8.5.1
'
)
for
p
in
[
'
assimp
'
,
'
gmsh
'
,
'
nanoflann
'
,
'
scalapack
'
,
'
sundials
'
,
conflicts
(
'
+sundials
'
,
when
=
'
@:8.5.1
'
)
'
adol-c
'
]:
conflicts
(
'
+adol-c
'
,
when
=
'
@:8.5.1
'
)
conflicts
(
'
+{0}
'
.
format
(
p
),
when
=
'
@:8.5.1
'
,
conflicts
(
'
+slepc
'
,
when
=
'
~petsc
'
)
msg
=
'
The interface to {0} is supported from version 9.0.0
'
conflicts
(
'
+gsl
'
,
when
=
'
@:8.4.2
'
)
'
onwards. Please explicitly disable this variant
'
conflicts
(
'
+python
'
,
when
=
'
@:8.4.2
'
)
'
via ~{0}
'
.
format
(
p
))
for
p
in
[
'
+arpack
'
,
'
+hdf5
'
,
'
+netcdf
'
,
'
+p4est
'
,
'
+petsc
'
,
'
+scalapack
'
,
'
+slepc
'
,
'
+trilinos
'
]:
conflicts
(
'
+slepc
'
,
when
=
'
~petsc
'
,
conflicts
(
p
,
when
=
'
~mpi
'
)
msg
=
'
It is not possible to enable slepc interfaces
'
'
without petsc.
'
)
# interfaces added in 8.5.0:
for
p
in
[
'
gsl
'
,
'
python
'
]:
conflicts
(
'
+{0}
'
.
format
(
p
),
when
=
'
@:8.4.2
'
,
msg
=
'
The interface to {0} is supported from version 8.5.0
'
'
onwards. Please explicitly disable this variant
'
'
via ~{0}
'
.
format
(
p
))
# MPI requirements:
for
p
in
[
'
arpack
'
,
'
hdf5
'
,
'
netcdf
'
,
'
p4est
'
,
'
petsc
'
,
'
scalapack
'
,
'
slepc
'
,
'
trilinos
'
]:
conflicts
(
'
+{0}
'
.
format
(
p
),
when
=
'
~mpi
'
,
msg
=
'
To enable {0} it is necessary to build deal.II with
'
'
MPI support enabled.
'
.
format
(
p
))
def
cmake_args
(
self
):
def
cmake_args
(
self
):
spec
=
self
.
spec
spec
=
self
.
spec
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment