Changeset 6931f61 in flex_extract.git for Documentation/html/_sources/Documentation/Input/templates.rst.txt
- Timestamp:
- Jul 8, 2020, 10:00:37 PM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- e0005c9
- Parents:
- 8a53342
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Documentation/html/_sources/Documentation/Input/templates.rst.txt
r5920b7f r6931f61 8 8 Do not change anything in these files unless you understand the effects! 9 9 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 Korn shell job scripts, where (environment) variables are used, the ``$`` sign needs to be doubled for `escaping`.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 Korn shell job scripts, where (environment) variables are used, the ``$`` sign needs to be doubled for `escaping`. 11 11 12 12 The following templates are used; they can be found in the directory ``flex_extract_vX.X/Templates``: 13 13 14 c onvert.nl15 ---------- 14 calc_etadot_nml.template 15 ------------------------- 16 16 17 17 This is the template for a Fortran namelist file called ``fort.4`` read by ``calc_etadot``. … … 40 40 / 41 41 42 ecmwf_env.template42 ECMWF_ENV.template 43 43 ------------------ 44 44 … … 52 52 DESTINATION $destination_name 53 53 54 compilejob.template55 ------------------- 54 installscript.template 55 ---------------------- 56 56 57 57 This template is used to create the job script file called ``compilejob.ksh`` during the installation process for the application modes **remote** and **gateway**. … … 97 97 *ecg*) 98 98 module unload grib_api 99 module unload eccodes100 module unload python101 99 module unload emos 102 100 module load python3 103 module load eccodes /2.12.0101 module load eccodes 104 102 module load emos/455-r64 105 103 export FLEXPART_ROOT_SCRIPTS=$fp_root_scripts … … 107 105 ;; 108 106 *cca*) 109 module unload python110 107 module switch PrgEnv-cray PrgEnv-intel 111 108 module load python3 112 module load eccodes /2.12.0113 module load emos 109 module load eccodes 110 module load emos/455-r64 114 111 echo $${GROUP} 115 112 echo $${HOME} … … 140 137 141 138 142 job.temp 143 -------- 139 submitscript.template 140 --------------------- 144 141 145 142 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**. … … 185 182 case $${HOST} in 186 183 *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 204 198 ;; 205 199 esac … … 237 231 238 232 239 job .template240 ------------ 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.233 jobscript.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. 243 237 244 238 .. code-block:: ksh … … 273 267 case $$$${HOST} in 274 268 *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 282 274 export PATH=$$$${PATH}:$fp_root_path 283 275 ;; 284 276 *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 290 281 export SCRATCH=$$$${TMPDIR} 291 282 export PATH=$$$${PATH}:$fp_root_path
Note: See TracChangeset
for help on using the changeset viewer.