Ignore:
Timestamp:
May 27, 2020, 8:01:54 PM (4 years ago)
Author:
Petra Seibert <petra.seibert [at) univie.ac.at>
Branches:
master, ctbto, dev
Children:
550435b
Parents:
a14839a
Message:

Language corrections for the Sections Developers, Support, Changelog, and the home directory (index.html)

further improvment of documentation, close to final

File:
1 edited

Legend:

Unmodified
Added
Removed
  • For_developers/Sphinx/source/Documentation/Input/jobscript.rst

    rb1674ed rf20342a  
    11*************************
    2 The Jobscript ``job.ksh``
     2The job script ``job.ksh``
    33*************************
    44
    5 The jobscript is a Korn-shell script which will be created at runtime for each ``flex_extract`` execution in the application modes **remote** and **gateway**.
     5The job script is a Korn-shell script which will be created at runtime for each ``flex_extract`` execution in the application modes **remote** and **gateway**.
    66
    7 It is based on the ``job.temp`` template file which is stored in the ``Templates`` directory.
    8 This template is by itself generated in the installation process from a ``job.template`` template file.
     7It is based on the ``job.temp`` template file stored in the ``Templates`` directory.
     8This template is generated in the installation process from a ``job.template`` template file.
    99
    10 ``Flex_extract`` uses the python package `genshi <https://genshi.edgewall.org/>`_ to generate
     10``Flex_extract`` uses the Python package `genshi <https://genshi.edgewall.org/>`_ to generate
    1111the Korn-shell script from the template files by substituting the individual parameters.
    12 These individual parameters are marked by a doubled ``$`` sign in ``job.temp``.
     12These individual parameters are marked by ``$$`` in ``job.temp``.
    1313
    14 The jobscript has a number of settings for the batch system which are fixed and differentiates between the *ecgate* and the *cca/ccb*
     14The job script has a number of settings for the batch system which are fixed, and differentiates between the *ecgate* and the *cca/ccb*
    1515server system to load the necessary modules for the environment when submitted to the batch queue.
    1616
     
    1919
    2020
    21 What does the jobscript do?
     21What does the job script do?
    2222---------------------------
    2323
    24  #. It sets necessary batch system parameters
    25  #. It prepares the job environment at the ECMWF servers by loading the necessary library modules
    26  #. It sets some environment variabels for the single session
    27  #. It creates the directory structure in the users ``$SCRATCH`` file system
    28  #. It creates a CONTROL file on the ECMWF servers whith the parameters set before creating the ``jobscript.ksh``. ``Flex_extract`` has a set of parameters which are given to the jobscript with its default or the user defined values. It also sets the ``CONTROL`` as an environment variable.
    29  #. ``Flex_extract`` is started from within the ``work`` directory of the new directory structure by calling the ``submit.py`` script. It sets new pathes for input and output directory and the recently generated ``CONTROL`` file.
    30  #. At the end it checks if the script returned an error or not and send the log file via email to the user.
     24 #. It sets necessary batch system parameters.
     25 #. It prepares the job environment at the ECMWF servers by loading the necessary library modules.
     26 #. It sets some environment variables for the single session.
     27 #. It creates the directory structure in the user's ``$SCRATCH`` file system.
     28 #. It creates a CONTROL file on the ECMWF servers whith the parameters set before creating the ``jobscript.ksh``. ``Flex_extract`` has a set of parameters which are passed to the job script with their default or the user-defined values. It also sets ``CONTROL`` as an environment variable.
     29 #. ``Flex_extract`` is started from within the ``work`` directory of the new directory structure by calling the ``submit.py`` script. It sets new paths for input and output directories and the recently generated ``CONTROL`` file.
     30 #. At the end, it checks whether the script has returned an error or not, and emails the log file to the user.
    3131
    3232
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG