User`s guide

MADYMO Coupling Manual Release 7.5
# LD_LIBRARY_PATH has to include libmadcl.so
LD_LIBRARY_PATH=/usr1/people/madymo/linux26-x86_64/ext/lib-hpmpi:${LD_LIBRRAY_PATH}
### DON’T CHANGE ANYTHING BELOW THIS LINE ###
np="-np 1"
ncpu="ncpu=1"
# Parse the command line arguments.
job_name=""
job_args=""
while [ $# -gt 0 ]; do
case "$1" in
(-nrproc)
shift
np="-np $1"
ncpu="ncpu=$1" ;;
(-input)
shift
job_name="$1" ;;
(
*
)
job_args="$job_args $1" ;;
esac
shift
done
# Construct command, echo it, and run
cmd="$FEMPIRUN $np -e MPI_WORKDIR=‘pwd‘ \
-e LSTC_FILE=$LSTC_FILE -e LSTC_LICENSE_SERVER=$LSTC_LICENSE_SERVER \
-e LD_LIBRARY_PATH=$LD_LIBRARY_PATH -e LSTC_MEMORY=${LSTC_MEMORY}\
$DYNAEXE $ncpu y=madymo i=$job_name $job_args"
echo "Running command: $cmd"
eval $cmd
Radioss
#! /bin/sh
# (c) TASS, 2010
#
# This script should be called from madymo_cpl. It is not meant to
# be used standalone. Use this script as FE partner executable for
# madymo_cpl.
#
# This script will launch RADIOSS as FE partner for MADYMO. This
# script expects the
*
D00 /
*
D01 filename format; leave out the 00/01
# part of the filename when starting madymo_cpl. So, for example, if
# you have two files testD00 and testD01, use testD as input filename.
#
# This script can skip the RADIOSS starter. To do so, use "-nostarter"
# as FE partner argument for madymo_cpl:
# <path_to_mad_bin>/madymo_cpl [..] -feargs -nostarter [..] -- [..]
# Initialize variables; change them if needed
MACHARCH=${MACHARCH:=linux26-x86_64}
RADDIR=/mnt/usr6/people/madymo/mppcoupling/radioss/${MACHARCH}/radioss
RADFLEXFILE=radflex10_linux
RADFLEXSRC=$RADDIR/$RADFLEXFILE
RADSTARTER=$RADDIR/radioss_starter
RADSOLVER=$RADDIR/radioss_solver
export ALTAIR_LM_LICENSE_FILE="@sw013"
export ALTAIR_LICENSE_PATH=${ALTAIR_LICENSE_PATH:="6200@vxlic"}
export LD_LIBRARY_PATH=$RADDIR:$LD_LIBRARY_PATH
47