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

Mention @everywhere in pmap documentation #12300

Merged
merged 2 commits into from
Jul 27, 2015
Merged

Mention @everywhere in pmap documentation #12300

merged 2 commits into from
Jul 27, 2015

Conversation

kersulis
Copy link
Contributor

I noticed that pmap(f,lsts) only works for me if f is defined with @everywhere, so I added that note to the documentation for pmap. Is this correct, or is @everywhere not going to be required in the future?

I noticed that `pmap(f,lsts)` only works for me if `f` is defined with `@everywhere`, so I added that note to the documentation for `pmap`. Is this correct, or is `@everywhere` not going to be required in the future?
@yuyichao
Copy link
Contributor

Recently bite by this too.

I think the key is that it has to be available everywhere and @everywhere is not the only way to do that. The Code Availability and Loading Packages section has detail discription of it so it might be better to just link to that section.

@yuyichao yuyichao added docs This change adds or pertains to documentation parallelism Parallel or distributed computation labels Jul 24, 2015
@kersulis
Copy link
Contributor Author

Good idea. I added the link. How does this look?

@jakebolewski
Copy link
Member

lgtm

jakebolewski added a commit that referenced this pull request Jul 27, 2015
@jakebolewski jakebolewski merged commit 22c86f6 into JuliaLang:master Jul 27, 2015
@kersulis kersulis deleted the patch-2 branch July 27, 2015 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation parallelism Parallel or distributed computation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants