Commit 785e457b authored by Manuel Günther's avatar Manuel Günther

Corrected and adapted the documentation.

parent ca3f45c5
......@@ -4,7 +4,6 @@
*.swp
build
dist
MANIFEST
.installed.cfg
develop-eggs
eggs
......@@ -13,4 +12,6 @@ sphinx
.project
.pydevproject
.settings
submitted.sql3
logs
......@@ -9,7 +9,30 @@ Currently, it is set up to work with the SGE grid at Idiap, but it is also possi
Since version 1.0 there is also a local submission system introduced.
Instead of sending jobs to the SGE grid, it executes them in parallel processes on the local machine, using a simple scheduling system.
.. warning::
The new version of gridtk was completely rewritten and is no longer compatible with older versions of gridtk.
In particular, the database type has changed.
If you still have old ``submitted.db``, ``success.db`` or ``failure.db`` databases, please use an older version of gridtk to handle them.
.. warning::
Though tested thoroughly, this version might still be unstable and the reported statuses of the grid jobs might be incorrect.
If you are in doubt that the status is correct, please double-check with other grid utilities (like ``bin/grid qmon``).
In case you found any problem, please report it using the `bug reporting system <http://github.com/idiap/gridtk/issues>`.
.. note::
In the current version, gridtk is compatible with python3.
Anyways, due to limitations of the working environment, the grid functionality is not tested with python 3.
However, with python 2.7 everything should work out fine.
This package uses the Buildout system to install it.
Please call::
$ python bootstrap.py
$ bin/buildout
$ bin/sphinx-build docs sphinx
$ firefox sphinx/index.html
to create and open the documentation including even more information than given in this README below.
Submitting jobs to the SGE grid
+++++++++++++++++++++++++++++++
......
......@@ -66,9 +66,9 @@ copyright = u'%s, Idiap Research Institute' % time.strftime('%Y')
# built documents.
#
# The short X.Y version.
version = '0.2'
version = '1.0'
# The full version, including alpha/beta/rc tags.
release = '0.2'
release = '1.0.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......@@ -138,7 +138,7 @@ html_theme = 'default'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
......
.. GridTk documentation master file, created by
sphinx-quickstart on Thu Aug 25 15:51:27 2011.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. vim: set fileencoding=utf-8 :
.. author: Manuel Günther <manuel.guenther@idiap.ch>
.. date: Fri Aug 30 14:31:49 CEST 2013
Welcome to GridTk's documentation!
==================================
The GridTK serves as a tool to submit jobs and keep track of their dependencies and their current statusus.
These jobs can either be submitted to an SGE grid, or to be run in parallel on the local machine.
There are two main ways to interact with the GridTK.
The easiest way is surely to use the command line interface, for details please read the :ref:`command_line` section.
It is also possible to use the GridTK in a program, the developer interface is described in the :ref:`developer` section.
Contents:
.. toctree::
......
This diff is collapsed.
.. vim: set fileencoding=utf-8 :
.. Andre Anjos <andre.anjos@idiap.ch>
.. Thu 25 Aug 2011 15:58:21 CEST
.. Thu 25 Aug 2011 15:58:21 CEST
=======================
The GridTk User Guide
=======================
.. _developer:
The ``gridtk`` framework is a python library to help submitting, tracking and
querying SGE. Here is quick example on how to use the ``gridtk`` framework to
submit a python script:
=====================
The GridTk User Guide
=====================
The ``gridtk`` framework is a python library to help submitting, tracking and querying SGE.
Here is quick example on how to use the ``gridtk`` framework to submit a python script:
.. code-block:: python
import sys
from gridtk.manager import JobManager
from gridtk.sge import JobManager
from gridtk.tools import make_shell
manager = JobManager()
......@@ -23,15 +24,28 @@ submit a python script:
You can do, programatically, everything you can do with the job manager - just
browse the help messages and the ``jman`` script for more information.
Reference Manual
----------------
API to the Job Manager
======================
API to the Job Managers
=======================
.. automodule:: gridtk.manager
:members:
.. automodule:: gridtk.sge
:members:
.. automodule:: gridtk.local
:members:
The Models of the SQL3 Databases
================================
.. automodule:: gridtk.models
:members:
Middleware
==========
......
Markdown is supported
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