In summary, MST currently runs on two major Linux flavors:
Port to other Unix flavors should not be an issue, as long as you have an RTI supported on the desired platform (the showstopper for the MSF team for a while).
Note that all the required packages are installed on the IC-ARC AFS filesystem. Consequently, any person inside NASA Ames Research Center can directly use the pre-installed packages located at: /afs/ic-afs.arc.nasa.gov/msf/pkgs/
Subversion is the next generation of the widely used project version control tool CVS. Its usage is very similar and full documentation can be found at: Subversion Book.
The MST repository URL is (currently require IC-ARC AFS access):
/afs/ic-afs.arc.nasa.gov/msf/Repository/MST
TTLROOT path). cd TTL make lib cd ..
scripts/locations.csh to reflect your current package distribution and MSF location. source msfsource.csh
make install
Note that make install will build the core MST and all the existing components, plus generate the documentation. Typing make without argument will print an help message containing the other make targets.
By default MSF is configured to be built on multiple platforms from the same source tree. For this reason, all the objects, libraries and binaries are created into platform-dependent directories having the following form: ix86-linux-gcc3.3-glibc2.3 .
./startRTI.csh
Technical details A central "facilitator", the RTI-Executive (rtiexec program) is required for the various components of a MSF simulation to connect. The rtiexec is using a naming service to facilitate the components connection. It is possible to configure the multicast port on the command line to allow multiple simulations running simultaneously on the same subnet. Then any component started read a configuration file describing this port (RTI.rid file).
To simplify the control of these parameters, the script setrtirid.csh creates (only if the file is not already existing) a correct configuration file named RTI.rid.username in the user home directory. The script setrtirid.csh is automatically invoked be both the msfsource.csh or startRTI.csh scripts, thus always configuring correctly the simulation.
All the examples can be built if make install had been used. Alternatively, they can be built using:
make examples
startRTI.csh msfsource.csh should have been sourced msfsource.csh should have been sourced
send_updates number_of_objects number_of_updates delay_in_ms. count_updates number_of_objectsThe program
send_updates creates some object and update their attributes, while count_updates is discovering the objects and is listening to the updates. cd $MSF_HOME/examples/objects ./ix86-linux-gcc3.3-glibc2.3/send_updates 10 100 1
cd $MSF_HOME/examples/objects ./ix86-linux-gcc3.3-glibc2.3/count_updates 10 100
send_messages number_of_interactions delay_in_ms count_messages number_of_interactions_to_receiveThe program
send_messages send HLA interactions while count_messages receive interactions. In the same way that the examples/objects programs do, the two programs are initially synchronize by checking if there are subscribers/publishers of the required data type. cd $MSF_HOME/examples/interactions ./ix86-linux-gcc3.3-glibc2.3/send_messages 100 10
cd $MSF_HOME/examples/interactions ./ix86-linux-gcc3.3-glibc2.3/count_messages 100
1.4.1