I can't get .vtk file using PETCS

Dear all,

I have a problem, I can’t get .vtk file when I use using parallel code with PETCS. The attached is the code. Can anyone explain why.

Thank you in advance.

Xuan
ex2-overlapping_mesh.edp (330 Bytes)

I think ypu don’t need to

load “iovtk”

the parallel vtk modules are loaded within

include “macro_ddm.idp”

Thanks for your answer, this is the my running result


Although it shows a normal end, I don’t get the .vtk file.

I just wonder what’s wrong.

Does it work without PETSc?

Thank you for your advice, I tried it. It is also a normal end but not generates .vtk file using CMD terminal. However, when I run the program on notepad++(because it is now sequential code without PETCs), everything is OK.

So I guess it may be something with Windows operating system l, I try to use Linux instead.