JuliaParallel / JuliaParallel/Elemental.jl

Print distributed matrices

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
85
Forks
13
PR merge metrics
No merged PRs in 30d

Description

We'll have to figure out how to print a `DistMatrix` without getting `nworkers()` times the matrix in the output. Branching such that only rank zero is printed hangs.

``` jl
julia> using MPI

julia> man = MPIManager(np = 4);

julia> addprocs(man);

julia> using Elemental

julia> @mpi_do man A = Elemental.DistMatrix(Float64)

julia> @mpi_do man Elemental.gaussian!(A, 10, 10)

julia> @mpi_do man if MPI.Comm_rank(MPI.COMM_WORLD) == 0; println(A); end # hangs
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.