1 | | = DRM4G Tutorial = |
| 1 | |
| 2 | [[PageOutline(1-10,DRM4G)]] |
| 3 | |
| 4 | = About DRM4G = |
| 5 | |
| 6 | '''DRM4G''' is an open platform, based on [[http://www.gridway.org/doku.php?id=start|GridWay]] , to define, submit, and manage computational jobs. DRM4G is a Python ('''2.6+''', '''3.3+''') implementation that provides a single point of control for computing resources without installing any intermediate middlewares. As a result, a user is able to run the same job on laptops, desktops, workstations, clusters, supercomputers, and any grid. |
| 7 | |
| 8 | = Start Guide = |
| 9 | |
| 10 | In order to install DRM4G, an installation script is provided. Type the command below on your shell terminal: |
| 11 | |
| 12 | {{{ |
| 13 | #!sh |
| 14 | $ wget --no-check-certificate -O- https://meteo.unican.es/work/DRM4G/install.sh | bash |
| 15 | |
| 16 | ========================== |
| 17 | DRM4G installation script |
| 18 | ========================== |
| 19 | |
| 20 | --> Checking the last version of DRM4G ... |
| 21 | |
| 22 | --> DRM4G version selected: 2.4.1 |
| 23 | |
| 24 | --> Downloading drm4g-2.4.1.tar.gz ... |
| 25 | |
| 26 | --> Unpacking drm4g-2.4.1.tar.gz in directory /oceano/gmeteo/users/carlos ... |
| 27 | |
| 28 | --> Installing DRM4G python requirements locally ... |
| 29 | |
| 30 | ==================================== |
| 31 | Installation of DRM4G 2.4.1 is done! |
| 32 | ==================================== |
| 33 | |
| 34 | In order to work with DRM4G you have to enable its |
| 35 | environment with the command: |
| 36 | |
| 37 | . /oceano/gmeteo/users/carlos/drm4g/bin/drm4g_init.sh |
| 38 | |
| 39 | You need to run the above command on every new shell you |
| 40 | open before using DRM4G, but just once per session. |
| 41 | }}} |
| 42 | |
| 43 | By default, it will install DRM4G on your current directory. But, you can download the installation script: |
| 44 | |
| 45 | {{{ |
| 46 | #!sh |
| 47 | $ wget --no-check-certificate https://meteo.unican.es/work/DRM4G/install.sh |
| 48 | }}} |
| 49 | |
| 50 | And run it manually: |
| 51 | {{{ |
| 52 | #!sh |
| 53 | $ bash ./install.sh [options] |
| 54 | }}} |
| 55 | The options available are: |
| 56 | |
| 57 | * -d, --dir DIRECTORY: Install DRM4G into a directory. |
| 58 | * -V, --version: Version to install. |
| 59 | * -h, --help: Print help text. |