Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error when running example code UndefVarError: libsgtsnepi not defined #396

Open
NebulaComplex opened this issue Sep 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@NebulaComplex
Copy link

Julia v1.10.4 on JupyterLab
SGtSNEpi v0.3.6

When I run the example code from https://juliagraphs.org/Graphs.jl/dev/first_steps/plotting/

using GLMakie, SGtSNEpi, SNAPDatasets
GLMakie.activate!()

g = loadsnap(:as_caida)
y = sgtsnepi(g)
show_embedding(y;
  A = adjacency_matrix(g),        # show edges on embedding
  mrk_size = 1,                   # control node sizes
  lwd_in = 0.01, lwd_out = 0.001, # control edge widths
  edge_alpha = 0.03               # control edge transparency
)

I get the error:

UndefVarError: libsgtsnepi not defined

Stacktrace:
[1] _sgtsnepi_c(P::SparseArrays.SparseMatrixCSC{Float64, Int64}, d::Int64, max_iter::Int64, early_exag::Int64, λ::Int64; Y0::Ptr{Nothing}, np::Int64, h::Float64, bb::Float64, eta::Float64, run_exact::Bool, fftw_single::Bool, alpha::Int64, profile::Bool, drop_leaf::Bool, list_grid_size::Vector{Int64}, par_scheme_grid_thres::Int64)
@ SGtSNEpi ~/.julia/packages/SGtSNEpi/aDIqm/src/sgtsne.jl:260
[2] sgtsnepi(A::SparseArrays.SparseMatrixCSC{Float64, Int64}; d::Int64, λ::Int64, max_iter::Int64, early_exag::Int64, Y0::Nothing, profile::Bool, np::Int64, version::SGtSNEpi.SGTSNEPI_VERSION, h::Float64, u::Int64, k::Int64, eta::Float64, alpha::Int64, fftw_single::Bool, exact::Bool, drop_leaf::Bool, list_grid_size::Vector{Int64}, bound_box::Float64, flag_unweighted_to_weighted::Bool, par_scheme_grid_thres::Int64)
@ SGtSNEpi ./array.jl:0
[3] sgtsnepi(A::SparseArrays.SparseMatrixCSC{Float64, Int64})
@ SGtSNEpi ~/.julia/packages/SGtSNEpi/aDIqm/src/sgtsne.jl:125
[4] sgtsnepi(G::Graphs.SimpleGraphs.SimpleGraph{Int64})
@ SGtSNEpi ~/.julia/packages/SGtSNEpi/aDIqm/src/sgtsne.jl:98
[5] top-level scope
@ In[2008]:4

@NebulaComplex NebulaComplex added the bug Something isn't working label Sep 1, 2024
@gdalle
Copy link
Member

gdalle commented Sep 19, 2024

Hi! Thanks for noticing this. I think it might be an issue on the side of SGtSNEpi.jl, maybe @fcdimitr can help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants