Changeset 654 for branches/0.3/web/addons/job_monarch
- Timestamp:
- 02/04/10 14:12:13 (13 years ago)
- Location:
- branches/0.3/web/addons/job_monarch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.3/web/addons/job_monarch/libtoga.php
r653 r654 1911 1911 1912 1912 $cur_node = ($n * $nodes_per_row) + ($m); 1913 $host = $nodes_hosts[$cur_node];1913 $host = isset( $nodes_hosts[$cur_node] ) ? $nodes_hosts[$cur_node] : ''; 1914 1914 1915 1915 if( isset( $nodes[$host] ) ) -
branches/0.3/web/addons/job_monarch/overview.php
r653 r654 293 293 foreach( $node_jobs as $myjob ) 294 294 { 295 $job_cpu = (int) $jobs[$myjob]['ppn']? $jobs[$myjob]['ppn'] : 1;295 $job_cpu = isset( $jobs[$myjob]['ppn'] ) ? $jobs[$myjob]['ppn'] : 1; 296 296 297 297 // Determine the weight of this job
Note: See TracChangeset
for help on using the changeset viewer.