Skip to content

Commit

Permalink
build based on 6cc31bf
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Sep 24, 2024
1 parent 03b80c5 commit b269d7d
Show file tree
Hide file tree
Showing 31 changed files with 106 additions and 101 deletions.
2 changes: 1 addition & 1 deletion previews/PR871/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-24T08:08:24","documenter_version":"1.7.0"}}
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-24T08:15:04","documenter_version":"1.7.0"}}
2 changes: 1 addition & 1 deletion previews/PR871/configuration/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions previews/PR871/examples/01-hello/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
comm = MPI.COMM_WORLD
print("Hello world, I am rank $(MPI.Comm_rank(comm)) of $(MPI.Comm_size(comm))\n")
MPI.Barrier(comm)</code></pre><pre><code class="nohighlight hljs">&gt; mpiexecjl -n 4 julia examples/01-hello.jl
Hello world, I am rank 3 of 4
Hello world, I am rank 2 of 4
Hello world, I am rank 1 of 4
Hello world, I am rank 0 of 4</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../knownissues/">« Known issues</a><a class="docs-footer-nextpage" href="../02-broadcast/">Broadcast »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 24 September 2024 08:08">Tuesday 24 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Hello world, I am rank 3 of 4
Hello world, I am rank 0 of 4
Hello world, I am rank 1 of 4</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../knownissues/">« Known issues</a><a class="docs-footer-nextpage" href="../02-broadcast/">Broadcast »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 24 September 2024 08:15">Tuesday 24 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
8 changes: 4 additions & 4 deletions previews/PR871/examples/02-broadcast/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
print(&quot;rank = $(MPI.Comm_rank(comm)), f(3) = $(f(3))\n&quot;)</code></pre><pre><code class="nohighlight hljs">&gt; mpiexecjl -n 4 julia examples/02-broadcast.jl
Running on 4 processes
rank = 0, A = ComplexF64[1.0 + 2.0im, 2.0 + 4.0im, 3.0 + 6.0im, 4.0 + 8.0im, 5.0 + 10.0im]
rank = 1, A = ComplexF64[1.0 + 2.0im, 2.0 + 4.0im, 3.0 + 6.0im, 4.0 + 8.0im, 5.0 + 10.0im]
rank = 2, A = ComplexF64[1.0 + 2.0im, 2.0 + 4.0im, 3.0 + 6.0im, 4.0 + 8.0im, 5.0 + 10.0im]
rank = 3, A = ComplexF64[1.0 + 2.0im, 2.0 + 4.0im, 3.0 + 6.0im, 4.0 + 8.0im, 5.0 + 10.0im]
rank = 1, A = ComplexF64[1.0 + 2.0im, 2.0 + 4.0im, 3.0 + 6.0im, 4.0 + 8.0im, 5.0 + 10.0im]
rank = 0, B = Dict(&quot;foo&quot; =&gt; &quot;bar&quot;)
rank = 1, B = Dict(&quot;foo&quot; =&gt; &quot;bar&quot;)
rank = 3, B = Dict(&quot;foo&quot; =&gt; &quot;bar&quot;)
rank = 2, B = Dict(&quot;foo&quot; =&gt; &quot;bar&quot;)
rank = 3, B = Dict(&quot;foo&quot; =&gt; &quot;bar&quot;)
rank = 0, f(3) = 14
rank = 3, f(3) = 14
rank = 1, f(3) = 14
rank = 2, f(3) = 14
rank = 3, f(3) = 14</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../01-hello/">« Hello world</a><a class="docs-footer-nextpage" href="../03-reduce/">Reduce »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 24 September 2024 08:08">Tuesday 24 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
rank = 2, f(3) = 14</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../01-hello/">« Hello world</a><a class="docs-footer-nextpage" href="../03-reduce/">Reduce »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 24 September 2024 08:15">Tuesday 24 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
13 changes: 9 additions & 4 deletions previews/PR871/examples/03-reduce/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,27 @@
SummaryStat(m,v,n)
end

# Register the custom reduction operator. This is necessary only on platforms
# where Julia doesn&#39;t support closures as cfunctions (e.g. ARM), but can be used
# on all platforms for consistency.
MPI.@RegisterOp(pool, SummaryStat)

X = randn(10,3) .* [1,3,7]&#39;

# Perform a scalar reduction
summ = MPI.Reduce(SummaryStat(X), pool, root, comm)
summ = MPI.Reduce(SummaryStat(X), pool, comm; root)

if MPI.Comm_rank(comm) == root
@show summ.var
end

# Perform a vector reduction:
# the reduction operator is applied elementwise
col_summ = MPI.Reduce(mapslices(SummaryStat,X,dims=1), pool, root, comm)
col_summ = MPI.Reduce(mapslices(SummaryStat,X,dims=1), pool, comm; root)

if MPI.Comm_rank(comm) == root
col_var = map(summ -&gt; summ.var, col_summ)
@show col_var
end</code></pre><pre><code class="nohighlight hljs">&gt; mpiexecjl -n 4 julia examples/03-reduce.jl
summ.var = 22.519820271645806
col_var = [0.9267255522943243 7.6038728428423115 59.02084146163886]</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../02-broadcast/">« Broadcast</a><a class="docs-footer-nextpage" href="../04-sendrecv/">Send/receive »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 24 September 2024 08:08">Tuesday 24 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
summ.var = 22.786702165386696
col_var = [0.7904721049483747 9.316195399642638 57.578135458112534]</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../02-broadcast/">« Broadcast</a><a class="docs-footer-nextpage" href="../04-sendrecv/">Send/receive »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 24 September 2024 08:15">Tuesday 24 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
8 changes: 4 additions & 4 deletions previews/PR871/examples/04-sendrecv/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
print(&quot;$rank: Received $src -&gt; $rank = $recv_mesg\n&quot;)

MPI.Barrier(comm)</code></pre><pre><code class="nohighlight hljs">&gt; mpiexecjl -n 4 julia examples/04-sendrecv.jl
0: Sending 0 -&gt; 1 = [0.0, 0.0, 0.0, 0.0]
1: Sending 1 -&gt; 2 = [1.0, 1.0, 1.0, 1.0]
0: Sending 0 -&gt; 1 = [0.0, 0.0, 0.0, 0.0]
2: Sending 2 -&gt; 3 = [2.0, 2.0, 2.0, 2.0]
3: Sending 3 -&gt; 0 = [3.0, 3.0, 3.0, 3.0]
0: Received 3 -&gt; 0 = [3.0, 3.0, 3.0, 3.0]
1: Received 0 -&gt; 1 = [0.0, 0.0, 0.0, 0.0]
2: Received 1 -&gt; 2 = [1.0, 1.0, 1.0, 1.0]
3: Received 2 -&gt; 3 = [2.0, 2.0, 2.0, 2.0]</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../03-reduce/">« Reduce</a><a class="docs-footer-nextpage" href="../05-job_schedule/">Job Scheduling »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 24 September 2024 08:08">Tuesday 24 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
3: Sending 3 -&gt; 0 = [3.0, 3.0, 3.0, 3.0]
0: Received 3 -&gt; 0 = [3.0, 3.0, 3.0, 3.0]
3: Received 2 -&gt; 3 = [2.0, 2.0, 2.0, 2.0]</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../03-reduce/">« Reduce</a><a class="docs-footer-nextpage" href="../05-job_schedule/">Job Scheduling »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 24 September 2024 08:15">Tuesday 24 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit b269d7d

Please sign in to comment.