#==================================================================================
# Copyright (c) 2019 Nokia
# Copyright (c) 2018-2019 AT&T Intellectual Property.
#==================================================================================
# Copyright (c) 2019 Nokia
# Copyright (c) 2018-2019 AT&T Intellectual Property.
# ---------------------------------------------------------------------------------
# Mnemonic: run_call_test.ksh
# Abstract: This is a simple script to set up and run the basic send/receive
# ---------------------------------------------------------------------------------
# Mnemonic: run_call_test.ksh
# Abstract: This is a simple script to set up and run the basic send/receive
# It should be possible to clone the repo, switch to this directory
# and execute 'ksh run -B' which will build RMr, make the sender and
# recevier then run the basic test.
# It should be possible to clone the repo, switch to this directory
# and execute 'ksh run -B' which will build RMr, make the sender and
# recevier then run the basic test.
echo $? >/tmp/PID$$.src # must communicate state back via file b/c asynch
}
# start receiver listening for nmsgs from each thread
function run_rcvr {
echo $? >/tmp/PID$$.src # must communicate state back via file b/c asynch
}
# start receiver listening for nmsgs from each thread
function run_rcvr {
- if (( nano_receiver ))
- then
- #./receiver_nano $(( nmsg * nthreads ))
- echo "nano is not supported"
- exit 1
- else
- ./mt_receiver $(( nmsg * nthreads )) # we'll test with the RMr multi threaded receive function
- fi
+ ./mt_receiver $(( nmsg * nthreads )) # we'll test with the RMr multi threaded receive function
nmsg=10 # total number of messages to be exchanged (-n value changes)
delay=1000000 # microsec sleep between msg 1,000,000 == 1s
nmsg=10 # total number of messages to be exchanged (-n value changes)
delay=1000000 # microsec sleep between msg 1,000,000 == 1s