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

Print distributed matrices #21

Open
andreasnoack opened this issue Oct 26, 2015 · 0 comments
Open

Print distributed matrices #21

andreasnoack opened this issue Oct 26, 2015 · 0 comments

Comments

@andreasnoack
Copy link
Member

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.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant