Example of an MPI-ized OTB pipeline. This module can be built against this experimental OTB branch, which include MPI support https://github.com/remicres/OTB/tree/rfc-26-mpi_writer
The pipeline shown resamples an input image and write the result using the otbSimpleParallelTiffWriter.
The application can be runned on multiple processing nodes with mpi. For instance:
mpirun -np 2 otbMPIToy inputImage.tif resampledImage.tif