Initializing help system before first use

Remote Invocation Protocol

A Mosel instance may be started remotely using either the connect procedure of the module mmjobs or its equivalent routine of the XPRD library. From any of these environments one can compile, load and run models as well as access files on the remote system. The remote invocation protocol also makes it possible to control more precisely the execution of models (e.g. suspending execution or profiling) and query information of a model (such as the value of entities) or the entire instance (e.g. to retrieve the list of available modules).

This protocol relies on two mechanisms:

  1. the procedure setcontrol (available in mmjobs and XPRD) to (re)define Mosel instance control parameters
  2. the special remote file 'mcmd' that only supports read access: the file name is interpreted as a query and the retrieved data is the answer to this request