= 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. 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"; ] }}}