SGE Docs

Documentation

CERequirements Handling

based on scripts from BLAH commit 1c80be00b6a7, the bath job submission scripts on CREAMs to SGE is generated by sge_submit.sh; which calls sge_local_submit_attributes.sh to parse CERequirement parameters. The following attributes are translated by sge_local_submit_attributes.sh
GlueCEPolicyMaxWallClockTime 
GlueCEPolicyMaxCPUTime
GlueHostMainMemoryVirtualSiz
GlueHostMainMemoryRAMSize
into submission parameters
s_rss
s_vmem
s_rt
s_cpu
The requirements are of type 'other' and the value assignment to the CERequirements has to be '>' and other operators as '=' or '<' are ignored/skipped. Only one CERequirement assignment is interpreted and multiple requirements have to be linked into one assignment with '&&' operators. Times are assumed to be minutes in the jdl and calculated as seconds for the batch submission

E.g., a job with jdl parameters

...
CpuNumber = 3;
CERequirements = "other.GlueCEPolicyMaxCPUTime > 39 && other.GlueCEPolicyMaxWallClockTime > 25 && other.GlueHostMainMemoryVirtualSize > 5037 && other.GlueHostMainMemoryRAMSize > 5041";
...
is submitted into the batch system with parameters
...
#$ -l s_rss=5041M
#$ -l s_vmem=5037M
#$ -l s_rt=1500
#$ -l s_cpu=2340
...
#$ -pe * 3
...

Presentations

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2014-11-07 - ThomasHartmann
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback