Ignore:
Timestamp:
Jul 8, 2020, 10:00:37 PM (4 years ago)
Author:
anphi <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
e0005c9
Parents:
8a53342
Message:

Update Onlinedocumentation after review of language editing

File:
1 edited

Legend:

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

    r8a53342 r6931f61  
    55The 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 stored in the ``Templates`` directory.
    8 This template is generated in the installation process from a ``job.template`` template file.
     7It is based on the ``submitscript.template`` template file stored in the ``Templates`` directory.
     8This template is generated in the installation process from a ``jobscript.template`` template file.
    99
    1010``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 ``$$`` in ``job.temp``.
     12These individual parameters are marked by ``$$`` in ``jobscript.template``.
    1313
    1414The job script has a number of settings for the batch system which are fixed, and differentiates between the *ecgate* and the *cca/ccb*
     
    2626 #. It sets some environment variables for the single session.
    2727 #. 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.
     28 #. It creates a CONTROL file on the ECMWF servers whith the parameters set before creating the ``job.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.
    2929 #. ``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.
    3030 #. At the end, it checks whether the script has returned an error or not, and emails the log file to the user.
     
    3333
    3434
    35 Example ``jobscript.ksh``
     35Example ``job.ksh``
    3636-------------------------
    3737 
     
    6868      *ecg*)
    6969      module unload grib_api
    70       module unload eccodes
    71       module unload python
    7270      module unload emos
    7371      module load python3
    74       module load eccodes/2.12.0
     72      module load eccodes
    7573      module load emos/455-r64
    7674      export PATH=${PATH}:${HOME}/flex_extract_v7.1/Source/Python
    7775      ;;
    7876      *cca*)
    79       module unload python
    8077      module switch PrgEnv-cray PrgEnv-intel
    8178      module load python3
    82       module load eccodes/2.12.0
    83       module load emos
     79      module load eccodes
     80      module load emos/455-r64
    8481      export SCRATCH=${TMPDIR}
    8582      export PATH=${PATH}:${HOME}/flex_extract_v7.1/Source/Python
     
    107104    date_chunk 3
    108105    debug 1
    109     destination annep@genericSftp
     106    destination <specificname>@genericSftp
    110107    doubleelda 0
    111108    dpdeta 1
     
    128125    grib2flexpart 0
    129126    grid 1.0/1.0
    130     inputdir /raid60/nas/tmc/Anne/Interpolation/flexextract/flex_extract_v7.1/run/workspace
     127    inputdir <path-to-flex_extract>/flex_extract_v7.1/run/workspace
    131128    install_target None
    132129    job_chunk 1
     
    145142    omegadiff 0
    146143    oper 0
    147     outputdir /raid60/nas/tmc/Anne/Interpolation/flexextract/flex_extract_v7.1/run/workspace
     144    outputdir <path-to-flex_extract>/flex_extract_v7.1/run/workspace
    148145    prefix CE
    149146    public 0
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG