GithubHelp home page GithubHelp logo

Comments (6)

SobhanMP avatar SobhanMP commented on July 23, 2024

What version of Julia are you using?

from sparsearrays.jl.

francispoulin avatar francispoulin commented on July 23, 2024

Using 1.10.0

from sparsearrays.jl.

ViralBShah avatar ViralBShah commented on July 23, 2024

Can you provide the exact way you check out Oceananigans, and the set of commands you run that produces that?

from sparsearrays.jl.

francispoulin avatar francispoulin commented on July 23, 2024

I decided to start from scratch as best i could

I first deleted my .julia file, hoping for a clean start. When I start julia there is nothing in my status. When I go into Oceananigans/benchmarks, I see there is stuff in my status, see below.

(Benchmarks) pkg> status
Project Benchmarks v0.1.0
Status `~/Software/TMP2_main/Oceananigans.jl/benchmark/Project.toml`
⌃ [fbb218c0] BSON v0.3.5
⌃ [6e4b80f9] BenchmarkTools v1.3.1
⌅ [052768ef] CUDA v3.9.0
⌃ [a93c6f00] DataFrames v1.3.3
⌃ [7a1cc6ca] FFTW v1.4.6
⌃ [40713840] IncompleteLU v0.2.0
⌃ [42fd0dbc] IterativeSolvers v0.9.2
⌃ [033835bb] JLD2 v0.4.22
⌅ [da04e1cc] MPI v0.19.2
  [9e8cae18] Oceananigans v0.76.0 `..`
⌃ [bac558e1] OrderedCollections v1.4.1
  [32113eaa] PkgBenchmark v0.2.12
⌃ [91a5bcdd] Plots v1.28.1
⌅ [08abe8d2] PrettyTables v1.3.1
⌃ [d330b81b] PyPlot v2.10.0
⌅ [d496a93d] SeawaterPolynomials v0.2.2
  [56ddb016] Logging

I start by doing instantaite but it seems to have some difficulties, as you can see below.

  151 dependencies successfully precompiled in 96 seconds. 8 already precompiled.
  2 dependencies had output during precompilation:
┌ LLVM
│  WARNING: could not import LLVMExtra_jll.libLLVMExtra into API
└  
┌ BFloat16s
│  WARNING: could not import Printf.ini_hex into BFloat16s
│  WARNING: could not import Printf.ini_HEX into BFloat16s
└  
  48 dependencies errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

Maybe this is a problem with how Oceananigans has the benchmarks set up?

Anyhow, from Oceananigans/benchmarks I try running one of the examples and that's when I get an error about SuiteSparse_jll. See below for the beginning part.

julia> include("benchmark_shallow_water_model.jl")
Precompiling BenchmarkTools
        Info Given BenchmarkTools was explicitly requested, output will be shown live 
ERROR: LoadError: ArgumentError: Package SparseArrays does not have SuiteSparse_jll in its dependencies:
- You may have a partially installed environment. Try `Pkg.instantiate()`
  to ensure all packages in the environment are installed.
- Or, if you have SparseArrays checked out for development and have
  added SuiteSparse_jll as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with SparseArrays
Stacktrace:
  [1] macro expansion
...

Sorry for the mess but I hope this is reproducable by others.  I tried this on two different machines and found the same errors.

And I did try `resolve` and that didn't do much but showed the following information,

(Benchmarks) pkg> resolve
ERROR: Unsatisfiable requirements detected for package CUDA [052768ef]:
CUDA [052768ef] log:
├─possible versions are: 0.1.0-5.3.3 or uninstalled
├─restricted to versions 3.8.0-3 by Benchmarks [ee90295e], leaving only versions: 3.8.0-3.13.1
│ └─Benchmarks [ee90295e] log:
│ ├─possible versions are: 0.1.0 or uninstalled
│ └─Benchmarks [ee90295e] is fixed to version 0.1.0
└─restricted to versions 4.1.1-5 by Oceananigans [9e8cae18] — no versions left
└─Oceananigans [9e8cae18] log:
├─possible versions are: 0.90.14 or uninstalled
├─restricted to versions * by Benchmarks [ee90295e], leaving only versions: 0.90.14
│ └─Benchmarks [ee90295e] log: see above
└─Oceananigans [9e8cae18] is fixed to version 0.90.14

from sparsearrays.jl.

fredrikekre avatar fredrikekre commented on July 23, 2024

Manifest files are tightly coupled with the Julia version that produced them. You have to either:

from sparsearrays.jl.

francispoulin avatar francispoulin commented on July 23, 2024

Thanks @fredrikekre .

As pointed out here , I was in dependency hell. I removed some and added them back in and now evertyhing seems to be running normally.

from sparsearrays.jl.

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.