Changeset 71 for trunk/pbs_drmaa/job.c
- Timestamp:
- 09/05/12 22:48:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pbs_drmaa/job.c
r68 r71 208 208 conn_lock = fsd_mutex_lock( &self->session->drm_connection_mutex ); 209 209 retry: 210 if (session->pbs_conn < 0) { 211 fsd_log_info(("No connection with pbs. Reconnecting")); 212 goto retry_connect; 213 } 214 210 215 211 216 #ifdef PBS_PROFESSIONAL … … 226 231 #else 227 232 # ifndef PBS_PROFESSIONAL_NO_LOG 228 if ( pbs_errno != PBSE_UNKJOBID )233 if ( pbs_errno != PBSE_UNKJOBID && pbs_errno != PBSE_HISTJOBID ) 229 234 fsd_log_error(("pbs_statjob error: %d, %s", pbs_errno, pbse_to_txt(pbs_errno))); 230 235 else 231 236 fsd_log_debug(("pbs_statjob error: %d, %s", pbs_errno, pbse_to_txt(pbs_errno))); 232 237 # else 233 if ( pbs_errno != PBSE_UNKJOBID )238 if ( pbs_errno != PBSE_UNKJOBID && pbs_errno != PBSE_HISTJOBID ) 234 239 fsd_log_error(("pbs_statjob error: %d", pbs_errno)); 235 240 else … … 241 246 { 242 247 case PBSE_UNKJOBID: 248 #ifdef PBS_PROFESSIONAL 249 case PBSE_HISTJOBID: 250 #endif 243 251 break; 244 252 case PBSE_PROTOCOL: … … 259 267 { 260 268 if (tries_left--) { 261 fsd_log_info((" %d tries left. Retrying...", tries_left));269 fsd_log_info(("Retrying... (%d tries left)", tries_left)); 262 270 goto retry_connect; 263 271 } else {
Note: See TracChangeset
for help on using the changeset viewer.