User`s guide

MADYMO Coupling Manual Release 7.5
export MADETCPATH=\$MADETCPATH
export MADINCPATH=\$MADINCPATH
export MADBINPATH=\$MADBINPATH
mpirun -np $NP $MPPEXE y=madymo i=$K $XML
_EOF_
#
chmod 755 ./mpirun.$$
# assuming madymo75 is in the search path
madymo75 -nopretrans -coupling direct $XML -x ./mpirun.$$
# cleanup
rm -f ./mpirun.$$
MPP-DYNA with LSF on IBM
#!/bin/sh
# example script to run MADYMO/MPPDYNA coupling
# use with options: <input.xml> <input.key>
XML=$1
K=$2
# mppdyna executable
MPPEXE=/path/to/mpp971.madymo75
# start coupling through LSF pam
# assuming madymo75 is in the search path
madymo75 -coupling direct $XML -x pam -arg -g -1 poejob $MPPEXE i=$K y=madymo
8.1.4 Radioss
Radioss smp
#!/bin/sh
# example script to run MADYMO/Radioss coupling
# use with args: <input.xml> <input> (without extension!)
XML=$1
D00=$2.D00
D01=$2.D01
if ! [ -h file_engine ]
then
# change this to make a softlink from the correct file_engine file
ln -s /path/to/staff/file_engine file_engine
fi
# set STARTER to Radioss starter
export STARTER=/path/to/radioss_exe/s474x_spmd
# set RADMAD to the coupled executable
export RADMAD=/path/to/rad2md/d474x_m64_pmd
#
${STARTER} < $D00
#
# assuming madymo75 is in the search path
madymo75 -coupling direct -x ${RADMAD} $1 < $D01
Radioss mpp
#!/bin/sh
# use with args: <input.xml> <input.D00> <input.D01> (including extension!)
XML=$1
D00=$2
D01=$3
if ! [ -h file_engine ]
39