일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- 동적계획법
- 개발
- 백준
- cos
- 동적계획법과최단거리역추적
- C++
- 코드품앗이
- vuejs
- Algorithm
- 분할정복
- 알고리즘
- 코딩테스트
- android
- 안드로이드스튜디오
- Python
- Flutter
- cos pro
- 코테
- issue
- django
- DART
- AndroidStudio
- 파이썬
- BAEKJOON
- codingtest
- 안드로이드
- DFS와BFS
- cos pro 1급
- Vue
- DFS
- Today
- Total
Development Artist
[SGE] TroubleShooting 모음. 본문
SGE 트러블 슈팅 모음
Problem 1:
a user is able to submit jobs, but they stay in the "pending" state for indefinite amount of time.
The actual error you will get when you submit your job is like this:
Unable to run job: warning: your_username your job is not allowed to run in any queue
Your job your_jobid ("your_jobname") has been submitted.
Exiting.
(for each job you submit)
Solution 1: the submitting user may need to be added to the group of acg users using the "qmon" tool.
Solution 2:In the user configuration tab in qmon, add the name of your executing host and click modify that did the job.
# qconf -mhgrp @allhosts
# hostlist [execution host]
Problem 2:
a job on the queue with status Eqw, which means that the job's location directory was not given the correct group permissions.
Solution:
Just fixing the permissions will not solve the problem. You must kill the jobs, fix the permissions (chgrp acg your_dir; chmod g+rwx your_dir), then start them again. This time they should work. See the section on group permissions for how to avoid this.
Problem 3:
jobs don't start but instead spit out a seemingly infinite error stream that says: tset: standard error: Inappropriate ioctl for device. Solution: check your .login file for terminal setting problems. For example, the following .login code:
loop:
## If modem dialup or vt100, use vt100
if ($TERM == network || $TERM =~ *[vV][tT]*100) eval `tset -QIs vt100`
## If don't know, ask (default to vt100). Otherwise, use it.
if ($TERM == '' || $TERM == unknown) then # don't know?
eval `tset -QIs \?vt100` # then ask (default vt100)
else eval `tset -QIs $TERM` # know? use it then
endif
if ($TERM == unknown || $TERM == '') goto loop
Could cause problems.
Solution:
The solution is to wrap this code:
if ( { [ -t ] } ) then
(do the interactive-only stuff here)
endif