visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
438 stars 116 forks source link

spack fails building VisIt without the gui. #17701

Open brugger1 opened 2 years ago

brugger1 commented 2 years ago

Cecilia reported being unable to build VisIt with spack with the gui disabled.

Here are her comments.

I have downloaded spack version v0.18.0 and it has visit 3.2.1 (I had been successfully installing visit 3.2.1 using the public spack version before). However, now I am getting concretization errors trying to install with

visit@3.2.1~gui~mpi ^python@3.7.12 ^libdrm@2.4.100 ^py-setuptools@51.0.0 ^glib@2.70.4

gives the following concretization error

==> Error: 'mesa-glu' required multiple values for single-valued variant 'osmesa' Requested '~osmesa' and '+osmesa'

Adding osmesa

visit@3.2.1~gui+osmesa~mpi ^python@3.7.12 ^libdrm@2.4.100 ^py-setuptools@51.0.0 ^glib@2.70.4

gives

==> Error: 'mesa-glu' required multiple values for single-valued variant 'osmesa' Requested '~osmesa' and '+osmesa'

Adding mesa-glu

visit@3.2.1~gui+mesa-glu+osmesa~mpi ^python@3.7.12 ^libdrm@2.4.100 ^py-setuptools@51.0.0 ^glib@2.70.4

gives

==> Error: trying to set variant "mesa-glu" in package "visit", but the package has no such variant [happened during concretization of visit@3.2.1~gui+mesa-glu~mpi+osmesa ^glib@2.70.4 ^libdrm@2.4.100 ^py-setuptools@51.0.0 ^python@3.7.12]

So, I am at a loss regarding how to build visit 3.2.1 without the gui. Any help would be appreciated.

Cecilia

brugger1 commented 2 years ago

Cecilia reported that the version she tried 2 months ago built without the gui. This means something outside of the VisIt module changed since its been over 2 months since we modified the module.