Changes between Version 33 and Version 34 of ApplicationScripts
- Timestamp:
- 07/21/14 15:49:16 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ApplicationScripts
v33 v34 24 24 The scripts for the most common applications are provided by the `qcg-appscripts` RPM package. 25 25 26 For the QCG-Computing to be usable you **must** provide mapping for at least the bash application,i.e.:26 '''IMPORTANT:''' For the correct work QCG-Computing requires the mapping for the **bash** application, which is mandatory i.e.: 27 27 {{{ 28 28 bash * /opt/qcg-app-scripts/apps/bash.app … … 33 33 bash * /bin/bash 34 34 }}} 35 ? The answer is "No". You must use the `bash.qcg` which does much more(e.g. setup environment variables like QCG_NODEFILE).35 ? The answer is "No". You must use the `bash.qcg` which does some additional work (e.g. setup environment variables like QCG_NODEFILE). 36 36 37 37 38 38 = `qcg-appscripts` package = 39 Th is package contains QCG application scripts for the most common applications. Role of the application scripts, apart from the application launch, is the:40 * load sthe appropriate modules,41 * convert sinput files to UNIX character encoding,39 The ''qcg-appscripts'' package contains QCG application scripts for the most common applications. Role of the application scripts, apart from launching the proper application, is as follows: 40 * loading the appropriate modules, 41 * converting input files to UNIX character encoding, 42 42 * setup environment, 43 * launch user's helper scripts - preprocess, postprocess, assistent,44 * monitor the execution of application through defined schemes or user scripts,43 * launching user's helper scripts - preprocess, postprocess, assistent, 44 * monitoring the execution of application through defined schemes or user scripts, 45 45 * handling interactive jobs, 46 46 * etc. 47 47 48 All files are installed in directory:48 All files are installed in the directory: 49 49 {{{ 50 50 /usr/share/qcg-appscripts 51 51 }}} 52 This directory contains following directories: 52 53 The directory contains the following sub-directories: 53 54 - apps - application configuration files, 54 55 - app-scripts - application scripts, … … 57 58 - tools - QCG tools used by applications. 58 59 59 The administrator must create/edit application configuration files (apps) that contain s settings specific to each cluster, such as:60 The administrator must create/edit application configuration files (apps) that contain specific to each cluster settings, such as: 60 61 - name of the application module, 61 62 - environment variables needed by application. 63 62 64 Files from `apps` directory should be referenced by QCG-Computing application mapping file (/etc/qcg/qcg-comp/application_mapfile). 63 65 64 The application scripts must be accessible by jobs running on cluster worker nodes. Thus directories `apps`, `app-scripts`, `config`, `core` and `tools` must be copied to directory shared by all worker nodes. This is done by:66 The application scripts must be accessible by jobs running on cluster worker nodes. Thus directories `apps`, `app-scripts`, `config`, `core` and `tools` must be copied to directory shared by all worker nodes. This is done manually by the administrator by running: 65 67 {{{ 66 68 /usr/sbin/qcg-appscripts-deploy 67 69 }}} 68 script included in the package. Th isscript reads:70 script included in the package. The script reads: 69 71 {{{ 70 72 /etc/qcg/qcg-comp/app-scripts/config 71 73 }}} 72 configuration file for destination directory, where scripts should deployed.74 configuration file for destination directory, where scripts should be deployed. 73 75 74 76