Skip to content

Unable to concretize with Clingo when libyogrt is part of dependency tree #20611

@joshessman-llnl

Description

@joshessman-llnl

Steps to reproduce the issue

Any of the above result in the same error:

$ spack spec -I libyogrt
$ spack spec -I scr # SCR depends on libyogrt
$ spack spec -I axom # axom depends on SCR
$ spack spec -I macsio # macsio depends on SCR
...

Error Message

Concretized
--------------------------------
==> Error: invalid values for variant "scheduler" in package "libyogrt": ['lsf']

I imagine this is because

conflicts('scheduler=lsf', when='@:1.22')

references an invalid value of the 'scheduler` variant:

values=['system', 'slurm'], multi=False)

Adding lsf to the possible values for scheduler fixes the issue, but I am not sure that this fix is correct.

Information on your system

  • Spack: 0.16.0
  • Python: 3.7.2
  • Platform: linux-rhel7-power9le
  • Concretizer: clingo

Additional information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have searched the issues of this repo and believe this is not a duplicate
  • I have run the failing commands in debug mode and reported the output

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions