Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
wiki:some_examples_of_admission_rules [2020/04/07 21:51] neyronwiki:some_examples_of_admission_rules [2020/04/07 21:52] – [Example 5: verify correct resources definitions] neyron
Line 263: Line 263:
  
 Any of those resources properties can define a valid hierarchy or resources, for instance: Any of those resources properties can define a valid hierarchy or resources, for instance:
-  * <code>oarsub -l switch=2/core=1</code> → get 2 cores on different switches +  * <code>oarsub -l switch=2/core=1</code> 
-  * <code>oarsub -l cluster=1/host=2/disk=1</code> → get 2 disks of 2 different hosts but on a same cluster +    * → get 2 cores on different switches 
-  * oarsub -l license=1</code> → get 1 license+  * <code>oarsub -l cluster=1/host=2/disk=1</code> 
 +    * → get 2 disks of 2 different hosts but on a same cluster 
 +  * <code>oarsub -l license=1</code> 
 +    * → get 1 license
  
 But incorrect hierachry should raise an error: But incorrect hierachry should raise an error:
-  * oarsub -l gpu=1/host=2 → cannot get 2 hosts for a same gpu +  * oarsub -l gpu=1/host=2 
-  * oarsub -l host=1/disk=1/core=1 → cannot mix disk and core+    * → cannot get 2 hosts for a same gpu 
 +  * oarsub -l host=1/disk=1/core=1 
 +    * → cannot mix disk and core
  
 ==Answer== ==Answer==
wiki/some_examples_of_admission_rules.txt · Last modified: 2020/04/07 22:01 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki