documentation of configuration options

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@944 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
drotos 2006-10-19 10:32:49 +00:00 committed by Adam Visegradi
parent fde9fce3f3
commit 9666f3dd7e
1 changed files with 98 additions and 19 deletions

View File

@ -15,7 +15,7 @@
<para> <para>
All files that generated by the application including the master and All files that generated by the application including the master and
the worker programs and the DC-API library itself are places under a the worker programs and the DC-API library itself are placed under a
directory called <emphasis>working directory</emphasis>. directory called <emphasis>working directory</emphasis>.
</para> </para>
@ -62,11 +62,46 @@
<variablelist> <variablelist>
<varlistentry>
<term>InstanceUUID</term>
<listitem>
<para>
REQUIRED. Identification of running instance of the
application. For CONDOR backend it can be any string not
just an UUID.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>WorkingDirectory</term>
<listitem>
<para>
REQUIRED. Name of working directory of the
application. All files that are generated by the
application or the DC-API library are placed under this
directory. Different applications can use the same working
directory because every instance has its own subdirectory
there.
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term>ClientMessageBox</term> <term>ClientMessageBox</term>
<listitem> <listitem>
<para> <para>
default=_dcapi_client_messages
Name of the directory in workunit's working directory
where messages are placed which are sent by the client to
the master by <function><link
linked="DC-sendMessage">DC_sendMessage()</link></function>. Default
value is <filename>_dcapi_client_messages</filename>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -75,7 +110,13 @@
<term>MasterMessageBox</term> <term>MasterMessageBox</term>
<listitem> <listitem>
<para> <para>
default=_dcapi_master_messages
Name of the directory in workunit's working directory
where <function><link
linked="DC-sendWUMessage">DC_sendWUMessage()</link></function>
places messaged sent by the master to the client. Default
value is <filename>_dcapi_master_messages</filename>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -84,7 +125,13 @@
<term>SubresultBox</term> <term>SubresultBox</term>
<listitem> <listitem>
<para> <para>
default=_dcapi_client_subresults
Name of the directory in workunit's working directory
where <function><link
linked="DC-sendResult">DC_sendResult()</link></function>
places subresults generated by the client. Default
value is <filename>_dcapi_client_subresults</filename>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -93,16 +140,13 @@
<term>SystemMessageBox</term> <term>SystemMessageBox</term>
<listitem> <listitem>
<para> <para>
default=_dcapi_system_messages
</para>
</listitem>
</varlistentry>
<varlistentry> Name of the directory in workunit's working directory
<term>Architectures</term> where the master and client program place management
<listitem> messages for example when the master asks the client to
<para> suspend and it sends back an acknowlegde. Default value is
default=Client_%s_%s/* client_name, architecture */ <filename>_dcapi_system_messages</filename>
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -111,7 +155,12 @@
<term>SubmitFile</term> <term>SubmitFile</term>
<listitem> <listitem>
<para> <para>
default=_dcapi_condor_submit.txt
Name of the file in workunit's working directory which is
generated by the master and used as submit information for
Condor when a workunit is prepared to start. Default value
is <filename>_dcapi_condor_submit.txt</filename>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -120,7 +169,12 @@
<term>Executable</term> <term>Executable</term>
<listitem> <listitem>
<para> <para>
default=NULL
Name of the executable file of the client (workunit). By
default it is the <parameter>clientName</parameter>
parameter which was passed to <function><link
linked="DC-createWU">DC_createWU()</link></function>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -129,7 +183,12 @@
<term>LeaveFiles</term> <term>LeaveFiles</term>
<listitem> <listitem>
<para> <para>
default=0
Specifies if files, directories generated in workunit's
working directory should be deleted or not after workunit
ends. Zero value means delete and non-zero value means not
to delete. Default value is 0.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -138,7 +197,12 @@
<term>CondorLog</term> <term>CondorLog</term>
<listitem> <listitem>
<para> <para>
default=_dcapi_internal_log.txt
Name of the file in workunit's working directory where
Condor writes records about events happen to the Condor
job. Default value is
<filename>_dcapi_internal_log.txt</filename>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -147,7 +211,16 @@
<term>CheckpointFile</term> <term>CheckpointFile</term>
<listitem> <listitem>
<para> <para>
default=_dcapi_checkpoint
Name of file in workunit's working directory where
checkpoint information is written by the
client. <function><link
linked="DC-resolveFileName">DC_resolveFileName()</link></function>
will resolve <link
linked="DC_CHECKPOINT_FILE:CAPS">DC_CHECKPOINT_FILE</link>
to this name. Default value is
<filename>_dcapi_checkpoint</filename>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -156,7 +229,13 @@
<term>SavedOutputs</term> <term>SavedOutputs</term>
<listitem> <listitem>
<para> <para>
default=_dcapi_saved_output
Name of directory in workunit's working directory where
workunit's standard output is saved when it is
suspended. Deafult values is
<filename>_dcapi_saved_output</filename>. There is no
facility in the DC-API yet to merge saved output together.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>