localindices methods in conflict with SharedArrays
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- julia
- Domínio
- distributed-systems
Direção de pesquisa
Reproduza o aviso no REPL do Julia 1.0.2 carregando SharedArrays e DistributedArrays nessa ordem. Compare os métodos localindices exportados e os formatos documentados de seus valores de retorno; em seguida, determine o comportamento compatível da API e adicione ou atualize um teste de regressão mostrando que ambos os pacotes podem ser usados sem um identificador ambíguo.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
It seems like there is a conflict between localindices method between SharedArrays and DistributedArrays. Please, see the REPL output below.
10:46:39 $ julia-1.0
_
_ _ ()_ | Documentation: https://docs.julialang.org
() | () () |
_ _ | | __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ ` | |
| | || | | | (| | | Version 1.0.2 (2018-11-08)
/ |_'|||_'_| | Official https://julialang.org/ release
|__/ |
julia> using SharedArrays
julia> SharedArrays.
SharedArray include range_1dim shm_unlink
SharedMatrix indexpids sa_refs shmem_fill
SharedVector init_loc_flds sdata shmem_rand
_shm_mmap_array initialize_shared_array shared_pids shmem_randn
eval localindices shm_mmap_array sub_1dim
finalize_refs print_shmem_limits shm_open
julia> using DistributedArrays
WARNING: using DistributedArrays.localindices in module Main conflicts with an existing identifier.
help?> SharedArrays.localindices
localindices(S::SharedArray)
Returns a range describing the "default" indices to be handled by the current process. This range should
be interpreted in the sense of linear indexing, i.e., as a sub-range of 1:length(S). In multi-process
contexts, returns an empty range in the parent process (or any process for which indexpids returns 0).
It's worth emphasizing that localindices exists purely as a convenience, and you can partition work on the
array among workers any way you wish. For a SharedArray, all indices should be equally fast for each
worker process.
help?> DistributedArrays.localindices
localindices(d)
A tuple describing the indices owned by the local process. Returns a tuple with empty ranges if no local
part exists on the calling process.
- Linguagem predominante
- Julia
- Estrelas
- 205
- Forks
- 34
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de JuliaParallel/DistributedArrays.jl
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
JuliaParallel/DistributedArrays.jl#255 · 1 reação ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
JuliaParallel/DistributedArrays.jl#239 · 1 reação ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
JuliaParallel/DistributedArrays.jl#238 · 1 comentário ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 30/100
Todas as issues de JuliaParallel/DistributedArrays.jl
Issues semelhantes
-
path: splitext treats directory references and leading dots as extensionsTalvez já em andamento @Hiten0305l assumiu hoje. Aberta
Dificuldade 2/5 Meio dia Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
JuliaParallel/Hwloc.jl#93 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 1 dia
-
Pleiades page: embedded solution at 7 sweeps reaches the order-7 collocation cap, not order 6Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
SciML/SciMLBenchmarks.jl#1996 ·
Mantenedores costumam responder em até 1 dia
-
Affine transformations of `JohnsonSU` could return a `JohnsonSU`Talvez já em andamento @devmotion assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
JuliaStats/Distributions.jl#2117 ·
Mantenedores costumam responder em até 2 dias