version 1.3, 1999/12/24 04:38:04 |
version 1.5, 2000/09/25 05:12:51 |
|
|
@comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.2 1999/12/21 02:47:31 noro Exp $ |
@comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.4 2000/01/13 08:29:56 noro Exp $ |
\BJP |
\BJP |
@node $BJ,;67W;;(B,,, Top |
@node $BJ,;67W;;(B,,, Top |
@chapter $BJ,;67W;;(B |
@chapter $BJ,;67W;;(B |
Line 500 input @code{quit}. |
|
Line 500 input @code{quit}. |
|
* ox_push_cmd ox_sync:: |
* ox_push_cmd ox_sync:: |
* ox_get:: |
* ox_get:: |
* ox_pops:: |
* ox_pops:: |
* ox_reset register_handler:: |
* ox_reset ox_intr register_handler:: |
* ox_select:: |
* ox_select:: |
* ox_flush:: |
* ox_flush:: |
* ox_get_serverinfo:: |
* ox_get_serverinfo:: |
Line 608 UNIX $BHG$K$*$$$F$O(B, @code{ox_launch()} $B$O(B, |
|
Line 608 UNIX $BHG$K$*$$$F$O(B, @code{ox_launch()} $B$O(B, |
|
@code{DISPLAY} $B$NCM$rMQ$$$k(B. |
@code{DISPLAY} $B$NCM$rMQ$$$k(B. |
|
|
@item |
@item |
|
$B4D6-JQ?t(B @code{ASIR_RSH} $B$,%;%C%H$5$l$F$$$k>l9g(B, $B%5!<%P$NN)$A>e$2%W%m%0%i%`(B |
|
$B$H$7$F(B@samp{rsh} $B$NBe$o$j$K$3$NJQ?t$NCM$,MQ$$$i$l$k(B. $BNc$($P(B, |
|
|
|
@example |
|
% setenv ASIR_RSH "ssh -f -X -A " |
|
@end example |
|
|
|
$B$K$h$j(B, $B%5!<%P$NN)$A>e$2$K(B @samp{ssh} $B$,MQ$$$i$l(B, |
|
X11 $B$NDL?.$,(B forwarding $B$5$l$k(B. $B>\$7$/$O(B @samp{ssh} $B$N%^%K%e%"%k$r(B |
|
$B;2>H(B. |
|
|
|
@item |
@code{ox_shutdown()} $B$O<1JL;R(B @var{id} $B$KBP1~$9$k1s3V%W%m%;%9(B |
@code{ox_shutdown()} $B$O<1JL;R(B @var{id} $B$KBP1~$9$k1s3V%W%m%;%9(B |
$B$r=*N;$5$;$k(B. |
$B$r=*N;$5$;$k(B. |
|
|
Line 632 ox_xterm*saveLines:1000 |
|
Line 644 ox_xterm*saveLines:1000 |
|
|
|
$B$K$h$j(B, icon $B$G5/F0(B, scrollbar $B$D$-(B, scrollbar $B$G;2>H$G$-$k9T?t(B |
$B$K$h$j(B, icon $B$G5/F0(B, scrollbar $B$D$-(B, scrollbar $B$G;2>H$G$-$k9T?t(B |
$B$,:GBg(B 1000 $B9T(B, $B$H$$$&;XDj$,$G$-$k(B. |
$B$,:GBg(B 1000 $B9T(B, $B$H$$$&;XDj$,$G$-$k(B. |
|
|
\E |
\E |
|
|
\BEG |
\BEG |
Line 694 let @code{Xserver} authorize the relevant hosts. |
|
Line 707 let @code{Xserver} authorize the relevant hosts. |
|
Adding the hosts can be done by command @code{xhost}. |
Adding the hosts can be done by command @code{xhost}. |
|
|
@item |
@item |
|
If an environment variable @code{ASIR_RSH} is set, |
|
the content of this variable is used as a promgram to invoke |
|
remote servers instead of @var{rsh}. For example, |
|
|
|
@example |
|
% setenv ASIR_RSH "ssh -f -X -A " |
|
@end example |
|
|
|
implies that remote servers are invoked by @samp{ssh} and that |
|
X11 forwarding is enabled. See the manual of @samp{ssh} for the detail. |
|
|
|
@item |
Some @var{command}'s consume much stack space. You are recommended |
Some @var{command}'s consume much stack space. You are recommended |
to set the stack size to about 16MB large in @samp{.cshrc} for safe. |
to set the stack size to about 16MB large in @samp{.cshrc} for safe. |
To specify the size, put @code{limit stacksize 16m} for an example. |
To specify the size, put @code{limit stacksize 16m} for an example. |
Line 1179 The result is pushed to the stack. |
|
Line 1204 The result is pushed to the stack. |
|
@fref{ox_pop_cmo ox_pop_local} |
@fref{ox_pop_cmo ox_pop_local} |
@end table |
@end table |
|
|
\JP @node ox_reset register_handler,,, $BJ,;67W;;$K4X$9$k4X?t(B |
\JP @node ox_reset ox_intr register_handler,,, $BJ,;67W;;$K4X$9$k4X?t(B |
\EG @node ox_reset register_handler,,, Functions for distributed computation |
\EG @node ox_reset ox_intr register_handler,,, Functions for distributed computation |
@subsection @code{ox_reset},@code{register_handler} |
@subsection @code{ox_reset},@code{ox_intr},@code{register_handler} |
@findex ox_reset |
@findex ox_reset |
@findex register_handler |
@findex register_handler |
|
|
Line 1189 The result is pushed to the stack. |
|
Line 1214 The result is pushed to the stack. |
|
@item ox_reset(@var{number}) |
@item ox_reset(@var{number}) |
\JP :: $B%W%m%;%9$N%j%;%C%H(B |
\JP :: $B%W%m%;%9$N%j%;%C%H(B |
\EG :: Resets an OpenXM server |
\EG :: Resets an OpenXM server |
|
@item ox_intr(@var{number}) |
|
\JP :: $B%W%m%;%9$N$K(B @code{SIGINT} $BAwIU(B |
|
\EG :: Sends @code{SIGINT} to an OpenXM server |
@item register_handler(@var{func}) |
@item register_handler(@var{func}) |
\JP :: $B%W%m%;%9$N%j%;%C%H$N$?$a$N4X?tEPO?(B |
\JP :: $B%W%m%;%9$N%j%;%C%H$N$?$a$N4X?tEPO?(B |
\EG :: Registers a function callable on a keyboard interrupt. |
\EG :: Registers a function callable on a keyboard interrupt. |
Line 1223 The result is pushed to the stack. |
|
Line 1251 The result is pushed to the stack. |
|
$B7W;;ESCf$G$N6/@)CfCG$KMQ$$$k(B. |
$B7W;;ESCf$G$N6/@)CfCG$KMQ$$$k(B. |
|
|
@item |
@item |
|
@code{ox_intr()} $B$O(B, $B<1JL;R(B @var{number} $B$N%W%m%;%9$r$KBP$7$F(B |
|
@code{SIGINT} $B$rAwIU$9$k(B. @code{SIGINT} $B$KBP$9$k%W%m%;%9$NF0:n$O(B |
|
$B5,Dj$5$l$F$$$J$$$,(B, @samp{ox_asir} $B$N>l9g(B, $B$?$@$A$K(B debug mode $B$K(B |
|
$BF~$k(B. X $B>e$GF0:n$7$F$$$k>l9g(B, $B%G%P%C%0%3%^%s%IF~NOMQ$N%&%#%s%I%&$,(B |
|
$B%]%C%W%"%C%W$9$k(B. |
|
|
|
@item |
@code{register_handler()} $B$O(B, @kbd{C-c} $B$J$I$K$h$k3d$j9~$_$N:]$K(B, |
@code{register_handler()} $B$O(B, @kbd{C-c} $B$J$I$K$h$k3d$j9~$_$N:]$K(B, |
@kbd{u} $B$r;XDj$9$k$3$H$G(B, $BL50z?t%f!<%6Dj5A4X?t(B @var{func()} $B$,8F$S=P$5$l$k(B |
@kbd{u} $B$r;XDj$9$k$3$H$G(B, $BL50z?t%f!<%6Dj5A4X?t(B @var{func()} $B$,8F$S=P$5$l$k(B |
$B$h$&$K@_Dj$9$k(B. $B$3$N4X?t$K(B, @code{ox_reset()} $B$r8F$S=P$5$;$k$3$H$G(B, |
$B$h$&$K@_Dj$9$k(B. $B$3$N4X?t$K(B, @code{ox_reset()} $B$r8F$S=P$5$;$k$3$H$G(B, |
Line 1249 Even if a process is running, the execution is safely |
|
Line 1284 Even if a process is running, the execution is safely |
|
It can be also used to interrupt a distributed computation. |
It can be also used to interrupt a distributed computation. |
|
|
@item |
@item |
|
@code{ox_intr()} sends @code{SIGINT} to a process whose identifier is |
|
@var{number}. The action of a server against @code{SIGINT} is not |
|
specified in @b{OpenXM}. @samp{ox_asir} immediately enters the debug |
|
mode and pops up an window to input debug commands on X window system. |
|
|
|
@item |
@code{register_handler()} registers a function @var{func()}. |
@code{register_handler()} registers a function @var{func()}. |
If @kbd{u} is specified on a keybord interrupt, @var{func()} |
If @kbd{u} is specified on a keybord interrupt, @var{func()} |
is executed before returning the toplevel. |
is executed before returning the toplevel. |
Line 1483 Usually @b{OX_SYNC_BALL} will be ignored by the peer. |
|
Line 1524 Usually @b{OX_SYNC_BALL} will be ignored by the peer. |
|
@table @t |
@table @t |
\JP @item $B;2>H(B |
\JP @item $B;2>H(B |
\EG @item References |
\EG @item References |
@fref{ox_rpc ox_cmo_rpc ox_execute_string}, @fref{ox_reset register_handler} |
@fref{ox_rpc ox_cmo_rpc ox_execute_string}, @fref{ox_reset ox_intr register_handler} |
@end table |
@end table |
|
|
\JP @node ox_get,,, $BJ,;67W;;$K4X$9$k4X?t(B |
\JP @node ox_get,,, $BJ,;67W;;$K4X$9$k4X?t(B |
Line 2142 plot*form*ydone*background:white |
|
Line 2183 plot*form*ydone*background:white |
|
@table @t |
@table @t |
\JP @item $B;2>H(B |
\JP @item $B;2>H(B |
\EG @item References |
\EG @item References |
@fref{ox_launch ox_launch_nox ox_shutdown}, @fref{ox_reset register_handler} |
@fref{ox_launch ox_launch_nox ox_shutdown}, @fref{ox_reset ox_intr register_handler} |
@end table |
@end table |