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

Viewers not working when plotting meshes with zero cells in parallel #299

Closed
wd15 opened this issue Sep 19, 2014 · 1 comment
Closed

Viewers not working when plotting meshes with zero cells in parallel #299

wd15 opened this issue Sep 19, 2014 · 1 comment
Labels

Comments

@wd15
Copy link
Contributor

wd15 commented Sep 19, 2014

mpirun -np 16 python examples/diffusion/mesh20x20.py --trilinos

gives a load of these types of failures

mportError: Failed to import a viewer: [min() arg is an empty sequence']('matplotlib:)

for example. Issues noticed by Farenc Tasnadi
http://thread.gmane.org/gmane.comp.python.fipy/2341.
This a bit of an edge case, but worth fixing for robustness.

Imported from trac ticket #418, created by wd15 on 01-04-2012 at 11:58, last modified: 01-31-2012 at 16:48

@guyer
Copy link
Member

guyer commented Sep 19, 2014

With r5147, the Viewer factory returns a DummyViewer for all variables that contain no cells.

Trac comment by guyer on 01-31-2012 at 16:48

@wd15 wd15 closed this as completed Sep 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants