Interactive distributed computing

The plugin modules file2, cmo, socket and the package file ox.sm1 provide functions for interactive distributed computing. To install these plugin modules, compile sm1 after modifying kan/Makefile. See README for details. These plugins are already installed in the binary distributions of sm1. The sm1 server ox_sm1 and ox which are complient to the Open XM protocol (see [7]) is distributed from the same ftp cite with sm1. The sm1 server is also a stack machine. Here is an example input of server and client computation.

Server:

     ./ox -ox ox_sm1 -data 1300 -control 1200

Client:

(ox.sm1) run
[(localhost) 1300 1200] oxconnect /oxserver set
/f (123).. def ;
oxserver f oxsendcmo ;     %% send the data f to the server
oxserver f oxsendcmo ;     %% send the data f to the server
oxserver (power) oxexec ;  %% execute f f power
oxserver oxpopcmo ::       %% get data from the server.
The output is $123^{123}$ and equal to $114374367....9267$.

Exercise: write a graphical interface for functions in packages of sm1 by Java and call sm1 server to execute them.



Nobuki Takayama 2020-11-24