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

pm.ParticleMesh has to have ndim > 1? #17

Open
nickhand opened this issue Jan 4, 2017 · 2 comments
Open

pm.ParticleMesh has to have ndim > 1? #17

nickhand opened this issue Jan 4, 2017 · 2 comments

Comments

@nickhand
Copy link
Collaborator

nickhand commented Jan 4, 2017

Is it true that the mesh in the new ParticleMesh has to have at least 2 dimensions? It seems so from the test cases.

I am getting an error from pmesh trying to make 1D ParticleMesh objects

pm = ParticleMesh(BoxSize=1.0, Nmesh=[16], dtype='f4')

yields ValueError: ProcMesh (1) shall have less dimentions than Mesh (1)

@rainwoodman
Copy link
Collaborator

It is not that trivial. It appears that pfft dies with divide by zero error if we plan a 1d transform on a single rank.

@rainwoodman
Copy link
Collaborator

I may have found a way to work it out with pfft together with mpip/pfft#30

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