Development Artist

[SGE] TroubleShooting 모음. 본문

TroubleShooting/Linux Issue

[SGE] TroubleShooting 모음.

JMcunst 2022. 6. 2. 10:17
728x90
반응형

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
728x90
반응형
Comments