Commit 98f7c7ac authored by André Anjos's avatar André Anjos 💬
Browse files

Add grid resources and explanation on how to run

parent ec4f798d
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
'''Grid configurations for'''
grid =
number_of_preprocessing_jobs = 48,
number_of_extraction_jobs = 48,
number_of_projection_jobs = 48,
number_of_enrollment_jobs = 48,
number_of_scoring_jobs = 48,
training_queue = '4G-io-big',
preprocessing_queue = '4G-io-big',
extraction_queue = '4G-io-big',
projection_queue = '4G-io-big',
enrollment_queue = '4G-io-big',
scoring_queue = '4G-io-big'
'''Defines an SGE grid configuration for running at Idiap
This grid configuration will use 48 slots for each of the stages defined below.
The queue ``4G-io-big`` corresponds to the following settings:
* ``queue``: ``q1d`` (in this queue you have a maximum of 48 slots according
* ``memfree``: ``4G`` (this is the minimum amount of memory you can take -
the lower, the more probable your job will be allocated faster)
* ``io_big``: SET (this flag must be set so your job runs downstairs and not
on people's workstations
Notice the queue names do not directly correspond SGE grid queue names. These
are names only known to :py:mod:`` and are translated
from there to settings which are finally passed to ``gridtk``.
To use this configuration file, just add it to your ```` commandline.
For example::
$ <other-options> gridio4g48
......@@ -116,6 +116,18 @@ protocol, do the following:
$ verafinger rlt parallel -vv
To run on the Idiap SGE grid using our stock
io-big-48-slots-4G-memory-enabled (see
:py:mod:``) configuration, use:
.. code-block:: sh
$ verafinger rlt grid -vv
You may also, optionally, use the configuration resource ``gridio4g48``,
which is just an alias of ``grid`` in this package.
This command line selects and runs the following implementations for the
......@@ -100,3 +100,10 @@ Parallel Running
.. automodule::
Using SGE at Idiap
.. automodule::
......@@ -44,6 +44,8 @@ setup(
# other
'parallel =',
'gridio4g48 =',
'grid =',
'console_scripts': [
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment