meshio
meshio copied to clipboard
How to read parallel exo file set?
Hello,
I have a software package that writes parallel exodus files. For example, if ran in serial, it creates results.exo but in parallel with mpirun -n 4 gives results.exo.4.0, results.exo.4.1, ... results.exo.4.3 (files attached in the zip).
my_exo_results.zip
How can I read these exo files into python with meshio? Using the syntax
exo = meshio.read( "results.exo")
works great in my workflow for the serial case. Is there something similar for the parallel case?
Please let me know if I can provide any more info about my problem. Thanks in advance!
Ah, Albany! I used to work with Andy Salinger when I was at Sandia.
Is there something similar for the parallel case?
Not yet, I'm afraid. Your best bet is probably to look for somewhere else to convert parallel exodus files to a serial one, and take it from there.
Thanks for letting me know. Yes, I saw your github username in some of the Trillinos and Albany commits!
I'll look around for a tool to serialize the exodus files. I'll make a follow up post here with what I find for posterity.
Assuming you have Trilinos installed somewhere, you can use the epu tool:
epu -auto results.exo.4.*
which will give you the serial fileresults.exo. Feel free to close this issue if appropriate!