Commit 2ff941e4 authored by Paul Rich's avatar Paul Rich
Browse files

Merge branch '82-hotfix-wrong-reallocation' into 'develop'

Resolve "HOTFIX: reallocation of alps reservation reserves wrong nodes"

Closes #82

See merge request !42
parents 179969d9 cb8126c3
......@@ -10,7 +10,7 @@ import Cobalt.Components.pg_forker
PGChild = Cobalt.Components.pg_forker.PGChild
PGForker = Cobalt.Components.pg_forker.PGForker
import Cobalt.Util
from Cobalt.Util import init_cobalt_config, get_config_option
from Cobalt.Util import init_cobalt_config, get_config_option, expand_num_list
from cray_messaging import BasilRequest
from cray_messaging import parse_response, ALPSError
......@@ -119,7 +119,7 @@ class ALPSScriptChild (PGChild):
params['batch_id'] = self.pg.jobid
params['width'] = int(self.pg.nodect) * int(DEFAULT_DEPTH)
params['nppn'] = int(DEFAULT_DEPTH) #FIXME fix this. Pass this in from qsub. FIXME
params['node_id_list'] = self.pg.location[0]
params['node_list'] = expand_num_list(self.pg.location[0])
params['depth'] = None
params['npps'] = None
params['nspn'] = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment