Giter Club home page Giter Club logo

Comments (2)

syamalpraneeth avatar syamalpraneeth commented on June 19, 2024 1

Thank you @kwryankrattiger! I could resolve this issue by modifying your solution in the following attributes:

providers:
  # force openmpi as the mpi provider
     mpi: [openmpi]

and

    cuda:
      require: ['11.7:', ~allow-unsupported-compilers]

Ran into other issues later, which I can now say are different from this topic, so I will mark this topic as closed.

from spack.

kwryankrattiger avatar kwryankrattiger commented on June 19, 2024

What is happening is you are actually specifying two variants of ParaView with unify: true. The first is the one listed in the environment, the second is the one is on the command line.

Instead of installing ParaView from the command line with all of those packages and variants listed on the command line, put all of those in the spack.yaml as the list of specs/packages.

spack:
  packages:
    all:
      providers:
        # force openmpi as the mpi provider
        mpi:: [openmpi]
    paraview:
      require: [+cuda cuda_arch=70, +adios2 +hdf5 +qt +python]
    libfabric:
      require: [@1.15.1, fabrics=sockets,tcp,udp,verbs,mlx]
    ucx:
      require: [@1.13.0, +cma +dc +ib_hw_tm +mlx5_dv +optimizations +rc +rdmacm +ucg +ud +verbs]
    openmpi:
      require: [@4.1.4, fabrics=ucx,hcoll,ofi]
    cuda:
      require: [@11.7:, ~allow-unsupported-compilers]
  specs:
  - cmake
  - paraview

And then concretize the environment like it told you to.

spack concretize -f

from spack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.