Changeset 10


Ignore:
Timestamp:
Nov 16, 2011, 11:43:44 AM (9 years ago)
Author:
g7moreau
Message:
  • Replace parameter load by overload
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oar/oar-dispatch

    r9 r10  
    1111
    1212my $task = 0;
    13 my $load = 1.5;
     13my $overload = 1.1;
    1414my $file = '';
    1515my $verbose;
     
    1818Getopt::Long::GetOptions(
    1919        'task=i'                => \$task,
    20         'load=f'                => \$load,
     20        'overload=f'    => \$overload,
    2121        'file=s'                => \$file,
    2222        'verbose'       => \$verbose,
     
    4646if (not $container_id > 1) {
    4747        $insert_oar_option = '';
    48         $load = 1;
     48        $overload = 1;
    4949}
    5050
     
    5959async {
    6060        for my $job (@job) {
    61                 while ($job_active->count >= $task*$load) {
     61                while ($job_active->count >= $task*$overload) {
    6262                        cede;
    6363                }
     
    105105=head1 SYNOPSIS
    106106
    107  oar-dispatch [--core integer] [--load real] --file filepath [--verbose]
     107 oar-dispatch [--core integer] [--overload real] --file filepath [--verbose]
    108108 oar-dispatch --help
    109109
     
    113113                        default to line number of file OAR_NODE_FILE.
    114114 
    115  --load number of OAR job to create / number of task.
     115 --overload     number of OAR job to create / number of task.
    116116                        Some job are create in advance to start whenever it's possible.
    117                         1.5 by default.
     117                        1.1 by default.
    118118
    119119 --file file name which content OAR job list
     
    155155 total_walltime < subjob_walltime * total_subjob / core
    156156
    157 If launch in interactif, C<load> parameter is equal to 1,
     157If launch in interactif, C<overload> parameter is equal to 1,
    158158C<task> must be define
    159159and no inner container is add to the C<oarsub> command line.
Note: See TracChangeset for help on using the changeset viewer.