- Timestamp:
- 01/15/12 17:18:16 (13 years ago)
- Location:
- trunk/pbs_drmaa
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pbs_drmaa/job.c
r64 r65 152 152 if ( rc == PBSE_NONE ) 153 153 break; 154 else if (( rc == PBSE_INTERNAL || rc == PBSE_PROTOCOL || rc == PBS E_EXPIRED) && (tries_left--))154 else if (( rc == PBSE_INTERNAL || rc == PBSE_PROTOCOL || rc == PBSOLDE_PROTOCOL || rc == PBSE_EXPIRED || rc == PBSOLDE_EXPIRED) && (tries_left--)) 155 155 { 156 if (rc == PBSE_PROTOCOL || rc == PBSE_EXPIRED )156 if (rc == PBSE_PROTOCOL || rc == PBSE_EXPIRED || rc == PBSOLDE_PROTOCOL || rc == PBSOLDE_EXPIRED) 157 157 { 158 158 if ( session->pbs_conn >= 0) … … 243 243 break; 244 244 case PBSE_PROTOCOL: 245 case PBSOLDE_PROTOCOL: 245 246 case PBSE_EXPIRED: 247 case PBSOLDE_EXPIRED: 246 248 if ( session->pbs_conn >= 0 ) 247 249 pbs_disconnect( session->pbs_conn ); -
trunk/pbs_drmaa/session.c
r58 r65 338 338 if( status == NULL && pbs_errno != 0 ) 339 339 { 340 if (pbs_errno == PBSE_PROTOCOL || pbs_errno == PBSE_EXPIRED )340 if (pbs_errno == PBSE_PROTOCOL || pbs_errno == PBSE_EXPIRED || pbs_errno == PBSOLDE_PROTOCOL || pbs_errno == PBSOLDE_EXPIRED) 341 341 { 342 342 if ( pbsself->pbs_conn >= 0) -
trunk/pbs_drmaa/submit.c
r61 r65 210 210 if( job_id == NULL ) 211 211 { 212 if (pbs_errno == PBSE_PROTOCOL || pbs_errno == PBSE_EXPIRED )212 if (pbs_errno == PBSE_PROTOCOL || pbs_errno == PBSE_EXPIRED || pbs_errno == PBSOLDE_PROTOCOL || pbs_errno == PBSOLDE_EXPIRED) 213 213 { 214 214 pbsdrmaa_session_t *pbsself = (pbsdrmaa_session_t*)self->session; -
trunk/pbs_drmaa/util.h
r29 r65 25 25 #endif 26 26 27 /*compatibility hack - ugly but help to keep binary compatibility :/ */ 28 #define PBSOLDE_PROTOCOL 15031 29 #define PBSOLDE_EXPIRED 15020 30 31 27 32 void pbsdrmaa_exc_raise_pbs( const char *function ); 28 33 int pbsdrmaa_map_pbs_errno( int _pbs_errno );
Note: See TracChangeset
for help on using the changeset viewer.