hosttrace=$(tr '\n\r' ' ' < $(echo "$line"|cut -d' ' -f2))
NUMPROCSMINE=$(wc -l < $(echo "$line"|cut -d' ' -f2))
- if [ "$NUMPROCSMINE" != $(echo "$line"|cut -d' ' -f3) ];
+ if [ $NUMPROCSMINE != $(echo "$line"|cut -d' ' -f3) ];
then
echo "declared num of processes for instance $instance : $(echo "$line"|cut -d' ' -f3) is not the same as the one in the replay files : $NUMPROCSMINE. Please check consistency of these information"
exit 1
DEFAULT_LOOPBACK_LATENCY="0.000004s"
DEFAULT_NETWORK_BANDWIDTH="$((26 * 1024 * 1024))Bps"
DEFAULT_NETWORK_LATENCY="0.000005s"
-DEFAULT_NUMPROCS="4"
DEFAULT_SPEED="100flops"
LOOPBACK_BANDWIDTH="${DEFAULT_LOOPBACK_BANDWIDTH}"
unset pid
# Raise the same signal again (remove the traps first):
- trap - "$trapped_signals"
+ trap - $trapped_signals
kill -"$sig" $$
# This should never happen:
}
for s in $trapped_signals; do
- trap 'smpirun_trap $s' "$s"
+ trap "smpirun_trap $s" "$s"
done
while true; do