
mma
mma is a Motif program that sends HDF movies over a Myrinet, using the Myrinet API. It is provided for demonstration purposes only. mma doesn't seem to work with all HDF movies, and it will only work with 8-bit graphics.
To use mma first get some HDF movies. HDF is a scientific visualization format. You can find computer simulations, astronomy video, and medical images on the Internet: for instance, at the NCSA SDG Digital Gallery.
Run mma on two computers connected by a Myrinet. You must display mma on the same computer that you run it on because mma uses X shared memory for faster graphics. On both mmas type the Myrinet address of the computer at the other end, in the "Destination" field. Use the sliders to set the channels. You should not use channel 0 if you are using the Myrinet TCP/IP driver. The "Destination Channel" of each mma should be the "My Channel" of the other mma. On the computer that has more memory, or that is faster, select "Open" from the "File" menu and open an HDF movie. Select "Draw" on both mmas, so that you can see the movie. (Drawing slows down the rate you can send the movie at.) On the sender mma press "Send" and on the receiver mma press "Receive". The rate and quantity of the data sent are shown in two counters at the top of the mma window.
If you enter as the destination address of the sender the broadcast address (0xffffffff.0xffffffff), mma will broadcast its movie. In this case, mma will not use flow control.