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

document use of @eval with @everywhere for broadcast of local variables. #15960

Merged
merged 1 commit into from
Apr 21, 2016

Conversation

amitmurthy
Copy link
Contributor

closes #9118

`@everywhere` with `@eval` allows us to broadcast local variables using interpolation :

foo = 1
@eval @everywhere bar=1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where's the interpolation?

Copy link
Contributor Author

@amitmurthy amitmurthy Apr 20, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right! Thanks.

@amitmurthy amitmurthy force-pushed the amitm/broadcast_everywhere branch 2 times, most recently from f2ed9a8 to 726174d Compare April 20, 2016 11:58
@amitmurthy
Copy link
Contributor Author

@bjarthur, thanks for the suggestion. Have modified the commit entry to mention you.

@bjarthur
Copy link
Contributor

you're welcome!

@amitmurthy
Copy link
Contributor Author

Travis error is unrelated. In there are no further objections to the text, will merge in a short while.

@amitmurthy amitmurthy merged commit c603a79 into master Apr 21, 2016
@amitmurthy amitmurthy deleted the amitm/broadcast_everywhere branch April 21, 2016 09:33
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 this pull request may close these issues.

@everywhere for broadcasting variables
3 participants