To run FieldConvert in parallel the user needs to compile Nektar++ with MPI support and can employ the following command
or
replacing <nprocs>
with the number of processors. For the .dat
and .plt
outputs the
current version will proudce a single output file. However it is also sometimes useful to
produce multiple output files, one for each partition, and this can be done by using the
writemultiplefiles
option, i.e.
For the .vtu
format multiple files will by default be produced of the form test_P0.vtu
,
test_P1.vtu
, test_P2.vtu
. For this format an additional file called .pvtu
is written out
which allows for parallel reading of the individual .vtu
files.
FieldConvert functions that produce a .fld
file output will also be created when running in
parallel. In this case when producing a .fld file a directory called test.fld
(or the
specified output name) is created with the standard parallel field files placed within the
directory.