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

Error with Distributed since #323 #327

Closed
pablosanjose opened this issue Dec 12, 2024 · 0 comments · Fixed by #328
Closed

Error with Distributed since #323 #327

pablosanjose opened this issue Dec 12, 2024 · 0 comments · Fixed by #328

Comments

@pablosanjose
Copy link
Owner

pablosanjose commented Dec 12, 2024

MWE:

using Distributed
addprocs(1)

@everywhere using Quantica

function get_g()
    g = LP.linear() |> hopping(1) |> attach(nothing, cells = 0) |> greenfunction
    return g[1]
end

g = get_g()
remotecall_fetch(g, 2, 0)

After #323 this errors with

ERROR: On worker 2:
TypeError: in typeassert, expected Symbol, got a value of type String

Note that before #323, g gets properly serialized and sent to remote workers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant