Changes between Version 47 and Version 48 of qcg-directives

Show
Ignore:
Timestamp:
08/26/13 14:03:46 (11 years ago)
Author:
piontek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • qcg-directives

    v47 v48  
    3838 
    3939= environment = 
    40 '''environment''' - environment variable. The syntax is ''key'' -> ''value''. Every variable has be be specified in separate line. 
     40'''environment''' - environment variable. The syntax is ''key'' -> ''value''. Every variable has be be specified in separate directive. 
    4141 
    4242{{{ 
     
    4646 
    4747= error = 
    48 '''error''' - location where the system has to stage-out the file containing output of the standard error stream. If the location is not the gsiftp:// url it is assumed that it is relative to the directory from which the task was submitted. 
     48'''error''' - location where the system is requested to stage out the file containing output of the standard error stream. If the location is not the gsiftp:// url it is assumed that it is relative to the directory from which the task was submitted. 
    4949 
    5050{{{ 
     
    5555 
    5656= executable = 
    57 '''executable''' - location of the executable file. The location can be gsiftp:// url or the path to the file. In the second case the location is relative to the directory from which the task was submitted. Optionally it is possible to specify the target name of the file. 
     57'''executable''' - location of the executable file. The location can be the gsiftp:// url or the path to the file. In the second case the location is relative to the directory from which the task was submitted. Optionally it is possible to specify the target name of the file. 
    5858{{{ 
    5959#QCG executable=gsiftp://qcg.man.poznan.pl//home/plgrid/plgpiontek/reef/executables/exec1 
     
    7777 
    7878= input = 
    79 '''input''' - location of the file which content will be passed to standard input stream. If the location is not the gsiftp:// url it is assumed that it is relative to the directory from which the task was submitted.  
     79'''input''' - location of the file which content will be passed to the standard input stream. If the location is not the gsiftp:// url it is assumed that it is relative to the directory from which the task was submitted.  
    8080 
    8181{{{ 
     
    8383#QCG input=input.txt 
    8484}}} 
     85 
    8586= memory = 
    8687'''memory''' - declaration of the maximal amount of memory that can be allocated by the application (in MB). 
     
    9192 
    9293= memory-per-slot = 
    93 '''memory-per-slot''' - declared maximal amount of the memory per slot (core). The total memory requirement is the product of this value and number od slots (cores) used by the application. 
     94'''memory-per-slot''' - declared maximal amount of the memory per slot (core). The total memory requirement is the product of this value and the number of slots (cores) used by the application. 
    9495 
    9596{{{ 
    9697#QCG memory-per-slot=512 
    9798}}} 
     99 
    98100= module = 
    99101'''module''' - name with optional version of the requested software module. This directive is taken into consideration by the broker in the process of choosing the optimal resource which the task can be executed on. Every module has to be specified in separate directive. 
     
    103105#QCG module=namd 
    104106}}} 
     107 
    105108= monitor = 
    106109'''monitor''' - task monitoring script executed together with the main application. The script can be used for example to monitor output of the application or to do perform any additional action. 
     
    124127#QCG native=-r n 
    125128}}} 
     129 
    126130= nodes = 
    127 '''nodes''' - requested topology of the parallel application. The directive allows to specify requested number of nodes and slots per node. Optionally it is possible to specify number of processes to be executed on every node. If it is not specify else the number of processes on every node is equal to the number of slots. 
     131'''nodes''' - requested topology of the parallel application. The directive allows to specify requested number of nodes and slots per node. Optionally it is possible to specify number of processes to be started on every node. If it is not specified else the number of processes on every node is equal to the number of slots. 
    128132The syntax is: number_of_nodes:number_of_slots[:number_of_processes] 
    129133 
     
    132136#QCG nodes=12:12 
    133137}}} 
     138 
    134139= not-after = 
    135 '''not-after''' - directive allowing to specify that the task or reservation has to be executed/reserved "not-later-then". The value of this directive is date with optional time. The directive requires to be specified together with the ''walltime'' one and cannot be used with the ''reservation''. 
     140'''not-after''' - directive allowing to specify that the task or reservation has to be executed/reserved "not-later-then". The value of this directive is date with optional time. The directive requires to be specified together with the ''walltime'' one and cannot be used with the ''reservation'' one. 
     141 
    136142{{{ 
    137143#QCG not-after=2012.08.25 
    138144#QCG walltime=PT2H 
    139145}}} 
     146 
    140147{{{ 
    141148#QCG not-after=2012.08.25 13:20 
    142149#QCG walltime=PT2H 
    143150}}} 
     151 
    144152= not-before = 
    145 not-before - directive allowing to specify that the task or reservation has to be executed/reserved "not-earlier-then". The value of this directive is the date with optional time. The directive requires to be specified together with the ''walltime'' one and cannot be used with the ''reservation''. 
     153not-before - directive allowing to specify that the task or reservation has to be executed/reserved "not-earlier-then". The value of this directive is the date with optional time. The directive requires to be specified together with the ''walltime'' one and cannot be used with the ''reservation'' one. 
    146154 
    147155{{{ 
     
    162170 
    163171= notify = 
    164 '''notify''' - notify about changes of task status. The directive allows to define the protocol and address which the notification about the change of the status should be sent to. Supported protocols are mail and xmpp/jabber messages. 
     172'''notify''' - notify about changes of task status. The directive allows to define the protocol and address to which the notification about the change of the status should be sent. Supported protocols are mail and xmpp/jabber messages. 
    165173 
    166174{{{ 
     
    170178 
    171179To allow receiving xmpp/jabber messages it can be necessary to add the qcg-notification@plgrid.pl sender address to contacts. 
     180 
    172181= output = 
    173 '''output''' - location where the file containing the standard output should be transfered. The location can be the gsiftp:// url or the path relative to the directory which the task was submitted from. 
     182'''output''' - location where the file containing the standard output should be transfered. The location can be the gsiftp:// url or the path relative to the directory from which the task was submitted. 
    174183 
    175184{{{ 
     
    177186#QCG output=output.txt 
    178187}}} 
     188 
    179189= persistent = 
    180 '''persistent''' - do not remove the working directory.  
     190'''persistent''' - the directive informing the system to not remove the working directory.  
    181191 
    182192'''IMPORTANT:''' the directive should be used only for testing as it causes that the working directory is left and consumes storage resource. The working directory can be later cleaned by the '''qcg-clean''' command. 
     
    228238 
    229239= reservation = 
    230 '''reservation''' - reservation identifier. The identifier can be of the '''local''' type when the reservation was made directly in the queueing system or of '''qcg''' one (default) when the reservation was created by the qcg-reserve command. The directive requires to be used together with the '''host''' one to ensure that the task will be submitted to the host where the reservation was done. 
     240'''reservation''' - reservation identifier. The identifier can be of the '''local''' type when the reservation was made directly in the queueing system or of the '''qcg''' one (default) when the reservation was created by the qcg-reserve command. The directive requires to be used together with the '''host''' one to ensure that the task will be submitted to the host where the reservation was done. 
    231241 
    232242{{{ 
     
    234244#QCG reservation=R1366398248299__4039 
    235245}}} 
     246 
    236247{{{ 
    237248#QCG host=reef.man.poznan.pl 
    238249#QCG reservation=piontek.0 local 
    239250}}} 
     251 
    240252= stage-in-dir = 
    241 '''stage-in-dir''' - input directory. The location of the input directory which can be either gsiftp:// url or the path to the directory relative to the directory which the task was submitted from. The syntax is "location" -> "target name". If the "target name" is not present the directory is stored under its original name. 
     253'''stage-in-dir''' - input directory. The location of the input directory which can be either the gsiftp:// url or the path to the directory relative to the directory from which the task was submitted. The syntax is "location" -> "target name". If the "target name" is not present the directory is stored under its original name. 
    242254 
    243255{{{ 
     
    255267#QCG stage-in-dir=. -> input 
    256268}}} 
     269 
    257270= stage-in-file = 
    258 '''stage-in-file''' - input file. The location of the input file which can be either gsiftp:// url or the path to the directory relative to the directory which the task was submitted from. The syntax is "location" -> "target name". If the "target name" is not present the file is stored under its original name.  
     271'''stage-in-file''' - input file. The location of the input file which can be either the gsiftp:// url or the path to the directory relative to the directory which the task was submitted from. The syntax is "location" -> "target name". If the "target name" is not present the file is stored under its original name.  
    259272 
    260273{{{ 
     
    264277#QCG stage-in-file=input_file.txt 
    265278}}} 
     279 
    266280= stage-out-dir = 
    267281'''stage-out-dir''' - output directory. The location of the output directory which can be either the gsiftp:// url or the path to the directory relative to the directory which the task was submitted from. The syntax is "location" -> "target name". If the "target name" is not present the directory is stored under its original name.  
     
    274288}}} 
    275289 
    276 To transfer the whole working directory plesease specify the location as "." (dot). 
     290To transfer the whole working directory please specify the location as "." (dot). 
    277291 
    278292{{{ 
     
    293307#QCG stage-out-file=result.txt 
    294308}}} 
     309 
    295310= use-reservation = 
    296 '''use-reservation''' - use the advance reservation mechanism. The directive allows to force the system to use advance reservation in case when directives '''not-after''', '''not-before''', '''deadline''' were not used. The directive requires to be used together with the '''walltime'''. The directive cannot be used together with the '''reservation''' one.  
     311'''use-reservation''' - use the advance reservation mechanism. The directive allows to force the system to use advance reservation in case when directives '''not-after''', '''not-before''', '''deadline''' were not used. The directive requires to be used together with the '''walltime''' one. The directive cannot be used together with the '''reservation''' one.  
    297312 
    298313{{{ 
     
    301316}}} 
    302317= use-scratch = 
    303 '''use-scratch''' - use the scratch space. The directive forces system to use the scratch space if possible. 
     318'''use-scratch''' - use the scratch space. The directive forces the system to use the scratch space if possible. 
    304319 
    305320{{{ 
     
    325340 
    326341= watch-output = 
    327 '''watch-output''' - monitor the output and send notifications about the progress. The directive allows to monitor the output of the application and to send notifications in the requested form. The argument of the directive is the triple of parameters separated by comma: 
    328 *  adress where the notification will be sent to (supported protocols are mail and xmpp/jabber - see the '''notify''' directives) 
     342'''watch-output''' - monitor the output and send notifications about the progress. The directive allows to monitor the output of the application and to send notifications in the requested form. The argument of the directive is the triple of parameters separated by commas: 
     343*  address which the notification will be sent to (supported protocols are mail and xmpp/jabber - see the '''notify''' directives for details) 
    329344* number of seconds between next notifications 
    330345* regular expression or path to the file to generate the content of notification. 
     
    337352#QCG watch-output=mailto:piontek@man.poznan.pl,30,ntf_expr_file 
    338353}}} 
     354 
    339355= variable = 
    340356'''variable''' - description variable (replaced only in values of QCG directives)