Changeset 17 for trunk/gridctl.php


Ignore:
Timestamp:
Feb 17, 2016, 2:53:58 PM (8 years ago)
Author:
gegorbet
Message:

misc. fixes plus mods for new lonestar5 cluster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gridctl.php

    r15 r17  
    8383   $status_in = $status;
    8484   $status_gw = $status;
     85   $status_ex = $status;
    8586
    8687   // If entry is for Airvata/Thrift, get the true current status
     
    169170      case "FINISHED":
    170171      case "DONE":
    171 //         if ( is_aira_job( $gfacID ) )
    172 //         {
    173 //            complete();
    174 //         }
     172         if ( is_aira_job( $gfacID ) )
     173         {
     174            $status_ex    = getExperimentStatus( $gfacID );
     175write_log( "$loghdr     status=$status status_ex=$status_ex" );
     176            if ( $status_ex === 'COMPLETED' )
     177               complete();
     178         }
    175179      case "PROCESSING":
    176180      default:
     
    679683   {
    680684      $status_ex    = getExperimentStatus( $gfacID );
     685
     686      if ( $status_ex == 'EXECUTING' )
     687      {
     688         if ( $gfac_status == 'SUBMITTED' )
     689            $status_ex    = 'QUEUED';
     690         if ( $gfac_status == 'RUNNING' )
     691            $status_ex    = 'ACTIVE';
     692      }
     693
    681694      $gfac_status  = standard_status( $status_ex );
    682695write_log( "$loghdr get_gfac_status: status_ex=$status_ex gfac_status=$gfac_status" );
Note: See TracChangeset for help on using the changeset viewer.