MPI and tripcolor #3789
Unanswered
qlyan913
asked this question in
Firedrake support
Replies: 2 comments 6 replies
-
Associating DoFs of a |
Beta Was this translation helpful? Give feedback.
3 replies
-
The followings worked fine for me: Run with
Run with
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to solve a PDE with a 2D piecewise constant coefficient. One step is define the coefficient function and plot it.


Here, I want to define the function on [0,4]\times[0,4] :
When I use mpiexec -n 2 to run the same code, it gives:
which is clearly incorrect.
Here is the sample code:
Any helps are greatly appreciated.
If I run with N=1 process saved to h5 file and load it with M=2 then plot the loaded function, the results is:
If I save function with M=2 process and load it with N=1 then plot the functions, then:
But if I run with 1 process and save the figure it should be:
So, there is a kind of permutation.
Beta Was this translation helpful? Give feedback.
All reactions