5.4 FieldConvert in parallel

To run FieldConvert in parallel the user needs to compile Nektar++ with MPI support and can employ the following command

mpirun -np <nprocs> FieldConvert test.xml test.fld test.dat


mpirun -np <nprocs> FieldConvert test.xml test.fld test.vtu

replacing <nprocs> with the number of processors. This will produce multiple .dat or .vtu files of the form test_P0.dat, test_P1.dat, test_P2.dat or test_P0.vtu, test_P1.vtu, test_P2.vtu. Note when producing a parallel .vtu file an additional file called .pvtu is written out which allows for parallel reading of the individual .vtu files. Similarly functions that produce a .fld file output can be processed in this manner. In the case when producing a .fld file a directory called test.fld (or the specified output name) will be produced with the standard parallel field files placed within the directory.