본문 바로가기
컴퓨터 & IT (Computer & IT)/Beowulf Cluster (Diskless Cluster)

[TORQUE] qsub: No default queue specified MSG=cannot locate queue 에러

by Physics 2020. 3. 4.
728x90

 

 

문제원인: 실행한 queuename이 잘못되었거나 정의되지 않은 queue를 사용할 때 발생함
해결방법: qmgr 커맨드를 이용하여, torque PBS queue를 생성함

 

qsub으로 제출한 쉘스크립트(example.sh)가 가령 아래와 같다고 하자. 

$ vim example.sh
...
#PBS -q testq 
...

이럴 경우, 위와 같은 에러메세지가 나온다면, testq라는 queue가 설정이 되지 않았기 때문이다. 따라서 해결방법은 qmgr 커멘드를 이용하여 testq에 대한 설정을 해주면 된다. 


ex) default queue를 batch라는 이름의 큐로 설정할 경우

$ qmgr -c 'create queue batch'
$ qmgr -c 'set queue batch queue_type = execution'
$ qmgr -c 'set queue batch started = true'
$ qmgr -c 'set queue batch enabled = true'
$ qmgr -c 'set queue batch resources_default.walltime = 1:00:00'
$ qmgr -c 'set queue batch resources_default.nodes = 1'
$ qmgr -c 'set server default_queue = batch'

 

 

 

 

728x90

댓글