<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello,<br>
<br>
I used the python script below to convert pvd format into xmf file with xdmf3 enable ParaView that I compiled. The writer is working if I run it in serial (pvbatch pvd_to_xmf.py pvd/mvf2.pvd)<br>
. <br>
How do I access to xmf parallel writer?  I am getting the following error<br>
<br>
vtkSMWriterFactory (0x66c5d0): No matching writer found for extension: xmf <br>
<br>
if I run the script with <br>
<br>
aprun -n 12 pvbatch pvd_to_xmf.py pvd/mvf2.pvd<br>
<br>
<br>
thank you in advanced for your help. <br>
<br>
thanks<br>
-simon<br>
<br>
================ pvbatch pvd_to_xmf.py ==========<br>
#### import the simple module from the paraview<br>
import sys<br>
try: paraview.simple<br>
except: from paraview.simple import *<br>
<br>
#### get the filename from command line<br>
fileName = str(sys.argv[1])<br>
<br>
print "Reading " + fileName<br>
#### reading pvd file<br>
mvfpvd = PVDReader(FileName=fileName)<br>
<br>
#### create output file name<br>
(prefix, sep, suffix) = fileName.rpartition('.')<br>
ofileName = prefix + '.xmf'<br>
<br>
print "Writing xmf output file to " + ofileName<br>
<br>
#### create output file<br>
SaveData(ofileName, proxy=mvfpvd, WriteAllTimeSteps=1)<br>
<br>
<br>
</div>
</body>
</html>