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

Some more examples/formatting/xrefs for Distributed docs #29011

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

kshyatt
Copy link
Contributor

@kshyatt kshyatt commented Sep 2, 2018

No description provided.

@kshyatt kshyatt added domain:docs This change adds or pertains to documentation domain:parallelism Parallel or distributed computation labels Sep 2, 2018
6

julia> workers()
5-element Array{Int64,1}:
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Perhaps showing 3 workers is enough to get the point across? Saves some vertical space :)

@kshyatt
Copy link
Contributor Author

kshyatt commented Sep 6, 2018

Better?

@fredrikekre
Copy link
Member

You seem to have missed the one with Kristoffers comment.

`nprocs()` if `nprocs() == 1`.

# Examples
Here, `julia` was launched with `-p 5`:
Copy link
Member

Choose a reason for hiding this comment

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

Since these are julia-repl blocks, maybe we can instead do something like

$ julia -p 5

julia> nprocs()
6

nworkers()
5
```
? Ans similarly on the other places.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a nice idea

@fredrikekre fredrikekre merged commit 448bc7d into master Sep 11, 2018
@fredrikekre fredrikekre deleted the ksh/doccluster branch September 11, 2018 06:22
KristofferC pushed a commit that referenced this pull request Sep 12, 2018
@KristofferC KristofferC mentioned this pull request Sep 12, 2018
KristofferC pushed a commit that referenced this pull request Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:docs This change adds or pertains to documentation domain:parallelism Parallel or distributed computation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants