Commit e420fdbe authored by Douglas Serson's avatar Douglas Serson
Browse files

Update user guide

parent 3008cf01
......@@ -1006,25 +1006,24 @@ FieldConvert --nprocs 10 --procid 2 \
file2.xml file2.fld
\end{lstlisting}
This call will only therefore consider the interpolation process across one
partition (namely, partition 2). To create the full interpolated field requires
a loop over each of the partitions, which, in a bash shell can be run as
partition (namely, partition 2). To create the full interpolated field we can
suppress the \inltt{--procid} option, in which case FieldConvert will
loop over each of the partitions:
\begin{lstlisting}[style=BashInputStyle]
for n in `seq 0 9`; do
FieldConvert --nprocs 10 --procid $n \
-m interpfield:fromxml=file1.xml:fromfld=file1.fld \
file2.xml file2.fld
done
FieldConvert --nprocs 10 \
-m interpfield:fromxml=file1.xml:fromfld=file1.fld \
file2.xml file2.fld
\end{lstlisting}
The resulting output will lie in a directory called \inltt{file2.fld}, with each
of the different parallel partitions in files with names \inltt{P0000000.fld},
\inltt{P0000001.fld}, \dots, \inltt{P0000009.fld}. This is nearly a complete
parallel field file. However, the \inltt{Info.xml} file, which contains the
information about which elements lie in each partition, is missing. This can be
generated by using the command
parallel field file. However, when the output file is in the .fld format,
the \inltt{Info.xml} file, which contains the information about which elements
lie in each partition, is missing. This can be generated by using the command
\begin{lstlisting}[style=BashInputStyle]
FieldConvert --nprocs 10 file2.xml file2.fld/Info.xml:info
FieldConvert file2.xml file2.fld/Info.xml:info:nprocs=10
\end{lstlisting}
Note the final \inltt{:info} extension on the last argument is necessary to tell
Note the \inltt{:info} extension on the last argument is necessary to tell
FieldConvert that you wish to generate an info file, but with the extension
\inltt{.xml}. This syntax allows the routine not to get confused with the
input/output XML files.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment