Section: Scotch user's manual (1)Updated: August 03, 2010Local indexUp
mcv - mesh file converter
mcv [options] [imfile] [omfile] [oxfile]
The mcv program converts Scotch mesh files from and to other
external file formats.
File imfile is converted into mesh file omfile, with optional
geometry data being put in geometry file oxfile, if it is
When file names are not specified, data is read from standard input
and written to standard output. Standard streams can also be
explicitly represented by a dash '-'.
When the proper libraries have been included at compile time, mcv
can directly handle compressed meshes, both as input and output. A
stream is treated as compressed whenever its name is postfixed with
a compressed file extension, such as in 'brol.msh.bz2' or '-.gz'. The
compression formats which can be supported are the bzip2 format
('.bz2'), the gzip format ('.gz'), and the lzma format ('.lzma', on
Display some help.
Set format of input mesh file, which can be:
Boeing-Harwell format. This is an elemental
matrix format. Only square matrices are supported. In
case the file contains several matrices, the num
parameter allow the user to provide the index of
the matrix to convert, starting from 0. When the num
parameter is not set, it is assumed to be 0.
Scotch mesh format.
Set format of output mesh file, which can be:
Scotch mesh format. This is the only possible choice at
the time being.
Display program version and copyright.
Convert a Harwell-Boeing elemental mesh into a Scotch mesh.