=================================================================== RCS file: /home/cvs/OpenXM/src/asir-doc/parts/process.texi,v retrieving revision 1.13 retrieving revision 1.16 diff -u -p -r1.13 -r1.16 --- OpenXM/src/asir-doc/parts/process.texi 2003/04/19 15:44:56 1.13 +++ OpenXM/src/asir-doc/parts/process.texi 2016/08/29 04:56:58 1.16 @@ -1,4 +1,4 @@ -@comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.12 2002/09/10 01:40:02 noro Exp $ +@comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.15 2003/05/16 08:12:58 noro Exp $ \BJP @node 分散計算,,, Top @chapter 分散計算 @@ -944,16 +944,16 @@ the client executes @code{connect}. @item generate_port([@var{use_unix}]) \JP :: port の生成 \EG :: Generates a port number. -@itemx try_bind_listen(@var{port}) +@item try_bind_listen(@var{port}) \JP :: port に対して bind, listen \EG :: Binds and listens on a port. -@itemx try_connect(@var{host},@var{port}) +@item try_connect(@var{host},@var{port}) \JP :: port に対して connect \EG :: Connects to a port. -@itemx try_accept(@var{socket},@var{port}) +@item try_accept(@var{socket},@var{port}) \JP :: connect 要求を accept \EG :: Accepts a connection request. -@itemx register_server(@var{control_socket},@var{control_port},@var{server_socket},@var{server_port}) +@item register_server(@var{control_socket},@var{control_port},@var{server_socket},@var{server_port}) \JP :: connection の成立した control socket, server socket の登録 \EG :: Registers the sockets for which connections are established. @end table @@ -1105,7 +1105,8 @@ If X environment is not available or is not necessary, @end example @example -[5] ox_launch_nox("127.0.0.1","/usr/local/lib/asir","/usr/local/lib/asir/ox_asir"); +[5] ox_launch_nox("127.0.0.1","/usr/local/lib/asir", +"/usr/local/lib/asir/ox_asir"); 0 @end example @@ -1113,7 +1114,8 @@ If X environment is not available or is not necessary, [7] RemoteLibDir = "/usr/local/lib/asir/"$ [8] Machines = ["sumire","rokkaku","genkotsu","shinpuku"]; [sumire,rokkaku,genkotsu,shinpuku] -[9] Servers = map(ox_launch,Machines,RemoteLibDir,RemoteLibDir+"ox_asir"); +[9] Servers = map(ox_launch,Machines,RemoteLibDir, +RemoteLibDir+"ox_asir"); [0,1,2,3] @end example @@ -1464,14 +1466,16 @@ Finally call @code{ox_get} for a ready process. @end itemize @example -[3] ox_rpc(0,"fctr",x^100-y^100); +[341] ox_cmo_rpc(0,"fctr",x^2-1); 0 -[4] ox_push_cmd(0,258); +[342] ox_pop_cmo(0); +[[1,1],[x-1,1],[x+1,1]] +[343] ox_cmo_rpc(0,"newvect",3); 0 -[5] ox_select([0]); -[0] -[6] ox_get(0); -[[1,1],[x^2+y^2,1],[x^4-y*x^3+y^2*x^2-y^3*x+y^4,1],...] +[344] ox_pop_cmo(0); +error([41,cannot convert to CMO object]) +[345] ox_pop_local(0); +[ 0 0 0 ] @end example @table @t @@ -1542,6 +1546,17 @@ Usually @b{OX_SYNC_BALL} will be ignored by the peer. \E @end itemize +@example +[3] ox_rpc(0,"fctr",x^100-y^100); +0 +[4] ox_push_cmd(0,258); +0 +[5] ox_select([0]); +[0] +[6] ox_get(0); +[[1,1],[x^2+y^2,1],[x^4-y*x^3+y^2*x^2-y^3*x+y^4,1],...] +@end example + @table @t \JP @item 参照 \EG @item References @@ -1870,15 +1885,19 @@ identifier @var{id} is returned. [343] ox_get_serverinfo(0); [[199909080,Ox_system=ox_sm1.plain,Version=2.991118,HOSTTYPE=FreeBSD], [262,263,264,265,266,268,269,272,273,275,276], -[[514],[2130706434,1,2,4,5,17,19,20,22,23,24,25,26,30,31,60,61,27,33,40,16,34]]] +[[514],[2130706434,1,2,4,5,17,19,20,22,23,24,25,26,30,31,60,61,27, +33,40,16,34]]] [344] ox_get_serverinfo(); -[[0,[[199909080,Ox_system=ox_sm1.plain,Version=2.991118,HOSTTYPE=FreeBSD], +[[0,[[199909080,Ox_system=ox_sm1.plain,Version=2.991118, +HOSTTYPE=FreeBSD], [262,263,264,265,266,268,269,272,273,275,276], -[[514],[2130706434,1,2,4,5,17,19,20,22,23,24,25,26,30,31,60,61,27,33,40,16,34]]]], +[[514],[2130706434,1,2,4,5,17,19,20,22,23,24,25,26,30,31,60,61,27,33, +40,16,34]]]], [1,[[199901160,ox_asir], [276,275,258,262,263,266,267,268,274,269,272,265,264,273,300,270,271], [[514,2144202544], -[1,2,3,4,5,2130706433,2130706434,17,19,20,21,22,24,25,26,31,27,33,60],[0,1]]]]] +[1,2,3,4,5,2130706433,2130706434,17,19,20,21,22,24,25,26,31,27,33,60], +[0,1]]]]] @end example @table @t