Changes between Version 1 and Version 2 of DRM4G/FAQ


Ignore:
Timestamp:
Sep 21, 2016 3:21:00 PM (5 years ago)
Author:
minondoa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DRM4G/FAQ

    v1 v2  
    1 = FAQ =
     1= Frequently Asked Questions =
    22
    33== Is !GridWay and DRM4G's source code available? ==
    44
    5  Yes, you can download from [attachment:gw_drm4g_source_code.tar.gz source code]
     5* Yes, you can download it from [[https://pypi.python.org/pypi/drm4g|here]].
    66
    77== How can I compile it? ==
    8  * Unpack the source code:
    9 {{{
    10 #!sh
    11 [user@mycomputer~]$ tar xzf gw_drm4g_source_code.tar.gz
    12 }}}
    13  * Run configure to setup !GridWay installation:
    14 {{{
    15 #!sh
    16 [user@mycomputer~]$ cd ./gw_drm4g_source_code
    17 [user@mycomputer~]$ ./configure --prefix=/home/user/drm4g
    18 }}}
    19  * Run make to build and install:
    20 {{{
    21 #!sh
    22 [user@mycomputer~]$ make
    23 [user@mycomputer~]$ make install
    24 }}}
    25  * Set `GW_LOCATION` to indicate where !GridWay location directory is:
    26 {{{
    27 #!sh
    28 [user@mycomputer~]$ export GW_LOCATION=/home/user/drm4g
    29 }}}
    30  * Run make to install DRM4G:
    31 {{{
    32 #!sh
    33 [user@mycomputer~]$ cd ./DRM4G
    34 [user@mycomputer~]$ make install
    35 [user@mycomputer~]$ unset GW_LOCATION
     8* Yes, you can follow the instructions detailed [[https://meteo.unican.es/trac/wiki/DRM4G/Installation#Withoutpip|here]].
     9
     10{{{#!comment
     11== Can I use DRM4G if my computing resource has a special requirement? ==
     12
     13* Yes, you can send us a [/newticket?component=DRM4G&cc=antonio ticket] with your requirements, and we will provide you a DRM4G plugin for your resource.
    3614}}}
    3715
    38 == Can I use DRM4G if my computing resource has a special requirement? ==
    3916
    40  Yes, you can send us a [/newticket?component=DRM4G&cc=antonio ticket] with your requirements, and we will provide you a DRM4G plugin for your resource.
    4117
    4218== Can I submit MPI jobs by using DRM4G? ==
    4319
    44  Yes, there are two variables: `NP` and `PPN` which help you to do that.
     20* Yes, there are two variables: `NP` and `PPN` which help you to do that.
     21
     22* You can find an example of how to do it [[https://meteo.unican.es/trac/wiki/DRM4G1/DRM4GTutorial#MPIJob|here]].
     23
     24
    4525
    4626== How many jobs can I submit? ==
    4727
    48  You can submit 200,000 jobs.
     28* You can submit 200,000 jobs.
    4929
    5030
     31
     32== Pip won't install drm4g ==
     33* Try updating pip:
     34  `sudo pip install --upgrade pip`
     35 * And remember that if you're not adding any installation options or doing it in a virtual environment you need to run **`sudo`** `pip install drm4g`.
     36
     37
     38
     39== When installing with pip, I get a SNIMissingWarning or !InsecurePlatformWarning ==
     40* The problems you're having are related with your versions of python and your virtual environment. They can be ignored since they don't affect the installation process.
     41
     42* One solution for solving the SNIMissingWarning and !InsecurePlatformWarning warnings is to upgrade to a more recent version of Python.
     43 * If for any reason you are not able to upgrade, you can also run `pip install 'requests[security]'` as explained ​here.