Expand documentation
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Dokumentation
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- julia
- Bereich
- distributed-systems, documentation
Rechercherichtung
Es ist keine Dokumentationsdatei oder kein Test benannt. Beginne damit, die vorhandene DistributedArrays-Dokumentation und die Materialien zum DArray-Konstruktor zu finden, und überprüfe anschließend die aktuellen Beispiele für dzeros, Slicing, Konvertierung und Konstruktoren. Als abgeschlossen gilt die Dokumentation der Speicherung von DistributedArray, des Kopierverhaltens und der Hinweise zur Performance sowie das Hinzufügen eines klareren Beispiels für einen Zwischenkonstruktor mit seiner Erklärung der Prozessindizes.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
We are finding the documentation for DistributedArrays to be lacking in a few ways:
-
There is no description of the actual DistributedArray type. It would be helpful to know how DistributedArrays are stored across processes. A lot of people who are using DistributedArrays are experienced at distributed programming, and will find it helpful to know how things are implemented. For instance, it would be helpful to get an idea (without looking at the source code) of how the local parts are tied together in a single type.
-
When are values copied/not copied? For example:
da = dzeros(100,100)
sa = da[1:10, 35:50]
out = convert(DArray, sa)
Does the last line here copy the values of sa? More generally, information about performance would be really useful, as well as some performance tips.
- Expound a bit more on DArray constructor. Perhaps an example somewhere between
dfilland the Game of Life would help, like this:
procs = addprocs(5)
# Construct a DArray
da = DArray((2,5), procs, [1,5]) do I
# construct a local part
localpart = Array{Float64}(2,1)
for i in first(I) # first(I) = 1:2
localpart[i] = i
end
return localpart
end
It would help to describe this example as follows:
This DArray is distributed so that each of 5 processes holds one column. I is a tuple of indices describing the indices of the DArray that reside on a given process. On the first process, I = (1:2,1:1). In the init function, we construct the local column as a regular Array and return it to the DArray constructor. Note that it is important to return localpart: if we don't do this, then Julia returns the last variable that was assigned, which is localpart[2] - but the DArray constructor is expecting an array.
cc @pearlzli
- Vorherrschende Sprache
- Julia
- Sterne
- 205
- Forks
- 34
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus JuliaParallel/DistributedArrays.jl
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
JuliaParallel/DistributedArrays.jl#255 · 1 Reaktion ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
JuliaParallel/DistributedArrays.jl#239 · 1 Reaktion ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
JuliaParallel/DistributedArrays.jl#238 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 30/100
Alle Issues in JuliaParallel/DistributedArrays.jl
Ähnliche Issues
-
path: splitext treats directory references and leading dots as extensionsEvtl. vergeben @Hiten0305l hat das heute übernommen. Offen
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
JuliaParallel/Hwloc.jl#93 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
SciML/SciMLBenchmarks.jl#1996 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Affine transformations of `JohnsonSU` could return a `JohnsonSU`Evtl. vergeben @devmotion hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
JuliaStats/Distributions.jl#2117 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Difficult-group test writes to a closed IOStream, failing on Julia 1.14.0-beta1Evtl. vergeben @ChrisRackauckas hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
JuliaSymbolics/SymbolicIntegration.jl#162 · 1 Kommentar ·