Changeset 23 for trunk/slurm_drmaa


Ignore:
Timestamp:
04/06/12 10:15:00 (13 years ago)
Author:
mmamonski
Message:

Follow up newer version of SLURM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/slurm_drmaa/job.c

    r17 r23  
    164164                                        #if SLURM_VERSION_NUMBER < SLURM_VERSION_NUM(2,2,0) 
    165165                                        case WAIT_TBD1: 
     166                                        #else 
     167                                        case WAIT_QOS_THRES:       /* required QOS threshold has been reached */ 
    166168                                        #endif                                   
     169                                        #if SLURM_VERSION_NUMBER < SLURM_VERSION_NUM(2,3,0) 
    167170                                        case WAIT_TBD2: 
     171                                        #else 
     172                                        case WAIT_FRONT_END: /* Front end nodes are DOWN */ 
     173                                        case WAIT_QOS_JOB_LIMIT: /* QOS job limit reached */     
     174                                        case WAIT_QOS_RESOURCE_LIMIT: /* QOS resource limit reached */  
     175                                        case WAIT_QOS_TIME_LIMIT: /*  QOS time limit reached */ 
     176                                        #endif 
    168177                                                self->state = DRMAA_PS_QUEUED_ACTIVE; 
    169178                                                break; 
     
    180189                                        #else 
    181190                                        case FAIL_ACCOUNT:         /* invalid account */ 
    182                                         #endif 
    183                                          
    184                                         #if SLURM_VERSION_NUMBER >= SLURM_VERSION_NUM(2,2,0) 
    185191                                        case FAIL_QOS:             /* invalid QOS */ 
    186                                         case WAIT_QOS_THRES:       /* required QOS threshold has been breached */ 
    187192                                        #endif 
    188193                                                self->state = DRMAA_PS_FAILED; 
Note: See TracChangeset for help on using the changeset viewer.