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

evalfile does not work in parallel #5648

Closed
mauro3 opened this issue Feb 2, 2014 · 1 comment
Closed

evalfile does not work in parallel #5648

mauro3 opened this issue Feb 2, 2014 · 1 comment

Comments

@mauro3
Copy link
Contributor

mauro3 commented Feb 2, 2014

Evalfile does not work when running with a remote call:

addprocs(2)

# toeval.jl just contains 99
r = remotecall_fetch(1, evalfile, "toeval.jl")
println("r on 1 == $r") # r on 1 == 99
# DOES NOT WORK: 
r = remotecall_fetch(2, evalfile, "toeval.jl")
println("r on 2 == $r") # r on 2 == nothing

I'm not sure whether this is a bug or whether this is just a limitation of evalfile, as it says in its help: "No other processing (path searching, fetching from node 1, etc.) is performed."

@JeffBezanson
Copy link
Member

This was originally done to avoid sending unnecessary data when files were loaded remotely for side-effects only. The way the code is structured now I think it is no longer necessary.

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