1.6.2.5. showmpi.py – Display the MPI decomposition domain

MPI decomposition information comes from a file tipically names mpi.txt.

Usage:
showmpi.py [-h] [-q] [-t TITLE] [-a ALPHA] [-o OUTFIG] [-d]
        marsfile mpifile
Description:

Plot the MPI domain decomposition

Positional Arguments:
 
marsfile

MARS file

mpifile

MPI domain decomposition file [default: mpi.txt]

Optional Arguments:
 
-h, --help

show this help message and exit

-q, --quiet

do print information

-t TITLE, --title TITLE

Plot title

-a ALPHA, --alpha ALPHA

apha transparency [0->1]

-o OUTFIG, --outfig OUTFIG

Output figure file

-d, --nodisp

Do not show the figure

Examples:
$> showmpi.py -o showmpi.png ../data/mpi.nc ../data/mpi.txt
_images/showmpi.png

MPI blocks are plotted along indices over the model mask. Contour of MPI blocks containing inactive ocean points are in red. Inactive ocean points are also colored in red.

See also:

showgrid.py – Show and display a netcdf grid, Mars3D.