Changeset 6931f61 in flex_extract.git for For_developers/Sphinx/Source/Documentation/Input/compilejob.rst
- 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
-
For_developers/Sphinx/Source/Documentation/Input/compilejob.rst
r8a53342 r6931f61 1 ********************************************* 1 ************************************************* 2 2 The compilation job script ``compilejob.ksh`` 3 ********************************************* 3 ************************************************* 4 4 5 The compile job is a Korn-shell script which will be created during the installation process for the application modes **remote** and **gateway** from a template called `` compilejob.template`` in the template directory.5 The compile job is a Korn-shell script which will be created during the installation process for the application modes **remote** and **gateway** from a template called ``installscript.template`` in the template directory. 6 6 7 7 ``Flex_extract`` uses the Python package `genshi <https://genshi.edgewall.org/>`_ to generate 8 8 the Korn-shell script from the template files by substituting the individual parameters. 9 These individual parameters are marked by a doubled ``$`` sign in `` job.temp``.9 These individual parameters are marked by a doubled ``$`` sign in ``installscript.template``. 10 10 11 The jobscript has a number of settings for the batch system which are fixed, and it differentiates between the *ecgate* and the *cca/ccb*11 The compilation script has a number of settings for the batch system which are fixed, and it differentiates between the *ecgate* and the *cca/ccb* 12 12 server system to load the necessary modules for the environment when submitted to the batch queue. 13 13 … … 24 24 #. It creates the ``flex_extract`` root directory in the ``$HOME`` path of the user 25 25 #. It untars the tarball into the root directory. 26 #. It compiles the Fortran program using `` Makefile``.26 #. It compiles the Fortran program using ``makefile``. 27 27 #. At the end, it checks whether the script has returned an error or not, and emails the log file to the user. 28 28 … … 67 67 *ecg*) 68 68 module unload grib_api 69 module unload eccodes70 module unload python71 69 module unload emos 72 70 module load python3 73 module load eccodes /2.12.071 module load eccodes 74 72 module load emos/455-r64 75 73 export FLEXPART_ROOT_SCRIPTS=${HOME} … … 77 75 ;; 78 76 *cca*) 79 module unload python80 77 module switch PrgEnv-cray PrgEnv-intel 81 78 module load python3 82 module load eccodes /2.12.083 module load emos 79 module load eccodes 80 module load emos/455-r64 84 81 echo ${GROUP} 85 82 echo ${HOME}
Note: See TracChangeset
for help on using the changeset viewer.