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

PaintGrid fails with nprocs > 2 #228

Closed
nickhand opened this issue Aug 17, 2016 · 5 comments
Closed

PaintGrid fails with nprocs > 2 #228

nickhand opened this issue Aug 17, 2016 · 5 comments
Assignees

Comments

@nickhand
Copy link
Member

It seems the partitioning of the input dataset is broken. When nprocs > 2 I get this error from pmesh

File "/Users/nhand/Research/Programs/nbodykit/bin/nbkit.py", line 164, in main
result = alg.run()
File "/Users/nhand/Research/Programs/nbodykit/nbodykit/core/algorithms/PaintGrid.py", line 82, in run
real2.unsort(ds[start:end])
File "/Users/nhand/anaconda/lib/python2.7/site-packages/pmesh/pm.py", line 119, in unsort
assert len(flatiter) == self.size

@rainwoodman
Copy link
Member

test_paint.py didn't even detect errors in DefaultPainter.py .

@rainwoodman
Copy link
Member

Could it be the error-code tests were problematic?

@rainwoodman
Copy link
Member

I fixed a bug in pmesh (0.0.18). These two should have been fixed now.

@nickhand
Copy link
Member Author

great thanks!

@nickhand
Copy link
Member Author

closed by efa6221

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

2 participants