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

Gmsh background mesh doesn't work in parallel #329

Closed
guyer opened this issue Sep 19, 2014 · 6 comments
Closed

Gmsh background mesh doesn't work in parallel #329

guyer opened this issue Sep 19, 2014 · 6 comments

Comments

@guyer
Copy link
Member

guyer commented Sep 19, 2014

r5253 introduced a test for Gmsh remeshing which fails in parallel.

This wasn't caught originally because Buildbot had a pervasive svn checkout failure for some reason.

==================================================================h4. 
FAIL: Gmsh2D (fipy.meshes.gmshImport)
Doctest: fipy.meshes.gmshImport.Gmsh2D
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/guyer/.homebrew/Cellar/python/2.7.2/lib/python2.7/doctest.py", line 2166, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for fipy.meshes.gmshImport.Gmsh2D
  File "/Users/guyer/Documents/research/FiPy/trunk-CLEAN/fipy/meshes/gmshImport.py", line 1434, in Gmsh2D

----------------------------------------------------------------------
File "/Users/guyer/Documents/research/FiPy/trunk-CLEAN/fipy/meshes/gmshImport.py", line 1591, in fipy.meshes.gmshImport.Gmsh2D
Failed example:
print numerix.greater(std[:-1], std[1:]).all() # doctest: +GMSH
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/Users/guyer/Documents/research/FiPy/trunk-CLEAN/fipy/meshes/gmshImport.py", line 1596, in fipy.meshes.gmshImport.Gmsh2D
Failed example:
print std[-1] < 0.2 # doctest: +GMSH
Expected:
True
Got:
False


----------------------------------------------------------------------
Ran 67 tests in 13.624s

FAILED (failures=1)
==================================================================
FAIL: Gmsh2D (fipy.meshes.gmshImport)
Doctest: fipy.meshes.gmshImport.Gmsh2D
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/guyer/.homebrew/Cellar/python/2.7.2/lib/python2.7/doctest.py", line 2166, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for fipy.meshes.gmshImport.Gmsh2D
  File "/Users/guyer/Documents/research/FiPy/trunk-CLEAN/fipy/meshes/gmshImport.py", line 1434, in Gmsh2D

----------------------------------------------------------------------
File "/Users/guyer/Documents/research/FiPy/trunk-CLEAN/fipy/meshes/gmshImport.py", line 1591, in fipy.meshes.gmshImport.Gmsh2D
Failed example:
print numerix.greater(std[:-1], std[1:]).all() # doctest: +GMSH
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/Users/guyer/Documents/research/FiPy/trunk-CLEAN/fipy/meshes/gmshImport.py", line 1596, in fipy.meshes.gmshImport.Gmsh2D
Failed example:
print std[-1] < 0.2 # doctest: +GMSH
Expected:
True
Got:
False

The expected result is

dx-serial.png

but instead we get

dx-0.pngdx-1.png

I think the order of the values sent as the background are somehow out of sync with proper positions in the mesh.

Imported from trac ticket #452, created by guyer on 08-07-2012 at 19:20, last modified: 09-30-2013 at 21:44

@guyer
Copy link
Member Author

guyer commented Sep 19, 2014

guyer attached dx-0.png on 08-07-2012 at 19:23

@guyer
Copy link
Member Author

guyer commented Sep 19, 2014

guyer attached dx-serial.png on 08-07-2012 at 19:21

@guyer
Copy link
Member Author

guyer commented Sep 19, 2014

guyer attached dx-1.png on 08-07-2012 at 19:23

@guyer
Copy link
Member Author

guyer commented Sep 19, 2014

POSFile properly written in parallel as of r5288.

Trac comment by guyer on 08-13-2012 at 10:01

@fipymigrate
Copy link

In a5d7b8a:

#CommitTicketReference repository="fipy" revision="a5d7b8a0e9177ebf73b9de94c144e1356dda4930"
Merged [ticket452](../tree/ticket452)@5286 to [trunk](../tree/master/trunk)@5286. Fixes issue #329.

git-svn-id: svn+ssh://code.matforge.org/fipy/trunk@5287 d80e17d7-ff13-0410-a124-85740d801063

Trac comment by Jonathan E. Guyer guyer@nist.gov on 06-12-2013 at 14:14

@guyer
Copy link
Member Author

guyer commented Sep 19, 2014

Marking milestone

Trac comment by guyer on 09-30-2013 at 21:44

@guyer guyer 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
Projects
None yet
Development

No branches or pull requests

2 participants