welcome: please sign in
location: Diff for "FitSM/GR2DOC/Tools/Grid/GPU"
Differences between revisions 1 and 2
Revision 1 as of 2014-10-22 14:15:49
Size: 945
Editor: orviz
Comment:
Revision 2 as of 2014-10-22 14:26:36
Size: 1344
Editor: orviz
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
1. Complex value 'gpu':  1. Complex value 'gpu':
Line 22: Line 22:
{{{
#name shortcut type relop requestable consumable default urgency
#-------------------------------------------------------------------------------------------
(..)
gpu gpu INT <= YES YES 0 0
(..)
}}}
    {{{
    #name shortcut type relop requestable consumable default urgency
    #-------------------------------------------------------------------------------------------
    (..)
    gpu gpu INT <= YES YES 0 0
    (..)
    }}}
   1. Host(s) complexes:
    {{{
    hostname tesla.ifca.es
    load_scaling NONE
    complex_values gpu=4,mem_free=24G,virtual_free=24G
    user_lists NONE
    xuser_lists NONE
    projects NONE
    xprojects NONE
    usage_scaling NONE
    report_variables NONE
    }}}
Line 30: Line 43:
2. Load sensor:

 1. Load sensor:

Scheduling GPU resources in the Grid

Tweaks and applied configuration

CREAM CE

1. Added to BLAHP script /usr/libexec/sge_local_submit_attributes.sh:

(..)
if [ -n $gpu ]; then
    echo "#$ -l gpu=${gpu}"
fi
(..)

Scheduler

  1. Complex value 'gpu':
    •     #name               shortcut     type        relop requestable consumable default  urgency  
          #-------------------------------------------------------------------------------------------
          (..)
          gpu                 gpu          INT         <=    YES         YES        0        0
          (..)
  2. Host(s) complexes:
    •     hostname              tesla.ifca.es
          load_scaling          NONE
          complex_values        gpu=4,mem_free=24G,virtual_free=24G
          user_lists            NONE
          xuser_lists           NONE
          projects              NONE
          xprojects             NONE
          usage_scaling         NONE
          report_variables      NONE
  3. Load sensor:

(from UI) Testing

# cat test_cream.jdl
[ 
  JobType = "Normal"; 
  Executable = "foo.sh"; 
  StdOutput="out.out"; 
  StdError="err.err"; 
  InputSandbox={"foo.sh"}; 
  OutputSandbox={"out.out", "err.err" }; 
  OutputSandboxBaseDestUri="gsiftp://localhost";
  CERequirements="gpu==2";
]

eciencia: FitSM/GR2DOC/Tools/Grid/GPU (last edited 2016-07-07 11:11:52 by nunezm)