Changeset 12 for trunk/pbs_drmaa/job.c
- Timestamp:
- 04/20/11 17:20:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pbs_drmaa/job.c
- Property svn:keywords set to Id
r10 r12 1 /* $Id : job.c 370 2010-11-16 09:51:00Z mamonski$ */1 /* $Id$ */ 2 2 /* 3 3 * FedStage DRMAA for PBS Pro … … 43 43 __attribute__ ((unused)) 44 44 # endif 45 = "$Id : job.c 370 2010-11-16 09:51:00Z mamonski$";45 = "$Id$"; 46 46 #endif 47 47 … … 385 385 int hours, minutes, seconds; 386 386 long mem; 387 if( cpu_usage && sscanf( cpu_usage, "%d:%d:%d", 388 &hours, &minutes, &seconds ) == 3 ) 387 if( cpu_usage && sscanf( cpu_usage, "%d:%d:%d", &hours, &minutes, &seconds ) == 3 ) 389 388 { 390 389 self->cpu_usage = 60*( 60*hours + minutes ) + seconds; … … 401 400 fsd_log_debug(( "vmem_usage: %s=%ldB", vmem_usage, self->vmem_usage )); 402 401 } 403 if( walltime && sscanf( walltime, "%d:%d:%d", 404 &hours, &minutes, &seconds ) == 3 ) 402 if( walltime && sscanf( walltime, "%d:%d:%d", &hours, &minutes, &seconds ) == 3 ) 405 403 { 406 404 self->walltime = 60*( 60*hours + minutes ) + seconds; … … 414 412 { 415 413 pbsdrmaa_session_t *pbssession = (pbsdrmaa_session_t*)self->session; 416 414 417 415 if( pbssession->pbs_home == NULL ) 418 416 pbsdrmaa_job_on_missing_standard( self ); … … 429 427 430 428 fsd_log_enter(( "({job_id=%s})", self->job_id )); 431 fsd_log_warning(( " self%s missing from DRM queue", self->job_id ));429 fsd_log_warning(( "Job %s missing from DRM queue", self->job_id )); 432 430 433 431 switch( session->missing_jobs ) … … 465 463 } 466 464 465 fsd_cond_broadcast( &self->status_cond); 466 467 467 fsd_log_return(( "; job_ps=%s, exit_status=%d", 468 468 drmaa_job_ps_to_str(self->state), self->exit_status )); … … 476 476 477 477 fsd_log_enter(( "({job_id=%s})", self->job_id )); 478 fsd_log_ warning(( "self%s missing from DRM queue", self->job_id ));478 fsd_log_info(( "Job %s missing from DRM queue", self->job_id )); 479 479 480 480 TRY
Note: See TracChangeset
for help on using the changeset viewer.