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

Distributed Example Runtime Error #46

Open
MarkintoshZ opened this issue Jul 23, 2022 · 2 comments
Open

Distributed Example Runtime Error #46

MarkintoshZ opened this issue Jul 23, 2022 · 2 comments
Assignees

Comments

@MarkintoshZ
Copy link
Contributor

Running cargo run --example distributed gives the following error

thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', examples/distributed.rs:28:50
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2022-07-23T18:19:31Z WARN  lunatic_process] Process 1 failed, notifying: 0 links
    			    (Set ENV variable `RUST_LOG=lunatic=debug` to show stacktrace)
@withtypes
Copy link
Contributor

The example assumes at least two nodes. I will fix the example, but I also have to check something when those distributed spawns are called on non-distributed lunatic.

@MarkintoshZ
Copy link
Contributor Author

It looks like the code is fixed! But I think we should add some docs so people know how to run this example.

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

No branches or pull requests

2 participants