Coder Social home page Coder Social logo

Spack build failing about norse HOT 3 CLOSED

Jegp avatar Jegp commented on July 24, 2024
Spack build failing

from norse.

Comments (3)

muffgaga avatar muffgaga commented on July 24, 2024

Hmm, I initially thought that this is related to some changed variant settings in upstream spack (we use the latest release… so maybe something changed) — but all options are still there… so maybe it's the combination.
Regarding bumping the version → norse uses depends_on("[email protected]:", type=("build", "run")) which means "everything >= 1.9.0"…
I try to reproduce locally.

from norse.

muffgaga avatar muffgaga commented on July 24, 2024

Looks like we disable cuda and cudnn — but the latter can't be disabled if cuda is already disabled ;)… see #333

Upstream definition of this variant can be found here (the when='+cuda' disables this variant completely if cuda is gone).
This "conditional variant" was introduced for py-torch in spack upstream in py-torch: use conditional variants.

from norse.

muffgaga avatar muffgaga commented on July 24, 2024

Ok, my first commit #333 would have fixed https://github.com/norse/norse/runs/6843260254?check_suite_focus=true#step:4:363 but not the errors in subsequent builds — maybe this is related to the ARCH variable setting a specific processor architecture for spack… jap, looks like it — https://github.com/norse/norse/runs/7045092304?check_suite_focus=true started building norse again (i.e. concretization of the dependencies worked). However, this now rebuilds all the dependencies before building norse → this will take a while (maybe we also need some retries to fill the cache with package build files). Maybe related to some machine config change (as the spack version didn't change since end of May) yielding a change in what spack determines as ARCH… our setting of ARCH in the build script does not match the machine anymore → spack can't find the system compiler anymore.

from norse.

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.