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/templates.rst

    r8a53342 r6931f61  
    88   Do not change anything in these files unless you understand the effects!
    99   
    10 Each template file has its content framework and keeps so-called placeholder variables in the positions where the values need to be substituted at run time. These placeholders are marked by a leading ``$`` sign. In case of the Kornshell job scripts, where (environment) variables are used, the ``$`` sign needs to be doubled for `escaping`.
     10Each template file has its content framework and keeps so-called placeholder variables in the positions where the values need to be substituted at run time. These placeholders are marked by a leading ``$`` sign. In case of the Korn shell job scripts, where (environment) variables are used, the ``$`` sign needs to be doubled for `escaping`.
    1111   
    1212The following templates are used; they can be found in the directory ``flex_extract_vX.X/Templates``:
    1313
    14 convert.nl
    15 ----------
     14calc_etadot_nml.template
     15-------------------------
    1616
    1717    This is the template for a Fortran namelist file called ``fort.4`` read by ``calc_etadot``.
     
    4040        /
    4141
    42 ecmwf_env.template
     42ECMWF_ENV.template
    4343------------------
    4444
     
    5252        DESTINATION $destination_name
    5353
    54 compilejob.template
    55 -------------------
     54installscript.template
     55----------------------
    5656
    5757    This template is used to create the job script file called ``compilejob.ksh`` during the installation process for the application modes **remote** and **gateway**.
     
    9797          *ecg*)
    9898          module unload grib_api
    99           module unload eccodes
    100           module unload python
    10199          module unload emos
    102100          module load python3
    103           module load eccodes/2.12.0
     101          module load eccodes
    104102          module load emos/455-r64
    105103          export FLEXPART_ROOT_SCRIPTS=$fp_root_scripts
     
    107105          ;;
    108106          *cca*)
    109           module unload python
    110107          module switch PrgEnv-cray PrgEnv-intel
    111108          module load python3
    112           module load eccodes/2.12.0
    113           module load emos
     109          module load eccodes
     110          module load emos/455-r64
    114111          echo $${GROUP}
    115112          echo $${HOME}
     
    140137
    141138
    142 job.temp
    143 --------
     139submitscript.template
     140---------------------
    144141
    145142    This template is used to create the actual job script file called ``job.ksh`` for the execution of ``flex_extract`` in the application modes **remote** and **gateway**.
     
    185182        case $${HOST} in
    186183          *ecg*)
    187           module unload grib_api
    188           module unload eccodes
    189           module unload python
    190           module unload emos
    191           module load python3
    192           module load eccodes/2.12.0
    193           module load emos/455-r64
    194           export PATH=$${PATH}:$${HOME}/flex_extract_v7.1/Source/Python
    195           ;;
    196           *cca*)
    197           module unload python
    198           module switch PrgEnv-cray PrgEnv-intel
    199           module load python3
    200           module load eccodes/2.12.0
    201           module load emos
    202           export SCRATCH=$${TMPDIR}
    203           export PATH=$${PATH}:$${HOME}/flex_extract_v7.1/Source/Python
     184                  module unload grib_api
     185                  module unload emos
     186                  module load python3
     187                  module load eccodes
     188                  module load emos/455-r64
     189                  export PATH=${PATH}:${HOME}/flex_extract_v7.1/Source/Python
     190                  ;;
     191                  *cca*)
     192                  module switch PrgEnv-cray PrgEnv-intel
     193                  module load python3
     194                  module load eccodes
     195                  module load emos/455-r64
     196                  export SCRATCH=${TMPDIR}
     197                  export PATH=${PATH}:${HOME}/flex_extract_v7.1/Source/Python
    204198          ;;
    205199        esac
     
    237231       
    238232
    239 job.template
    240 ------------
    241 
    242     This template is used to create the template for the execution job script ``job.temp`` for ``flex_extract`` in the installation process. A description of the file can be found under ``job.temp``. Several parameters are set in this process, such as the user credentials and the ``flex_extract`` version number.
     233jobscript.template
     234------------------
     235
     236    This template is used to create the template for the execution job script ``submitscript.template`` for ``flex_extract`` in the installation process. A description of the file can be found under ``submitscript.template``. Several parameters are set in this process, such as the user credentials and the ``flex_extract`` version number.
    243237       
    244238    .. code-block:: ksh
     
    273267        case $$$${HOST} in
    274268          *ecg*)
    275           module unload grib_api
    276           module unload eccodes
    277           module unload python
    278           module unload emos
    279           module load python3
    280           module load eccodes/2.12.0
    281           module load emos/455-r64
     269                  module unload grib_api
     270                  module unload emos
     271                  module load python3
     272                  module load eccodes
     273                  module load emos/455-r64
    282274          export PATH=$$$${PATH}:$fp_root_path
    283275          ;;
    284276          *cca*)
    285           module unload python
    286           module switch PrgEnv-cray PrgEnv-intel
    287           module load python3
    288           module load eccodes/2.12.0
    289           module load emos
     277                  module switch PrgEnv-cray PrgEnv-intel
     278                  module load python3
     279                  module load eccodes
     280                  module load emos/455-r64
    290281          export SCRATCH=$$$${TMPDIR}
    291282          export PATH=$$$${PATH}:$fp_root_path
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG