2016-11-22 1 views
0

사용자 (관리자가 아님)는 어떤 시점에서 선점 된 작업을 조회 한 다음 재구성 할 수있는 방법이 있습니까?SLURM에서 선점 된 작업 찾기

sacct --allusers --state=PR --starttime=2016-01-01 

을 그리고 아무것도하지 않았다, 그러나 나는 다시 대기열에 다음 선점하고있어 작업이 궁극적으로 선점 상태에서 끝나지 않을 것이기 때문에이 명령이 작동 실제로해야한다고 생각하지 않는다 : 나는 시도했다.

답변

1

--duplicate 옵션을 sacct으로 사용해야합니다. 그것은 당신에게 모든 "중간 상태"를 보여줄 것입니다. 맨 페이지에서

는 :

작업이 선점, 또는 다시 대기열에있다
-D, --duplicates 
      If Slurm job ids are reset, some job numbers will probably appear more than once in the accounting log file but refer to different jobs. Such 
      jobs can be distinguished by the "submit" time stamp in the data records. 

      When data for specific jobs are requested with the --jobs option, sacct returns the most recent job with that number. This behavior can be 
      overridden by specifying --duplicates, in which case all records that match the selection criteria will be returned. 

, 당신은 작업에 대한 데이터베이스에 여러 레코드 결국,이 옵션을 사용하면 그들 모두를 볼 수 있습니다.

+0

그렇다면 'sacct --allusers --state = PREEMPTED --starttime = 2016-01-01 --duplicates' 명령의 결과가 비어 있다면 이것은이 클러스터에서 선점 된 작업이 없었 음을 의미합니다 올해 어느 시점에서? – Evan