CM

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
ENVIRONMENT VARIABLES
COPYRIGHT
SEE ALSO

NAME

cm, cm64, cm-mt, cm64-mt − computational engine of CMISS.

SYNOPSIS

cm [-batch] [-cmgui arguments] [-epath directory_name] [-example example_name] [-h] [-idle_time number] [-parameters filename] [-socket -port number] [command_file_name]

DESCRIPTION

cm is the computational engine of CMISS. It provides a general modelling environment for finite element, boundary element, and collocation techniques. Commands may be given to cm via command files, or a simple text-based user interface.

If a command_file_name is given, then cm will open and execute the commands in the specified file (with an added .com suffix if necessary). If command_file_name is not supplied and the file cmiss.com exists, then commands are read from this file (unless the -example option is specified).

There are a number of different versions of the back end computational kernel:

cm

32-bit serial version

cm64

64-bit serial version

cm-mt

32-bit multi-threaded version

cm64-mt

64-bit multi-threaded version

OPTIONS

-batch

Do not expect any interactive input. With this option cm will exit if any error occurs.

-epath directory_name

Override the default example path root directory with the specified directory name.

-example example_name

Runs commands from an example. The command_file_name argument is usually not required but may be supplied to specify a different command file in the cmiss_input directory of the specified example.

This is equivalent to issuing the cm commands ‘set directory example example_name’ and ‘read commands;$example/command_file_name’.

-execute string

Execute the specified string of commands before any other commands are processed.

-h

Show all command options.

-parameters filename

Specify the back end parameters file to use when invoking cm. Note that a .ippara suffix is added to the supplied filename.

ENVIRONMENT VARIABLES

CMISS_EXAMPLES

The full pathname to the root of the CMISS examples directory tree. This has no effect if the −epath option is specified.

CMISS_PERL, CMISS32_PERL, CMISSN32_PERL, CMISS64_PERL

One of these variables can be used to specify the location of the perl executable used to determine the list of directories in which to search for a Perl shared library and modules. On IRIX platforms, CMISSN32_PERL overrides CMISS_PERL for the cm and cm-mt new 32-bit ABI executable, and CMISS64_PERL overrides CMISS_PERL for the cm64 and cm64-mt 64-bit ABI executable. If these variables are not defined then ‘perl’ is used.

CMISS_PERLLIB, CMISS32_PERLLIB, CMISSN32_PERLLIB, CMISS64_PERLLIB

One of these variables can be used to specify a colon separated list of paths which will be prepended to the list of directories in which to search for Perl modules. This can be used to include some standard perl modules related to CMISS. On IRIX platforms, CMISSN32_PERLLIB overrides CMISS_PERLLIB for the cm and cm-mt new 32-bit ABI executable, and CMISS64_PERLLIB overrides CMISS_PERLLIB for the cm64 and cm64-mt 64-bit ABI executable.

CMISS_ROOT

If none of the CMISS*_PERLLIB variables are set but CMISS_ROOT is set and the directory ${CMISS_ROOT}/cmiss_perl/lib exists, then it is searched for some standard perl modules related to CMISS.

COPYRIGHT

See the NOTICE file distributed with cm for a summary of the ownership of cm, and the Licences directory for details of conditions of use.

SEE ALSO

cmgui(1), cmiss(7), http://www.cmiss.org/.