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

cluster_cookie() issues UndefRefError on v0.7-rc2 #28499

Closed
raminammour opened this issue Aug 7, 2018 · 4 comments
Closed

cluster_cookie() issues UndefRefError on v0.7-rc2 #28499

raminammour opened this issue Aug 7, 2018 · 4 comments
Assignees
Labels
domain:parallelism Parallel or distributed computation kind:bug Indicates an unexpected problem or unintended behavior

Comments

@raminammour
Copy link
Contributor

Just noticed this:

julia> cluster_cookie()
ERROR: UndefRefError: access to undefined reference
Stacktrace:
 [1] getproperty at ./sysimg.jl:18 [inlined]
 [2] cluster_cookie() at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Distributed/src/cluster.jl:647
 [3] top-level scope at none:0

julia> versioninfo()
Julia Version 0.7.0-rc2.0
Commit 78540cba4c (2018-08-02 19:14 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, sandybridge)

Cheers!

@fredrikekre fredrikekre added the kind:bug Indicates an unexpected problem or unintended behavior label Aug 7, 2018
@JeffBezanson
Copy link
Sponsor Member

Out of curiosity, what is the reason for calling this directly? It can still be fixed of course.

@JeffBezanson JeffBezanson added the domain:parallelism Parallel or distributed computation label Aug 7, 2018
@raminammour
Copy link
Contributor Author

It is called by ClusterManagers to generate the random cookie. Incidentally cluster_cookie(cookie) still works, I thought I can use that as a workaround.

However, something between beta2 and rc2 broke ClusterManagers even if I run cluster_cookie("whatever") before (but that is a separate issue to take with that package that has not updated to 0.7 yet...).

Thanks for the help!

@raminammour
Copy link
Contributor Author

Ok some advance, calling Distributed.init_multi() manually before using ClusterManagers fixes ClusterManagers. So I guess it is deeper than just cluster_cookie and prob this is prob related too #28140.

Cheers!

@JeffBezanson
Copy link
Sponsor Member

Yes, that is the cause.

@JeffBezanson JeffBezanson self-assigned this Aug 14, 2018
KristofferC pushed a commit that referenced this issue Aug 19, 2018
KristofferC pushed a commit that referenced this issue Aug 19, 2018
KristofferC pushed a commit that referenced this issue Aug 19, 2018
KristofferC pushed a commit that referenced this issue Sep 8, 2018
KristofferC pushed a commit that referenced this issue Sep 8, 2018
KristofferC pushed a commit that referenced this issue Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:parallelism Parallel or distributed computation kind:bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants