Changeset e1b841 in git


Ignore:
Timestamp:
Jan 7, 2012, 12:42:56 AM (12 years ago)
Author:
Andreas Steenpass <steenpass@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
5abb0e7fdca82a2bad9778e410148c74d7b49a0b
Parents:
f1cfef36a45967a6dc88672e6efc050bf9c592b1
git-author:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2012-01-07 00:42:56+01:00
git-committer:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2012-08-02 18:26:50+02:00
Message:
update documentation for parallel.lib and realclassify.lib
Location:
Singular/LIB
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/parallel.lib

    rf1cfef re1b841  
    33category="General purpose";
    44info="
    5 LIBRARY:   parallel.lib  An Interface for Parallelization
     5LIBRARY:   parallel.lib  Tools for Parallelization
    66AUTHOR:    Andreas Steenpass, e-mail: steenpass@mathematik.uni-kl.de
     7
     8OVERVIEW:
     9This library provides tools to do several computations in parallel. They
     10are aimed at ordinary Singular users as well as authors of Singular
     11libraries.
     12@* Even without this library, it is possible to do execute self-defined
     13Singular commands in parallel using @ref{links}, but the handling of
     14such links can be quite tedious. With the pocedures described below,
     15this can be done by one-line commands.
     16@* There are many parallel 'skeletons' (i.e. ways in which parallel
     17tasks rely upon and interact with each other). A few of them are already
     18implemented. Future plans include an abstraction layer for modular
     19techniques, 'worker farms', and parallel tests.
    720
    821SEE ALSO:  link, modstd_lib, assprimeszerodim_lib
     
    2639RETURN:  a list, containing the results of commands[i] applied to arg[i],
    2740         i = 1, ..., size(commands).
    28          @* The entries of the list commands must be strings.
    29          @* The entries of the list args must be lists.
    3041         @* The procedure waits for N jobs to finish.
    31          @* An optional timeout in ms can be provided. Default is 0 which
     42
     43         @* OPTIONAL PARAMETERS:
     44
     45            An optional timeout in ms can be provided. Default is 0 which
    3246            disables the timeout.
    33          @* Supported linktypes are up to now \"ssi\" and \"mp\", see
     47
     48            Supported linktypes are up to now \"ssi\" and \"mp\", see
    3449            @ref{Ssi links} and @ref{MP links}.
     50
     51            Servers:
    3552         @* Each server is given by a list containing the address of the server,
    3653            the number of cores to use on this server and the command to start
    37             Singular. If the address is \"localhost\", the processes will
    38             be generated on the same machine using forks. If the command to
    39             start Singular is \"\" (the empty string), \"Singular\" will be
    40             used. Default is @code{list(\"localhost\", system(\"cpu\"), \"\")}.
    41             There are some obvious shortcuts for servers, e.g. \"myserver\" is
     54            Singular.
     55         @* If the address is \"localhost\", the processes will be generated on
     56            the same machine using forks. If the command to start Singular is
     57            \"\" (the empty string), \"Singular\" will be used.
     58         @* Default is @code{list(\"localhost\", system(\"cpu\"), \"\")}.
     59         @* There are some obvious shortcuts for servers, e.g. \"myserver\" is
    4260            a shortcut for
    4361            @code{list(\"myserver\", [nb. of cores on myserver], \"\")}, or 3
    4462            for @code{list(\"localhost\", 3, \"\")}.
     63
     64            Memory limits:
    4565         @* If an intvec maxmemory of size @code{size(commands)} is given, the
    4666            i-th job will be killed if it uses more than maxmemory[i] MB of
    4767            memory. If maxmemory[i] is 0, there will be no restraint for the
    4868            i-th job. Default is @code{0:size(commands)}.
    49 NOTE:       The returned list may contain more than N results if several jobs
     69NOTE:       The entries of the list commands must be strings.
     70         @* The entries of the list args must be lists.
     71         @* The returned list may contain more than N results if several jobs
    5072            finished \"at the same time\". It may contain less than N results in
    5173            the case of timeout or errors occurring.
     
    542564  ideal i = z8+z6+4z5+4z3+4z2+4, y-z2;
    543565  ideal j = 3x3y+x3+xy3+y2z2, 2x3z-xy-xz3-y4-z2, 2x2yz-2xy2+xz2-y4;
    544   list commands = list("std", "primdecGTZ", "primdecSY", "std", "primdecGTZ",
    545                        "primdecSY");
     566  list commands = list("std", "primdecGTZ", "primdecSY",
     567                       "std", "primdecGTZ", "primdecSY");
    546568  list args = list(list(i), list(i), list(i), list(j), list(j), list(j));
    547569  parallelWaitN(commands, args, 3);
  • Singular/LIB/realclassify.lib

    rf1cfef re1b841  
    99OVERVIEW:
    1010   A library for classifying isolated hypersurface singularities over the reals
    11    w.r.t. right
    12    equivalence, based on the determinator of singularities by V.I. Arnold.
    13    This library is based on classify.lib by Kai Krueger, but handles the real
    14    case, while classify.lib does the complex classification.
     11   w.r.t. right equivalence, based on the determinator of singularities by
     12   V.I. Arnold. This library is based on classify.lib by Kai Krueger, but
     13   handles the real case, while classify.lib does the complex classification.
     14
     15REFERENCES:
     16Arnold, Varchenko, Gusein-Zade: Singularities of Differentiable Maps.
     17Vol. 1: The classification of critical points caustics and wave fronts.
     18Birkh\"auser, Boston 1985
     19
     20Greuel, Lossen, Shustin: Introduction to singularities and deformations.
     21Springer, Berlin 2007
    1522
    1623PROCEDURES:
     
    3138RETURN:   A list containing (in this order)
    3239          @* - the type of the singularity as a string,
    33           @* - the normal form as well as
     40          @* - the normal form,
    3441          @* - the corank, the Milnor number, the inertia index and
    3542               a bound for the determinacy as integers.
     
    778785  "EXAMPLE:";
    779786  echo = 2;
    780   LIB "realclassify.lib";
    781787  ring r = 0, (x,y,z), ds;
    782788  poly f = (x2+3y-2z)^2+xyz-(x-y3+x2z3)^3;
     
    10061012  "EXAMPLE:";
    10071013  echo = 2;
    1008   LIB "realclassify.lib";
    10091014  ring r = 0, (x,y,z), ds;
    10101015  poly f = (x2+3y-2z)^2+xyz-(x-y3+x2z3)^3;
     
    10531058  "EXAMPLE:";
    10541059  echo = 2;
    1055   LIB "realclassify.lib";
    10561060  ring r = 0, (x,y), ds;
    10571061  poly f = x3+y4;
     
    11451149  "EXAMPLE:";
    11461150  echo = 2;
    1147   LIB "realclassify.lib";
    11481151  ring r = 0, (x,y), ds;
    11491152  poly f = x3+xy3;
Note: See TracChangeset for help on using the changeset viewer.