Changeset 852


Ignore:
Timestamp:
05/13/13 21:50:05 (7 years ago)
Author:
ramonb
Message:

jobmond.py:

  • requesting memory in SLURM is done by specifying minimum real memory required
  • if no minimum memory is requested it returns: 0
  • fixed: leave requested_memory empty if 0, so it won't be set in gmetric
  • see #162
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/jobmond/jobmond.py

    r851 r852  
    13071307
    13081308            requested_time   = self.getAttr( attrs, 'time_limit' )
    1309             requested_memory = self.getAttr( attrs, 'pn_min_memory' )
     1309            min_memory       = self.getAttr( attrs, 'pn_min_memory' )
     1310
     1311            if min_memory == 0:
     1312
     1313                requested_memory = ''
     1314
     1315            else:
     1316                requested_memory = min_memory
    13101317
    13111318            ppn = self.getAttr( attrs, 'ntasks_per_node' )
Note: See TracChangeset for help on using the changeset viewer.