User`s guide

Release 7.5 MADYMO Coupling Manual
-help Print all options of madymo_cpl
-config <config_file> Load settings from configuration file <config_file>
-febin <exe> Specifies the FE executable.
-npmad <NPMAD> Run madymo with <NPMAD> processes.
-npfe <NPFE> Run the FE executable with <NPFE> processes.
-coupling <cpltype> Selects the coupling communication transport. Valid
values are socket and mpi. The default is mpi.
-mpilib <mpi-impl> Selects the mpi implementation. See also the -mpilib op-
tion of madymo_cli. Depending on your machine archi-
tecture, valid values may be mpp and hpmpi. The de-
fault is hpmpi.
-hostfile <hostfile> Host file for madymo_cpl. Please read madymo_cpl
documentation on how to write a hostfile.
-madargs ... Specifies any additional madymo arguments, e.g., -isize,
-rsize, and -csize.
-feargs ... Specifies any additional FE arguments. Valid arguments
depend on the -febin option.
The configuration file format is described in Sec.
8.2.5. Either a configuration file is passed to
madymo_cpl, or arguments are passed on the command line. The ’hostfile’, ’madargs’ and
’feargs’ arguments are optional; the ’coupling’ and ’mpilib’ arguments have default values
(respectively ’mpi’ and ’hpmpi’). If ’coupling’ is set to ’socket’, the ’mpi’ argument is ignored.
IMPORTANT: If the PARTNER solver makes use of the HP-MPI capabilities of MADCL, an
environment variable MPIRUN has to be set prior to starting madymo_cpl. This variable should
point to the ’mpirun’ executable. In Sec. 8.2.6 it is explained how madymo_cpl handles the
MPIRUN variabe.
8.2.4 Hostfiles
When HP-MPI is used to use more than one machine for the simulation (like on a cluster),
HP-MPI must be told what machines/nodes it can use. The list of machines the solvers can
run on has to be passed to madymo_cpl by means of a hostfile; this is a text file, similar to a
standard HP-MPI hostfile. However, since madymo_cpl starts two solvers, the hostfile is split
into two sections: one for MADYMO, and one for the PARTNER. Each section lists the hosts
available to its respective solver. The whole hostfile is parsed by madymo_cpl, and split into
two separate hostfiles (one for each solver). A hostfile should look like this:
[MADYMO]
42